mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 02:28:05 +02:00
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:
parent
bd4550cfb2
commit
0d02b13ec2
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@
|
||||||
#define DEFAULT_AXIS_STEP_DISTANCE li_fixed_from_int(10)
|
#define DEFAULT_AXIS_STEP_DISTANCE li_fixed_from_int(10)
|
||||||
|
|
||||||
#ifndef KEY_LIGHTS_TOGGLE
|
#ifndef KEY_LIGHTS_TOGGLE
|
||||||
#define KEY_LIGHTS_TOGGLE 0x160
|
#define KEY_LIGHTS_TOGGLE 0x21e
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue