Keyboard handling is actually quite simple, both kodi and wayland use libinput plus libxkb for that so we just need to pass the keyboard layout that's configured in kodi on to wayland (via an environment variable) and you get the same keyboard layout in flatpak addons as in kodi.
What's missing in the wayland environment though is software to listen on volume keys and adjust audio volume. Usually that's handled by the (pulseaudio) volume/mixer applets in desktop environments, but there's no such thing (yet) in LE.
Kodi handles the volume keys on it's own which is why it works in kodi.
Remotes are quite a mess though. Currently we need to run remotes through eventlircd (and explicitly configure libinput not to handle them, too) as libxkb and kodi still doesn't support quite a lot of buttons found on remotes (especially the quite important "OK" button).
There's a kodi PR to improve that https://github.com/xbmc/xbmc/pull/27932 but it hasn't been merged and also still doesn't support all common remote buttons.
Realistically we won't get proper remote button support before the kodi 22 / LE13 release so we won't be able to drop that eventlircd workaround until some time during the LE14 dev cycle.
Well, someone could write a separate program that translates LIRC events back to input events and injects those via uinput but that's quite meh (and would also be another - hopefully - short lived workaround).
so long,
Hias