diff options
author | Dmitry V. Levin <ldv@strace.io> | 2022-03-06 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2022-03-06 08:00:00 +0000 |
commit | bd0a7eee6a797dbb74bdf86b0722bd8eef82606e (patch) | |
tree | 00d7db9743789f2456f4edf58feb835bff873651 | |
parent | c5ffbe8218225e00ee7ac155af6c2fad08741bd9 (diff) | |
download | strace-bd0a7eee6a797dbb74bdf86b0722bd8eef82606e.tar.gz |
xlat: update KEY_* constants
* bundled/linux/include/uapi/linux/input-event-codes.h: Update
to headers_install'ed Linux kernel v5.17-rc7.
* src/xlat/evdev_keycode.in (KEY_DASHBOARD): Rename to
KEY_ALL_APPLICATIONS introduced by Linux kernel commit v5.17-rc7~5^2.
(KEY_DICTATE): New constant introduced by Linux kernel commit
v5.17-rc7~5^2~1.
* NEWS: Mention this change.
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | bundled/linux/include/uapi/linux/input-event-codes.h | 4 | ||||
-rw-r--r-- | src/xlat/evdev_keycode.in | 3 |
3 files changed, 7 insertions, 4 deletions
@@ -12,8 +12,8 @@ Noteworthy changes in release ?.?? (????-??-??) * Implemented decoding of PR_SET_VMA operation of prctl syscall. * Implemented decoding of siginfo_t.si_pkey field. * Implemented decoding of LIRC ioctl commands. - * Updated lists of FAN_*, IORING_*, IOSQE_*, KVM_*, MODULE_INIT_*, TCA_ACT_*, - and *_MAGIC constants. + * Updated lists of FAN_*, IORING_*, IOSQE_*, KEY_*, KVM_*, MODULE_INIT_*, + TCA_ACT_*, and *_MAGIC constants. * Updated lists of ioctl commands from Linux 5.17. * Bug fixes diff --git a/bundled/linux/include/uapi/linux/input-event-codes.h b/bundled/linux/include/uapi/linux/input-event-codes.h index dc6717c41..ae425f0a2 100644 --- a/bundled/linux/include/uapi/linux/input-event-codes.h +++ b/bundled/linux/include/uapi/linux/input-event-codes.h @@ -278,7 +278,8 @@ #define KEY_PAUSECD 201 #define KEY_PROG3 202 #define KEY_PROG4 203 -#define KEY_DASHBOARD 204 /* AL Dashboard */ +#define KEY_ALL_APPLICATIONS 204 /* AC Desktop Show All Applications */ +#define KEY_DASHBOARD KEY_ALL_APPLICATIONS #define KEY_SUSPEND 205 #define KEY_CLOSE 206 /* AC Close */ #define KEY_PLAY 207 @@ -612,6 +613,7 @@ #define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */ #define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */ #define KEY_EMOJI_PICKER 0x249 /* Show/hide emoji picker (HUTRR101) */ +#define KEY_DICTATE 0x24a /* Start or Stop Voice Dictation Session (HUTRR99) */ #define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */ #define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */ diff --git a/src/xlat/evdev_keycode.in b/src/xlat/evdev_keycode.in index 306bb722b..81a1e6710 100644 --- a/src/xlat/evdev_keycode.in +++ b/src/xlat/evdev_keycode.in @@ -204,7 +204,7 @@ KEY_PLAYCD KEY_PAUSECD KEY_PROG3 KEY_PROG4 -KEY_DASHBOARD +KEY_ALL_APPLICATIONS KEY_SUSPEND KEY_CLOSE KEY_PLAY @@ -519,6 +519,7 @@ KEY_VOICECOMMAND KEY_ASSISTANT KEY_KBD_LAYOUT_NEXT KEY_EMOJI_PICKER +KEY_DICTATE KEY_BRIGHTNESS_MIN KEY_BRIGHTNESS_MAX |