evdev:input:b0005v06E7p8144*
KEYBOARD_KEY_c0041=enter
Thanks, I'll add that to the default hwdb file for LE13.
evdev:input:b0005v06E7p8144*
KEYBOARD_KEY_c0041=enter
Thanks, I'll add that to the default hwdb file for LE13.
There is very simple way for the most of Air mouse remote controls: https://github.com/sezanzeb/input-remapper.
Note that you have to run it with sudo in terminal. Then the GUI will load and you can save the Hotkeys and remapps.
Try it.
My remote G60s work very well with it. Kodi and the OK Button work too. My system is a Manjaro arch linux distro with Kernel 6.12.
I have a new MX3 style remote, that is working fine on Windows, but Kodi on LibreELEC 12.0.2 does not recognise the multimedia keys. All other keys are working fine, but e.g. vol+/vol-, ffwd/rev etc. don't work.
In the Kodi keymapper addon there are not codes received when I press any of those keys.
Vendor ID is 1915 product ID is 1025.
I tried adding to 51-these-are-not-joysticks-rm.rules, but no change (and it seems like it was properly recognised as a keyb/mouse anyway.
Trying to follow post #9 instructions I get stuck since evtest is not found. And maybe that wouldn't work over ssh anyway?
Any tips?
No idea what the issue is but you can install evtest via the "System Tools" add-on in the LE repo.
Thanks!
These are linked to a seperate 'event' from the regular keys. In rough order of appearance on the remote:
KEY_REWIND
KEY_FASTFORWARD
KEY_PREVIOUSSONG
KEY_NEXTSONG
KEY_SEARCH
KEY_PLAYPAUSE
KEY_ZOOMIN
KEY_ZOOMOUT
KEY_HOMEPAGE
KEY_BACK
KEY_VOLUMEUP
KEY_VOLUMEDOWN
KEY_MUTE
KEY_CONFIG
KEY_MAIL
KEY_WWW
I guess all of these are not recognised by Kodi and there is recent discussion on that: https://github.com/xbmc/xbmc/issues/26884
It's clear to me if there is a timeline on the fix yet. So I'll get back to post #9. I'll report back how far I get...
It looks similar to wha is described in posts #20-#25, however this is on a Kodi/libreelec install straight from the official page. The remote is linked to 3 events: 1 for the mouse, #4 for the regular (working) keys and #3 for the 'multimedia' keys.
supposedly kodi can see all:
Wyse5070:~/.config/hwdb.d # lsof |grep /dev/input
506 /usr/lib/systemd/systemd-logind 10 /dev/input/event4
506 /usr/lib/systemd/systemd-logind 16 /dev/input/event1
506 /usr/lib/systemd/systemd-logind 17 /dev/input/event0
506 /usr/lib/systemd/systemd-logind 18 /dev/input/event3
2438 /usr/lib/kodi/kodi.bin 17 /dev/input/event2
2438 /usr/lib/kodi/kodi.bin 18 /dev/input/event3
2438 /usr/lib/kodi/kodi.bin 19 /dev/input/event4
2438 /usr/lib/kodi/kodi.bin 20 /dev/input/event5
but the log shows no presses for event3 (it does for event4):
https://paste.libreelec.tv/valued-panther.log
At the end I pressed the '1', '2', '3' keys (which show) and then a bunch of the multimedia keys (but they don't show up).
I created the 70-local-keyboard.hwdb file:
and then abit modified from post #9 (deprecated command):
now the KEY_REWIND shows up as KEY_ENTER:
Event: time 1751810063.011279, type 4 (EV_MSC), code 4 (MSC_SCAN), value c00b4
Event: time 1751810063.011279, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0
but Kodi still ignores it.
However here it seems to think event3 is mouse? I somehow can't get proper output from the command, it messes with the console
udevadm info /dev/input/event3
P: /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.0/0003:1915:1025.0004/input/input19/event3
M: event3
R: 3
U: input
D: c 13:67
N: input/event3
L: 0
S: input/by-path/pci-0000:00:15.0-usb-0:4:1.0-event-mouse
S: input/by-path/pci-0000:00:15.0-usbv2-0:4:1.0-event-mouse
S: input/by-id/usb-USB_Composite_Device_USB_Composite_Device_0001-event-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.0/0003:1915:1025.0004/input/input19/event3
E: DEVNAME=/dev/input/event3
E: MAJOR=13
E: MINOR=67
E: SUBSYSTEM=input
E: USEC_INITIALIZED=20571972171
E: KEYBOARD_KEY_c00b4=enter
E: ID_INPUT=1
E: ID_INPUT_TABLET=1
E: ID_INPUT_TABLET_PAD=1
E: ID_INPUT_KEY=1
E: ID_BUS=usb
E: ID_MODEL=USB_Composite_Device
E: ID_MODEL_ENC=USB\x20Composite\x20Device
E: ID_MODEL_ID=1025
E: ID_SERIAL=USB_Composite_Device_USB_Composite_Device_0001
E: ID_SERIAL_SHORT=0001
E: ID_VENDOR=USB_Composite_Device
Display More