Skip to content

Commit bfd30ca

Browse files
StefanBruensdtor
authored andcommitted
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>
1 parent de4e374 commit bfd30ca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎include/uapi/linux/input.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ struct input_keymap_entry {
368368
#define KEY_MSDOS 151
369369
#define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */
370370
#define KEY_SCREENLOCK KEY_COFFEE
371-
#define KEY_DIRECTION 153
371+
#define KEY_ROTATE_DISPLAY 153 /* Display orientation for e.g. tablets */
372+
#define KEY_DIRECTION KEY_ROTATE_DISPLAY
372373
#define KEY_CYCLEWINDOWS 154
373374
#define KEY_MAIL 155
374375
#define KEY_BOOKMARKS 156 /* AC Bookmarks */

0 commit comments

Comments
 (0)