summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2020-03-26 12:54:02 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-03-26 12:55:17 -0700
commitfbf66796a0aedbaea248c7ade1459ccd0dd4cb44 (patch)
tree5b11419542f32b4a833b63db494ffc1021cc7742
parent52afa505a03d914081f40cb869a3248567a57573 (diff)
downloadlinux-fbf66796a0aedbaea248c7ade1459ccd0dd4cb44.tar.bz2
Input: move the new KEY_SELECTIVE_SCREENSHOT keycode
We should try to keep keycodes sequential unless there is a reason to leave a gap in numbering, so let's move it from 0x280 to 0x27a while we still can. Fixes: 3b059da9835c ("Input: allocate keycode for Selective Screenshot key") Acked-by: Rajat Jain <rajatja@google.com> Link: https://lore.kernel.org/r/20200326182711.GA259753@dtor-ws Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--include/uapi/linux/input-event-codes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h
index 008be2609ce1..6923dc7e0298 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -653,7 +653,7 @@
#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
/* Select an area of screen to be copied */
-#define KEY_SELECTIVE_SCREENSHOT 0x280
+#define KEY_SELECTIVE_SCREENSHOT 0x27a
/*
* Some keyboards have keys which do not have a defined meaning, these keys