summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/input.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2013-02-02 11:53:47 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-03-12 08:50:21 -0700
commit5a1bbf21325bd4f2641f6141fb8c47f6095578dd (patch)
tree0f7624571415afc9927813255fbd055b10eb250a /include/uapi/linux/input.h
parentd73a17e6c85010f2249e823231ccc0345d1e016f (diff)
downloadlinux-5a1bbf21325bd4f2641f6141fb8c47f6095578dd.tar.gz
linux-5a1bbf21325bd4f2641f6141fb8c47f6095578dd.tar.bz2
linux-5a1bbf21325bd4f2641f6141fb8c47f6095578dd.zip
Input: add new keycodes for passenger control units
Entertainment systems used in aircraft need additional keycodes for their Passenger Control Units, so let's add them. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/uapi/linux/input.h')
-rw-r--r--include/uapi/linux/input.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index 558828590a69..6e4e3c6b3961 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -702,6 +702,11 @@ struct input_keymap_entry {
#define KEY_CAMERA_LEFT 0x219
#define KEY_CAMERA_RIGHT 0x21a
+#define KEY_ATTENDANT_ON 0x21b
+#define KEY_ATTENDANT_OFF 0x21c
+#define KEY_ATTENDANT_TOGGLE 0x21d /* Attendant call on or off */
+#define KEY_LIGHTS_TOGGLE 0x21e /* Reading light on or off */
+
#define BTN_TRIGGER_HAPPY 0x2c0
#define BTN_TRIGGER_HAPPY1 0x2c0
#define BTN_TRIGGER_HAPPY2 0x2c1