]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-input: add mapping for emoji picker key
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 11 Apr 2021 02:56:05 +0000 (19:56 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 May 2021 12:31:05 +0000 (14:31 +0200)
commiteb3f03e843548a47336e7ab3a230680900fb5d58
tree5cf3b1a0ced9715effd8a31ca15646db119e95b4
parent6ad0d82528a6b1c16ba0cc729a490997b1236409
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.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-debug.c
drivers/hid/hid-input.c
include/uapi/linux/input-event-codes.h