On my Pi3 (OSMC 2020-11-26) running Kodi 18.9 I have a Wifi Remote detected as “Tmall.c0m 2.4G Wireless Air Mouse Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.3/0003:7045:1820.0001/input/input0”
Everything works perfectly with mods applied to Keyboard.xml.
However, on my new Pi4 (OSMC 2022-03-08) running Kodi 19.4 that same remote is detected as " YSTEK Laser Pen_V2.1 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:276D:1101.0001/input/input0" and as such, Keyboard mods do not work.
I’m a little confused as to why the remote is not being detected correctly. Thanks in advance for your replies.
It is working other than just changing the keymap, correct? If so, have you tried using the keymap editor add-on and see if that works. If it does take a look in .kodi/userdata/keymaps/gen.xml and see what device type the mappings are showing up as. It might be picking up as a “remote” or “mouse” and thus mappings to “keyboard” will have no effect.
Thanks for the suggestion but there is no gen.xml and Keymap editor does not change the behaviour.
If there is no gen.xml then you didn’t save whatever you did in Keymap editor. When you map actions there are they getting unique key ids showing? By this I mean if you map an action does it then show a letter or set of numbers next to the action name in keymap editor? Note that once you make whatever changes you want you need to keep hitting exit/back/cancel until it gets back to the very first screen and then tell it to save. Only at that point is the keymap saved and enabled.