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>
This commit is contained in:
Matthias Reichl 2019-11-22 14:58:39 +01:00
parent c90dcd2423
commit 72f83fe02b

View File

@ -9,10 +9,6 @@ ATTRS{name}=="eventlircd", GOTO="end"
SUBSYSTEMS=="rc", GOTO="end"
# set default repeat delay to 500ms like rc remotes
RUN+="/usr/bin/ir-keytable --delay=500 --device=$devnode"
# make lircd-uinput use same repeat period like keyboards in kodi
ATTRS{name}=="lircd-uinput", \
RUN+="/usr/bin/ir-keytable --period=80 --device=$devnode"
RUN+="/usr/bin/evrepeat -d 500 $devnode"
LABEL="end"