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/linux (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
719#define BTN_DPAD_LEFT 0x222719#define BTN_DPAD_LEFT 0x222
720#define BTN_DPAD_RIGHT 0x223720#define BTN_DPAD_RIGHT 0x223
721 721
722#define KEY_ALS_TOGGLE 0x230 /* Ambient light sensor */
723
722#define BTN_TRIGGER_HAPPY 0x2c0724#define BTN_TRIGGER_HAPPY 0x2c0
723#define BTN_TRIGGER_HAPPY1 0x2c0725#define BTN_TRIGGER_HAPPY1 0x2c0
724#define BTN_TRIGGER_HAPPY2 0x2c1726#define BTN_TRIGGER_HAPPY2 0x2c1