aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/input.h
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2015-03-05 23:15:07 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-06 17:18:15 -0800
commitbfd30caebaba7f00c13eec3c538799202d36d12a (patch)
treea7416a048abf0623aa88ba26bb84d9f4ea8a6e24 /include/uapi/linux/input.h
parentInput: synaptics - switch ForcePad detection to PNP IDs (diff)
downloadlinux-dev-bfd30caebaba7f00c13eec3c538799202d36d12a.tar.xz
linux-dev-bfd30caebaba7f00c13eec3c538799202d36d12a.zip
Input: rename KEY_DIRECTION to KEY_ROTATE_DISPLAY
The new name better reflects intended usage (but we are keeping the old name as an alias for compatibility). Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/uapi/linux/input.h')
-rw-r--r--include/uapi/linux/input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index a1d7e931ab72..eff1cf18031e 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -368,7 +368,8 @@ struct input_keymap_entry {
#define KEY_MSDOS 151
#define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */
#define KEY_SCREENLOCK KEY_COFFEE
-#define KEY_DIRECTION 153
+#define KEY_ROTATE_DISPLAY 153 /* Display orientation for e.g. tablets */
+#define KEY_DIRECTION KEY_ROTATE_DISPLAY
#define KEY_CYCLEWINDOWS 154
#define KEY_MAIL 155
#define KEY_BOOKMARKS 156 /* AC Bookmarks */