mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
acpid: don't generate events for cursor keys and keypad enter.
Closes #41994.
This commit is contained in:
parent
877c6c001c
commit
5ac39e5ecb
2 changed files with 17 additions and 1 deletions
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'
|
# Template file for 'acpid'
|
||||||
pkgname=acpid
|
pkgname=acpid
|
||||||
version=2.0.34
|
version=2.0.34
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="ACPI Daemon (acpid) With Netlink Support"
|
short_desc="ACPI Daemon (acpid) With Netlink Support"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue