mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
lirc: use _LIRCUP as key-release suffix instead of _UP
Since diagonal key support was added in kernel 4.7 KEY_LEFT_UP and KEY_RIGHT_UP are valid input symbols. This means we can no longer use _UP as a suffix for transporting release events from lircd to lircd-uinput, lircd-uinput now interprets KEY_LEFT_UP/KEY_RIGHT_UP as a diagnoal key down event instead of left/right key release.
This commit is contained in:
@@ -36,7 +36,7 @@ case "$ACTION" in
|
||||
LIRCD_CONFIG="--driver=$DRIVER --device=/dev/$DEVICE"
|
||||
LIRCD_CONFIG="$LIRCD_CONFIG --output=/run/lirc/lircd-$DEVICE"
|
||||
LIRCD_CONFIG="$LIRCD_CONFIG --pidfile=/run/lirc/lircd-$DEVICE.pid"
|
||||
LIRCD_CONFIG="$LIRCD_CONFIG --release=_UP"
|
||||
LIRCD_CONFIG="$LIRCD_CONFIG --release=_LIRCUP"
|
||||
|
||||
if [ -e "/storage/.config/lircd.conf" ]; then
|
||||
LIRCD_CONFIG="$LIRCD_CONFIG /storage/.config/lircd.conf"
|
||||
|
||||
Reference in New Issue
Block a user