ir-keytable -a can fail if it's run before the input and event
devices are created. Fix this by changing the udev rule to trigger
on event device creation instead of rc device creation.
Also drop the udev rules patch and simply replace the udev rule
with our version, this is easier to maintain.
Signed-off-by: Matthias Reichl <hias@horus.com>
All locally added remote keycodes are now in separate files,
one per remote, instead of adding them to rc6_mce.
A new keymap, libreelec_multi, with all keycodes of the previous
rc6_mce map is added in install and used by default when the
remote is configured to use the rc-rc6-mce table.
The default behaviour is unchanged, LE can still be controlled with
MCE, xbox, ... remotes out of the box but it's now possible to configure
the ir receiver to react only on the codes sent by a specific remote.
This solves the issue where a xbox remote always controlled LE even
when a user only wanted to control it with a MCE remote.
To do this simply create a /storage/.config/rc_maps.cfg file with
the following content:
* rc-rc6-mce rc6_mce
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.