Since 1.18.0 ir-keytable no longer supports the "--device" option
which means it can't be used to configure input repeat settings
of non-rc devices like keyboards, RF remotes etc.
Use the newly added evrepeat tool instead so we retain the same
500ms initial repeat delay as before the v4l-utils bump.
lircd-uninput is no longer used by default on LE so drop it's
repeat period configuration.
Signed-off-by: Matthias Reichl <hias@horus.com>
Disable bpf decoder support for now, it's not yet supported
in the LE kernels and needs clang to compile.
Signed-off-by: Matthias Reichl <hias@horus.com>
Using $id to get the rcX device name from the SUBSYSTEMS match,
as used by the upstrem v4l-utils udev rule, is easier and more
stable than using IMPORT{parent}, which needs to transmit info across
two levels (rcX->inputY->eventZ) and breaks with kernel 4.20.
Instead of running a shell script to check for the existance of
/storage/.config/rc_maps.cfg we can use the builtin udev TEST
function.
Also it's better to use ENV variables prefixed with a dot as
they are used only locally in the udev rule file and don't need
to be persisted in the udev database or exported to external tools.
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>