History

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.

Rajat Jain committed 6 years ago

Commit 3b059da1 parent da328901 file · +3 −0Browse files

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

Unified · Split

include/uapi/linux/input-event-codes.h+3−0
@@ -652,6 +652,9 @@ · 651 unmodified lines
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