History

Input: add key code for ambient light sensor button

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

Pali Rohár committed 12 years ago

Commit 358f2471 parent e4cfb031 file · +2 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/input.h+2−0
@@ -719,6 +719,8 @@ struct input_keymap_entry { · 718 unmodified lines
719719 #define BTN_DPAD_LEFT 0x222
720720 #define BTN_DPAD_RIGHT 0x223
721721
722+#define KEY_ALS_TOGGLE 0x230 /* Ambient light sensor */
723+
722724 #define BTN_TRIGGER_HAPPY 0x2c0
723725 #define BTN_TRIGGER_HAPPY1 0x2c0
724726 #define BTN_TRIGGER_HAPPY2 0x2c1