Message ID | 41beb348-6e52-44bf-923b-68d552ef328b@HUB2.rwth-ad.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Mar 05, 2015 at 12:31:09AM +0100, Stefan Brüns wrote: > Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Applied, but made KEY_ROTATE_DISPLAY primary. > --- > include/uapi/linux/input.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h > index a1d7e93..47b0138 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_DIRECTION 153 /* Display orientation for e.g. tablets */ > +#define KEY_ROTATE_DISPLAY KEY_DIRECTION > #define KEY_CYCLEWINDOWS 154 > #define KEY_MAIL 155 > #define KEY_BOOKMARKS 156 /* AC Bookmarks */ > -- > 2.1.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-input" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index a1d7e93..47b0138 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_DIRECTION 153 /* Display orientation for e.g. tablets */ +#define KEY_ROTATE_DISPLAY KEY_DIRECTION #define KEY_CYCLEWINDOWS 154 #define KEY_MAIL 155 #define KEY_BOOKMARKS 156 /* AC Bookmarks */
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> --- include/uapi/linux/input.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)