History

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.

Mathew King committed 6 years ago

Commit 25b2f1b1 parent d4b675e1 file · +2 −0Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/input-event-codes.h+2−0
@@ -649,6 +649,8 @@ · 648 unmodified lines
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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t