Package: triggerhappy
Version: 0.3.4-2
Severity: minor
Tags: patch
Dear Maintainer,
Triggerhappy uses KEY_MIN_INTERESTING instead of KEY_MUTE for the Mute key.
This is due to the fact that KEY_MIN_INTERESTING is defined as an alias
for KEY_MUTE in <linux/input.h>.
The following patch should fix the problem by filtering out _MIN_INTERESTING:
--- Makefile~ 2011-05-10 23:42:08.000000000 +0200
+++ Makefile 2014-11-11 23:23:19.061263487 +0100
@@ -28,7 +28,7 @@
$< > $@
evtable_%.h: $(LINUX_INPUT_H)
- awk '/^#define $*_/ && $$2 !~ /_(MAX|CNT|VERSION)$$/ {print
"EV_MAP("$$2"),"}' $< > $@
+ awk '/^#define $*_/ && $$2 !~ /_(MIN_INTERESTING|MAX|CNT|VERSION)$$/
{print "EV_MAP("$$2"),"}' $< > $@
version.h: version.inc
sed -r 's!(.*)!#define TH_VERSION "\1"!' $< > $@
Regards,
Arnaud Giersch
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]