acpid: don't generate events for cursor keys and keypad enter.
Closes #41994.
This commit is contained in:
16
srcpkgs/acpid/patches/no-cursor-events.patch
Normal file
16
srcpkgs/acpid/patches/no-cursor-events.patch
Normal 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" },
|
||||
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user