Without this fix, the context-menu key on the OSMC remote will fail to work, and maps to the EPG (TV channel guide).
This is discussed in https://github.com/osmc/osmc/issues/478
Currently both eventlircd and kodi try to grab input devices
which leads to a nasty race. If kodi wins the race eventlircd
can't do the keycode to lirc translation and users are left
with non-working buttons like OK.
Setting the LIBINPUT_IGNORE_DEVICE udev property for input
devices handled by eventlircd prevents the race as libinput
will then ignore these devices and kodi won't try to grab them.
Signed-off-by: Matthias Reichl <hias@horus.com>
Sean Young figured out that the Xbox Remote sends 24 bits, the first 12 bits are repeated
and inverted so only 12 bits are used. Turns out this is a modified nec protocol.
For increased accuracy and compliance with the upstream, replace the historic 8 bit report
values with the proper 12 bit values.
Signed-off-by: Benjamin Valentin <benpicco@googlemail.com>
Signed-off-by: Sean Young <sean@mess.org>
hp_mce and zotac_ad10 won't work properly, the kernel doesn't
handle the listed scancodes as the MCE subvariant of RC6 so every
other buttonpress would be missing. Also HP MCE remotes generate
standard scancodes that are handled by the rc6_mce keymap and the
hp_mce keymap contains very odd scancodes which means it's probably
garbage (and badly named).
The samsung keymap doensn't contain any info about which actual
remote it should be used for and might clash with upstream if
a samsung keymap would be added there.
As none of these keymaps are activated by default anymore in
LibreELEC let's just remove them.
Signed-off-by: Matthias Reichl <hias@horus.com>