diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-01-21 20:18:50 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2019-01-22 08:13:52 +0100 |
commit | 000ebed576aafb44caeea8b6a5de90fba2bdc389 (patch) | |
tree | 973ab2e9eb1c74edcdd04d8104b7f5a739575620 | |
parent | 4e9f4e6136a7c35b0b3d341424eb4e0585f2f0a7 (diff) |
XF86keysym: Add XF86XK_RotationLockToggle
Add XF86XK_RotationLockToggle keysym, to be used as mapping for evdev's
KEY_ROTATE_LOCK_TOGGLE.
I've a Point of View P1006W-232 Windows tablet which actually has a
rotate-lock toggle-button. The latest kernel correctly generates
KEY_ROTATE_LOCK_TOGGLE events for this. So now I'm hooking up support for
it through all the higher layers.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jian-Hong Pan <jian-hong@endlessm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | include/X11/XF86keysym.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/X11/XF86keysym.h b/include/X11/XF86keysym.h index 9ad8948..dd287e2 100644 --- a/include/X11/XF86keysym.h +++ b/include/X11/XF86keysym.h @@ -205,6 +205,8 @@ #define XF86XK_AudioPreset 0x1008FFB6 /* Select equalizer preset, e.g. theatre-mode */ +#define XF86XK_RotationLockToggle 0x1008FFB7 /* Toggle screen rotation lock on/off */ + /* Keys for special action keys (hot keys) */ /* Virtual terminals on some operating systems */ #define XF86XK_Switch_VT_1 0x1008FE01 |