Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 358f2470 authored by Pali Rohár's avatar Pali Rohár Committed by Dmitry Torokhov
Browse files

Input: add key code for ambient light sensor button



Many notebooks have a special button for enabling/disabling ambient
light sensor.

Signed-off-by: default avatarPali Rohár <pali.rohar@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent e4cfb034
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -719,6 +719,8 @@ struct input_keymap_entry {
#define BTN_DPAD_LEFT		0x222
#define BTN_DPAD_RIGHT		0x223

#define KEY_ALS_TOGGLE		0x230	/* Ambient light sensor */

#define BTN_TRIGGER_HAPPY		0x2c0
#define BTN_TRIGGER_HAPPY1		0x2c0
#define BTN_TRIGGER_HAPPY2		0x2c1