summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-01-22 08:27:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-01-22 09:15:14 +1000
commit8356f417df3b03c15a4d81e0a01a33d34c138c2f (patch)
treebb6f8f55bd614a0fe6e8d0633f5ea063c121503d
parent642c91fc6a5e55cead3bd85bbc599792fcd6df50 (diff)
downloadlibevdev-8356f417df3b03c15a4d81e0a01a33d34c138c2f.tar.gz
include: update linux/input.h for kernel 3.13
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--include/linux/input.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index ba88cec..e37293b 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -462,7 +462,8 @@ struct input_keymap_entry {
#define KEY_BRIGHTNESS_ZERO 244 /* brightness off, use ambient */
#define KEY_DISPLAY_OFF 245 /* display device to off state */
-#define KEY_WIMAX 246
+#define KEY_WWAN 246 /* Wireless WAN (LTE, UMTS, GSM, etc.) */
+#define KEY_WIMAX KEY_WWAN
#define KEY_RFKILL 247 /* Key that controls all radios */
#define KEY_MICMUTE 248 /* Mute / unmute the microphone */
@@ -717,6 +718,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
@@ -854,6 +857,7 @@ struct input_keymap_entry {
#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */
#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */
#define SW_LINEIN_INSERT 0x0d /* set = inserted */
+#define SW_MUTE_DEVICE 0x0e /* set = device disabled */
#define SW_MAX 0x0f
#define SW_CNT (SW_MAX+1)