summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-07-04 17:49:36 +0200
committerBenjamin Berg <benjamin@sipsolutions.net>2020-07-06 08:27:06 +0000
commita9cc9bd179a9b0c00bb94c3f941a15e07b65d926 (patch)
tree64324b56ee036f78d44b6ab34061eb27bd74e5b5 /data
parentd142c458fbca34f1746bfd2969b21bc3e4a12288 (diff)
downloadgnome-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.in2
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>['&lt;Super&gt;o']</default>
+ <default>['&lt;Super&gt;o', 'XF86RotationLockToggle']</default>
<summary>Toggle automatic screen orientation</summary>
<description>Static binding to toggle automatic screen orientation.</description>
</key>