Skip to content

Commit 25b2f1b

Browse files
MathewKingdtor
authored andcommitted
Input: add privacy screen toggle keycode
Add keycode for toggling electronic privacy screen to the keycodes definition. Some new laptops have a privacy screen which can be toggled with a key on the keyboard. Signed-off-by: Mathew King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent d4b675e commit 25b2f1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/uapi/linux/input-event-codes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,8 @@
649649
*/
650650
#define KEY_DATA 0x277
651651
#define KEY_ONSCREEN_KEYBOARD 0x278
652+
/* Electronic privacy screen control */
653+
#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
652654

653655
#define BTN_TRIGGER_HAPPY 0x2c0
654656
#define BTN_TRIGGER_HAPPY1 0x2c0

0 commit comments

Comments
 (0)