1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 00:16:45 +00:00
Lakka-LibreELEC/packages/sysutils/evrepeat/udev.d/70-input-repeat.rules
Matthias Reichl 72f83fe02b move 70-input-repeat.rules from v4l-utils to evrepeat
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>
2019-11-22 16:11:38 +01:00

15 lines
352 B
Plaintext

ACTION=="add", SUBSYSTEM=="input", KERNEL=="event[0-9]*", GOTO="start"
GOTO="end"
LABEL="start"
# don't change eventlircd device settings
ATTRS{name}=="eventlircd", GOTO="end"
# don't change settings of rc remotes
SUBSYSTEMS=="rc", GOTO="end"
# set default repeat delay to 500ms like rc remotes
RUN+="/usr/bin/evrepeat -d 500 $devnode"
LABEL="end"