HUTRR101 added a new usage code for a key that is supposed to invoke and dismiss an emoji picker widget to assist users to locate and enter emojis. This patch adds a new key definition KEY_EMOJI_PICKER and maps 0x0c/0x0d9 usage code to this new keycode. Additionally hid-debug is adjusted to recognize this new usage code as well.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -611,6 +611,7 @@ · 610 unmodified lines | |||
| 611 | #define KEY_VOICECOMMAND 0x246 /* Listening Voice Command */ | 611 | #define KEY_VOICECOMMAND 0x246 /* Listening Voice Command */ |
| 612 | #define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */ | 612 | #define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */ |
| 613 | #define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */ | 613 | #define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */ |
| 614 | #define KEY_EMOJI_PICKER 0x249 /* Show/hide emoji picker (HUTRR101) */ | ||
| 614 | 615 | ||
| 615 | #define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */ | 616 | #define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */ |
| 616 | #define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */ | 617 | #define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */ |