include: update to v4.9 linux/input.h headers

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2016-12-12 10:07:07 +10:00
parent 452847a314
commit 8a47a03044
2 changed files with 36 additions and 2 deletions

View file

@ -611,6 +611,37 @@
#define KEY_KBDINPUTASSIST_ACCEPT 0x264 #define KEY_KBDINPUTASSIST_ACCEPT 0x264
#define KEY_KBDINPUTASSIST_CANCEL 0x265 #define KEY_KBDINPUTASSIST_CANCEL 0x265
/* Diagonal movement keys */
#define KEY_RIGHT_UP 0x266
#define KEY_RIGHT_DOWN 0x267
#define KEY_LEFT_UP 0x268
#define KEY_LEFT_DOWN 0x269
#define KEY_ROOT_MENU 0x26a /* Show Device's Root Menu */
/* Show Top Menu of the Media (e.g. DVD) */
#define KEY_MEDIA_TOP_MENU 0x26b
#define KEY_NUMERIC_11 0x26c
#define KEY_NUMERIC_12 0x26d
/*
* Toggle Audio Description: refers to an audio service that helps blind and
* visually impaired consumers understand the action in a program. Note: in
* some countries this is referred to as "Video Description".
*/
#define KEY_AUDIO_DESC 0x26e
#define KEY_3D_MODE 0x26f
#define KEY_NEXT_FAVORITE 0x270
#define KEY_STOP_RECORD 0x271
#define KEY_PAUSE_RECORD 0x272
#define KEY_VOD 0x273 /* Video on Demand */
#define KEY_UNMUTE 0x274
#define KEY_FASTREVERSE 0x275
#define KEY_SLOWREVERSE 0x276
/*
* Control a data application associated with the currently viewed channel,
* e.g. teletext or data broadcast application (MHEG, MHP, HbbTV, etc.)
*/
#define KEY_DATA 0x277
#define BTN_TRIGGER_HAPPY 0x2c0 #define BTN_TRIGGER_HAPPY 0x2c0
#define BTN_TRIGGER_HAPPY1 0x2c0 #define BTN_TRIGGER_HAPPY1 0x2c0
#define BTN_TRIGGER_HAPPY2 0x2c1 #define BTN_TRIGGER_HAPPY2 0x2c1
@ -748,6 +779,7 @@
#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */ #define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */
#define SW_LINEIN_INSERT 0x0d /* set = inserted */ #define SW_LINEIN_INSERT 0x0d /* set = inserted */
#define SW_MUTE_DEVICE 0x0e /* set = device disabled */ #define SW_MUTE_DEVICE 0x0e /* set = device disabled */
#define SW_PEN_INSERTED 0x0f /* set = pen inserted */
#define SW_MAX 0x0f #define SW_MAX 0x0f
#define SW_CNT (SW_MAX+1) #define SW_CNT (SW_MAX+1)

View file

@ -179,7 +179,7 @@ struct input_mask {
* The default event mask for a client has all bits set, i.e. all events * The default event mask for a client has all bits set, i.e. all events
* are forwarded to the client. If the kernel is queried for an unknown * are forwarded to the client. If the kernel is queried for an unknown
* event type or if the receive buffer is larger than the number of * event type or if the receive buffer is larger than the number of
* event codes known to the kernel, the kernel returns all zeroes for those * event codes known to the kernel, the kernel may return zeroes for those
* codes. * codes.
* *
* At maximum, codes_size bytes are copied. * At maximum, codes_size bytes are copied.
@ -202,7 +202,7 @@ struct input_mask {
* is unknown to the kernel, or if the number of event codes specified in * is unknown to the kernel, or if the number of event codes specified in
* the mask is bigger than what is known to the kernel, the ioctl is still * the mask is bigger than what is known to the kernel, the ioctl is still
* accepted and applied. However, any unknown codes are left untouched and * accepted and applied. However, any unknown codes are left untouched and
* stay cleared. That means, the kernel always filters unknown codes * may be cleared. That means, the kernel always filters unknown codes
* regardless of what the client requests. If the new mask doesn't cover * regardless of what the client requests. If the new mask doesn't cover
* all known event-codes, all remaining codes are automatically cleared and * all known event-codes, all remaining codes are automatically cleared and
* thus filtered. * thus filtered.
@ -245,6 +245,8 @@ struct input_mask {
#define BUS_ATARI 0x1B #define BUS_ATARI 0x1B
#define BUS_SPI 0x1C #define BUS_SPI 0x1C
#define BUS_RMI 0x1D #define BUS_RMI 0x1D
#define BUS_CEC 0x1E
#define BUS_INTEL_ISHTP 0x1F
/* /*
* MT_TOOL types * MT_TOOL types