diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-22 07:33:50 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-22 07:33:50 -0400 |
| commit | c01f3f5c3c2860f90e7b1aa4c183ec6b7949fa87 (patch) | |
| tree | 432944bb372304c25c0896fb2a7dfd8935b34fc4 /include/uapi/linux | |
| parent | 0db5c79989de2c68d5abb7ba891bfdb3cd3b7e05 (diff) | |
| parent | 488326947cd1f038da8d2c9068a0d07b913b7983 (diff) | |
Merge branch 'cec-defines' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input into topic/cec
* 'cec-defines' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: add HDMI CEC specific keycodes
Input: add BUS_CEC type
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/input-event-codes.h | 31 | ||||
| -rw-r--r-- | include/uapi/linux/input.h | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h index 87cf351bab03..737fa32faad4 100644 --- a/include/uapi/linux/input-event-codes.h +++ b/include/uapi/linux/input-event-codes.h | |||
| @@ -611,6 +611,37 @@ | |||
| 611 | #define KEY_KBDINPUTASSIST_ACCEPT 0x264 | 611 | #define KEY_KBDINPUTASSIST_ACCEPT 0x264 |
| 612 | #define KEY_KBDINPUTASSIST_CANCEL 0x265 | 612 | #define KEY_KBDINPUTASSIST_CANCEL 0x265 |
| 613 | 613 | ||
| 614 | /* Diagonal movement keys */ | ||
| 615 | #define KEY_RIGHT_UP 0x266 | ||
| 616 | #define KEY_RIGHT_DOWN 0x267 | ||
| 617 | #define KEY_LEFT_UP 0x268 | ||
| 618 | #define KEY_LEFT_DOWN 0x269 | ||
| 619 | |||
| 620 | #define KEY_ROOT_MENU 0x26a /* Show Device's Root Menu */ | ||
| 621 | /* Show Top Menu of the Media (e.g. DVD) */ | ||
| 622 | #define KEY_MEDIA_TOP_MENU 0x26b | ||
| 623 | #define KEY_NUMERIC_11 0x26c | ||
| 624 | #define KEY_NUMERIC_12 0x26d | ||
| 625 | /* | ||
| 626 | * Toggle Audio Description: refers to an audio service that helps blind and | ||
| 627 | * visually impaired consumers understand the action in a program. Note: in | ||
| 628 | * some countries this is referred to as "Video Description". | ||
| 629 | */ | ||
| 630 | #define KEY_AUDIO_DESC 0x26e | ||
| 631 | #define KEY_3D_MODE 0x26f | ||
| 632 | #define KEY_NEXT_FAVORITE 0x270 | ||
| 633 | #define KEY_STOP_RECORD 0x271 | ||
| 634 | #define KEY_PAUSE_RECORD 0x272 | ||
| 635 | #define KEY_VOD 0x273 /* Video on Demand */ | ||
| 636 | #define KEY_UNMUTE 0x274 | ||
| 637 | #define KEY_FASTREVERSE 0x275 | ||
| 638 | #define KEY_SLOWREVERSE 0x276 | ||
| 639 | /* | ||
| 640 | * Control a data application associated with the currently viewed channel, | ||
| 641 | * e.g. teletext or data broadcast application (MHEG, MHP, HbbTV, etc.) | ||
| 642 | */ | ||
| 643 | #define KEY_DATA 0x275 | ||
| 644 | |||
| 614 | #define BTN_TRIGGER_HAPPY 0x2c0 | 645 | #define BTN_TRIGGER_HAPPY 0x2c0 |
| 615 | #define BTN_TRIGGER_HAPPY1 0x2c0 | 646 | #define BTN_TRIGGER_HAPPY1 0x2c0 |
| 616 | #define BTN_TRIGGER_HAPPY2 0x2c1 | 647 | #define BTN_TRIGGER_HAPPY2 0x2c1 |
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 01113841190d..c51494119817 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h | |||
| @@ -247,6 +247,7 @@ struct input_mask { | |||
| 247 | #define BUS_ATARI 0x1B | 247 | #define BUS_ATARI 0x1B |
| 248 | #define BUS_SPI 0x1C | 248 | #define BUS_SPI 0x1C |
| 249 | #define BUS_RMI 0x1D | 249 | #define BUS_RMI 0x1D |
| 250 | #define BUS_CEC 0x1E | ||
| 250 | 251 | ||
| 251 | /* | 252 | /* |
| 252 | * MT_TOOL types | 253 | * MT_TOOL types |
