diff options
author | 2019-12-04 17:27:47 -0800 | |
---|---|---|
committer | 2019-12-04 17:58:15 -0800 | |
commit | 25b2f1b77a92b4d850d40eca50d446dd25c09934 (patch) | |
tree | 6641e839465e93bef84d2c1043b7635e5c09cb2d /include | |
parent | Input: uinput - fix returning EPOLLOUT from uinput_poll (diff) | |
download | linux-25b2f1b77a92b4d850d40eca50d446dd25c09934.tar.gz linux-25b2f1b77a92b4d850d40eca50d446dd25c09934.tar.bz2 linux-25b2f1b77a92b4d850d40eca50d446dd25c09934.zip |
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 <mathewk@chromium.org>
Link: https://lore.kernel.org/r/20191017163208.235518-1-mathewk@chromium.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/input-event-codes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h index 85387c76c24f..05d8b4f4f82f 100644 --- a/include/uapi/linux/input-event-codes.h +++ b/include/uapi/linux/input-event-codes.h @@ -649,6 +649,8 @@ */ #define KEY_DATA 0x277 #define KEY_ONSCREEN_KEYBOARD 0x278 +/* Electronic privacy screen control */ +#define KEY_PRIVACY_SCREEN_TOGGLE 0x279 #define BTN_TRIGGER_HAPPY 0x2c0 #define BTN_TRIGGER_HAPPY1 0x2c0 |