projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd4550c
)
evdev: Use correct fallback value for KEY_LIGHTS_TOGGLE
author
Peter Korsgaard
<peter@korsgaard.com>
Mon, 2 Jun 2014 21:11:30 +0000
(23:11 +0200)
committer
Jonas Ådahl
<jadahl@gmail.com>
Mon, 2 Jun 2014 21:23:13 +0000
(23:23 +0200)
The kernel defines KEY_LIGHTS_TOGGLE as 0x21e, not 0x160 (which is KEY_OK).
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index
ed5749e
..
3053764
100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-42,7
+42,7
@@
#define DEFAULT_AXIS_STEP_DISTANCE li_fixed_from_int(10)
#ifndef KEY_LIGHTS_TOGGLE
-#define KEY_LIGHTS_TOGGLE 0x
160
+#define KEY_LIGHTS_TOGGLE 0x
21e
#endif
void