History

input: Add support for "Do Not Disturb"

HUTRR94 added support for a new usage titled "System Do Not Disturb" which toggles a system-wide Do Not Disturb setting. This commit simply adds a new event code for the usage.

Aseda Aboagye committed 2 years ago

Commit 22d6d061 parent 0c7dd003 files · +10 −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
@@ -619,6 +619,7 @@ · 618 unmodified lines
619#define KEY_CAMERA_ACCESS_DISABLE 0x24c /* Disables programmatic access to camera devices. (HUTRR72) */619#define KEY_CAMERA_ACCESS_DISABLE 0x24c /* Disables programmatic access to camera devices. (HUTRR72) */
620#define KEY_CAMERA_ACCESS_TOGGLE 0x24d /* Toggles the current state of the camera access control. (HUTRR72) */620#define KEY_CAMERA_ACCESS_TOGGLE 0x24d /* Toggles the current state of the camera access control. (HUTRR72) */
621#define KEY_ACCESSIBILITY 0x24e /* Toggles the system bound accessibility UI/command (HUTRR116) */621#define KEY_ACCESSIBILITY 0x24e /* Toggles the system bound accessibility UI/command (HUTRR116) */
622#define KEY_DO_NOT_DISTURB 0x24f /* Toggles the system-wide "Do Not Disturb" control (HUTRR94)*/
622 623
623#define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */624#define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */
624#define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */625#define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */