evdev: Use correct fallback value for KEY_LIGHTS_TOGGLE

The kernel defines KEY_LIGHTS_TOGGLE as 0x21e, not 0x160 (which is KEY_OK).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-06-02 23:11:30 +02:00 committed by Jonas Ådahl
parent bd4550cfb2
commit 0d02b13ec2

View file

@ -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