summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/input-event-codes.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/include/input-event-codes.h b/src/include/input-event-codes.h
index ad98abd5d5..968f3a352d 100644
--- a/src/include/input-event-codes.h
+++ b/src/include/input-event-codes.h
@@ -1,9 +1,9 @@
/*
* This file is copied as-is from include/uapi/linux/input-event-codes.h
- * from input maintainer's tree:
- * git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git
- * from master branch
- * at SHA: 1260cd04a601e0e02e09fa332111b8639611970d
+ * from HID maintainer's tree:
+ * git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
+ * from `for-next` branch
+ * at SHA: c412e40267dd4ac020c5f8dc8c1cccc04e796ff4
*/
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
@@ -610,6 +610,7 @@
#define KEY_ALS_TOGGLE 0x230 /* Ambient light sensor */
#define KEY_ROTATE_LOCK_TOGGLE 0x231 /* Display rotation lock */
+#define KEY_REFRESH_RATE_TOGGLE 0x232 /* Display refresh rate toggle */
#define KEY_BUTTONCONFIG 0x240 /* AL Button Configuration */
#define KEY_TASKMANAGER 0x241 /* AL Task/Project Manager */
@@ -622,6 +623,11 @@
#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_CAMERA_ACCESS_ENABLE 0x24b /* Enables programmatic access to camera devices. (HUTRR72) */
+#define KEY_CAMERA_ACCESS_DISABLE 0x24c /* Disables programmatic access to camera devices. (HUTRR72) */
+#define KEY_CAMERA_ACCESS_TOGGLE 0x24d /* Toggles the current state of the camera access control. (HUTRR72) */
+#define KEY_ACCESSIBILITY 0x24e /* Toggles the system bound accessibility UI/command (HUTRR116) */
+#define KEY_DO_NOT_DISTURB 0x24f /* Toggles the system-wide "Do Not Disturb" control (HUTRR94)*/
#define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */
#define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */
@@ -755,7 +761,7 @@
#define KEY_MACRO_PRESET3 0x2b5
/*
- * Some keyboards have a built-in LCD panel where the contents are controlled
+ * Some keyboards have a buildin LCD panel where the contents are controlled
* by the host. Often these have a number of keys directly below the LCD
* intended for controlling a menu shown on the LCD. These keys often don't
* have any labeling so we just name them KEY_KBD_LCD_MENU#
@@ -899,6 +905,7 @@
#define ABS_MT_TOOL_X 0x3c /* Center X tool position */
#define ABS_MT_TOOL_Y 0x3d /* Center Y tool position */
+
#define ABS_MAX 0x3f
#define ABS_CNT (ABS_MAX+1)