Commit 0fb8b664 authored by Hans de Goede's avatar Hans de Goede Committed by Sergey Udaltsov
Browse files

Map evdev keycode KEY_ROTATE_LOCK_TOGGLE to XF86RotationLockToggle

Add XF86RotationLockToggle, 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.

The patch for adding the RotationLockToggle keysym to xproto is here:
https://patchwork.freedesktop.org/patch/279365/

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 08723f30
......@@ -286,6 +286,7 @@ default xkb_keycodes "evdev" {
<I372> = 372; // #define KEY_FAVORITES 364
<I382> = 382; // #define KEY_KEYBOARD 374
<I569> = 569; // #define KEY_ROTATE_LOCK_TOGGLE 561
// Fake keycodes for virtual keys
<LVL3> = 92;
......
......@@ -220,6 +220,7 @@ xkb_symbols "evdev" {
key <I372> { [ XF86Favorites ] };
key <I382> { [ XF86Keyboard ] };
key <I569> { [ XF86RotationLockToggle ] };
key <FK13> { [ XF86Tools ] };
key <FK14> { [ XF86Launch5 ] };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment