diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2015-03-05 23:15:07 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-06 17:18:15 -0800 |
commit | bfd30caebaba7f00c13eec3c538799202d36d12a (patch) | |
tree | a7416a048abf0623aa88ba26bb84d9f4ea8a6e24 | |
parent | de4e374b401a736a2c278babe99b94756060d0e8 (diff) | |
download | lwn-bfd30caebaba7f00c13eec3c538799202d36d12a.tar.gz lwn-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>
-rw-r--r-- | include/uapi/linux/input.h | 3 |
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 */ |