- enables eventlircd for Imon UltraBay (front panel buttons)
- this will fix the issue with some front panel buttons not being
detected by Kodi (if keycode value is higher than 255)
Signed-off-by: pretoriano80 <viusflag@libero.it>
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>
This moves the repeat delay config from 98-eventlircd.rules,
changes the repeat period from 33ms to 80ms for lircd-uinput
and changes the repeat delay from 1s to 500ms for all input devices.
Kodi doesn't support the artificial lirc release events and
_UP leads to a clash since KEY_LEFT_UP and KEY_RIGHT_UP are valid
linux input events since the diagonal key support in kernel 4.7.
Tweak to support the newer PS3 BD (with IR) remote which identifies differently.
Version 1
[ 142.524200] input: BD Remote Control as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:43/0005:054C:0306.0001/input/i$
[ 142.533894] sony 0005:054C:0306.0001: input,hidraw0: BLUETOOTH HID v1.00 Gamepad [BD Remote Control] on 00:00:00:00:00:00
-------------
Version 2
[ 7476.763657] input: Sony Computer Entertainment Inc BD Remote Control as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/bluetooth/hci0/hci0:11/0005:054C:0306.000A/input/input9
[ 7476.764266] sony 0005:054C:0306.000A: input,hidraw4: BLUETOOTH HID v1.10 Gamepad [Sony Computer Entertainment Inc BD Remote Control] on 00:00:00:00:00:00