mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-27 10:20:07 +01:00
evdev: Provide fallback definition for KEY_MICMUTE
KEY_MICMUTE was added relatively recently (3.1 with 33009557bd: Add KEY_MICMUTE and enable it on Lenovo X220), so provide a fallback definition similar to how we do it for KEY_LIGHTS_TOGGLE to fix compilation with older toolchains. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
0d02b13ec2
commit
fa8439e644
1 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,10 @@
|
|||
|
||||
#define DEFAULT_AXIS_STEP_DISTANCE li_fixed_from_int(10)
|
||||
|
||||
#ifndef KEY_MICMUTE
|
||||
#define KEY_MICMUTE 0xf8
|
||||
#endif
|
||||
|
||||
#ifndef KEY_LIGHTS_TOGGLE
|
||||
#define KEY_LIGHTS_TOGGLE 0x21e
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue