summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRajat Jain <rajatja@google.com>2020-03-17 20:03:33 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-03-17 20:08:52 -0700
commit3b059da9835c200d9533361f8b404fdcab007632 (patch)
tree7e249a1e0601789d9289ea842b338149de7ca60d /include
parentda3289044833769188c0da945d2cec90af35e87e (diff)
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 <rajatja@google.com> Reviewed-by: Harry Cutts <hcutts@chromium.org> Link: https://lore.kernel.org/r/20200313180333.75011-1-rajatja@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/input-event-codes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 0f1db1cccc3f..008be2609ce1 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -652,6 +652,9 @@
/* Electronic privacy screen control */
#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
+/* Select an area of screen to be copied */
+#define KEY_SELECTIVE_SCREENSHOT 0x280
+
/*
* Some keyboards have keys which do not have a defined meaning, these keys
* are intended to be programmed / bound to macros by the user. For most