Tested for LibreELEC 11.0.6 on RPi 4B
ir-keytable -r gives
scancode 0x80d800 = KEY_0 (0x0b)
This is from the keymaps provided by the kernel
After loading manually my keymap for a hx1838 infrared sensor,
ir-keytable -c -w .config/rc_keymaps/rc6_mce.toml
Now the scancode is correct and coupled to the correct button.
ir-keytable -r
scancode 0x807081 = KEY_0 (0x0b)
...
After pressing the zero button of my remote:
ir-keytable -v -t -p all shows
2563.603123: lirc protocol(necx): scancode = 0x807081
2563.659787: lirc protocol(necx): scancode = 0x807081 repeat
...
The key, the zero button is not shown in the output, but in Kodi it works.
According to https://wiki.libreelec.tv/configuration/startup-shutdown I have put
(sleep 2
ir-keytable -c -w /storage/.config/rc6_mce.toml
)&
to /storage/.config/autostart.sh
It is a temporary solution to circumvent the bug.