The kernel defines KEY_LIGHTS_TOGGLE as 0x21e, not 0x160 (which is KEY_OK).
Signed-off-by: Peter Korsgaard <pe...@korsgaard.com> --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index ed5749e..3053764 100644 --- 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 0x160 +#define KEY_LIGHTS_TOGGLE 0x21e #endif void -- 2.0.0.rc2 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel