acpid: don't generate events for cursor keys and keypad enter.

Closes #41994.
This commit is contained in:
Leah Neukirchen 2023-02-09 13:18:18 +01:00
parent 877c6c001c
commit 5ac39e5ecb
2 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,16 @@
--- a/input_layer.c
+++ b/input_layer.c
@@ -181,11 +181,13 @@
"button/kbdillumdown KBILLUMDOWN 00000080 00000000" },
{ EV_KEY, KEY_COPY, 1, "button/copy COPY 00000080 00000000" },
{ EV_KEY, KEY_RESTART, 1, "button/restart RSTR 00000080 00000000" },
+#if 0
{ EV_KEY, KEY_KPENTER, 1, "button/kpenter KPENTER 00000080 00000000" },
{ EV_KEY, KEY_UP, 1, "button/up UP 00000080 00000000" },
{ EV_KEY, KEY_LEFT, 1, "button/left LEFT 00000080 00000000" },
{ EV_KEY, KEY_RIGHT, 1, "button/right RIGHT 00000080 00000000" },
{ EV_KEY, KEY_DOWN, 1, "button/down DOWN 00000080 00000000" },
+#endif
{ EV_KEY, KEY_MENU, 1, "button/menu MENU 00000080 00000000" },
{ EV_KEY, KEY_BACK, 1, "button/back BACK 00000080 00000000" },
{ EV_KEY, KEY_HOMEPAGE, 1, "button/homepage HOMEPAGE 00000080 00000000" },

View file

@ -1,7 +1,7 @@
# Template file for 'acpid'
pkgname=acpid
version=2.0.34
revision=1
revision=2
build_style=gnu-configure
short_desc="ACPI Daemon (acpid) With Netlink Support"
maintainer="Enno Boland <gottox@voidlinux.org>"