diff options
author | Hans de Goede <hdegoede@redhat.com> | 2020-07-04 17:49:36 +0200 |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2020-07-06 08:27:06 +0000 |
commit | a9cc9bd179a9b0c00bb94c3f941a15e07b65d926 (patch) | |
tree | 64324b56ee036f78d44b6ab34061eb27bd74e5b5 /data | |
parent | d142c458fbca34f1746bfd2969b21bc3e4a12288 (diff) | |
download | gnome-settings-daemon-a9cc9bd179a9b0c00bb94c3f941a15e07b65d926.tar.gz |
media-keys: Add static mapping for XF86RotationLockToggle
Some tablets have a dedicated button for toggling accelerometer based
rotation on/off. A while ago the XF86RotationLockToggle keysym was added
for this and this has been hooked up through all the plumbing layers
(xkeyboard-config, libxkb-common) now.
Add a static mapping for this, to make these buttons work ootb.
This has been tested with such a button on a Lenovo Thinkpad 10 tablet.
Diffstat (limited to 'data')
-rw-r--r-- | data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in b/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in index 123d315c..fb0c85c6 100644 --- a/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in +++ b/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in @@ -672,7 +672,7 @@ </key> <key name="rotate-video-lock-static" type="as"> - <default>['<Super>o']</default> + <default>['<Super>o', 'XF86RotationLockToggle']</default> <summary>Toggle automatic screen orientation</summary> <description>Static binding to toggle automatic screen orientation.</description> </key> |