Skip to content

Commit 3b059da

Browse files
Rajat Jaindtor
authored andcommitted
Input: allocate keycode for "Selective Screenshot" key
New Chrome OS keyboards have a "snip" key that is basically a selective screenshot (allows a user to select an area of screen to be copied). Allocate a keycode for it. Signed-off-by: Rajat Jain <[email protected]> Reviewed-by: Harry Cutts <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent da32890 commit 3b059da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,9 @@
652652
/* Electronic privacy screen control */
653653
#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
654654

655+
/* Select an area of screen to be copied */
656+
#define KEY_SELECTIVE_SCREENSHOT 0x280
657+
655658
/*
656659
* Some keyboards have keys which do not have a defined meaning, these keys
657660
* are intended to be programmed / bound to macros by the user. For most

0 commit comments

Comments
 (0)