Input: move the new KEY_SELECTIVE_SCREENSHOT keycode
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 26 Mar 2020 19:54:02 +0000 (12:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 26 Mar 2020 19:55:17 +0000 (12:55 -0700)
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>
include/uapi/linux/input-event-codes.h

index 008be2609ce191711fb7c5ffc53d92e311570984..6923dc7e02982ee21febf9e671d36fffc56ee0fd 100644 (file)
 #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