Skip to content

Commit 5a1bbf2

Browse files
committed
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 <[email protected]>
1 parent d73a17e commit 5a1bbf2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/uapi/linux/input.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,11 @@ struct input_keymap_entry {
702702
#define KEY_CAMERA_LEFT 0x219
703703
#define KEY_CAMERA_RIGHT 0x21a
704704

705+
#define KEY_ATTENDANT_ON 0x21b
706+
#define KEY_ATTENDANT_OFF 0x21c
707+
#define KEY_ATTENDANT_TOGGLE 0x21d /* Attendant call on or off */
708+
#define KEY_LIGHTS_TOGGLE 0x21e /* Reading light on or off */
709+
705710
#define BTN_TRIGGER_HAPPY 0x2c0
706711
#define BTN_TRIGGER_HAPPY1 0x2c0
707712
#define BTN_TRIGGER_HAPPY2 0x2c1

0 commit comments

Comments
 (0)