History

HID: hid-input: add mapping for emoji picker key

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.

Dmitry Torokhov committed 5 years ago

Commit 7b229b11 parent 9858c743 files · +5 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/input-event-codes.h+1−0
@@ -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 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t