summaryrefslogtreecommitdiff
path: root/data/org.mate.peripherals-touchpad.gschema.xml.in
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-31 16:47:44 +0300
committermonsta <[email protected]>2016-10-31 16:55:22 +0300
commit76e0ee3104a68d57e85aa4148702a888c0677bdf (patch)
tree71372fe1e499c2c13ad1149ddc630bd0a6e3e1ff /data/org.mate.peripherals-touchpad.gschema.xml.in
parent6ba80db4f66b7f5a034d616796e5c951df8992a1 (diff)
downloadmate-settings-daemon-76e0ee3104a68d57e85aa4148702a888c0677bdf.tar.bz2
mate-settings-daemon-76e0ee3104a68d57e85aa4148702a888c0677bdf.tar.xz
mouse: add key for separate touchpad handedness (left/right-handed)
schema: org.mate.peripherals-touchpad key: left-handed (same name as in peripherals-mouse schema) values: 'right', 'left', 'mouse' default value: 'mouse' - follow the corresponding mouse setting (to keep the default behaviour same as before) adapted from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=59ec6da345fa6d20c13d44f9cfe4f607cb1eeea3 https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=ccaf750510e8797f22045490eb37d39693023ec6
Diffstat (limited to 'data/org.mate.peripherals-touchpad.gschema.xml.in')
-rw-r--r--data/org.mate.peripherals-touchpad.gschema.xml.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/org.mate.peripherals-touchpad.gschema.xml.in b/data/org.mate.peripherals-touchpad.gschema.xml.in
index eab7d6b..d3557dd 100644
--- a/data/org.mate.peripherals-touchpad.gschema.xml.in
+++ b/data/org.mate.peripherals-touchpad.gschema.xml.in
@@ -1,4 +1,9 @@
<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+ <enum id="org.mate.peripherals-touchpad.Handedness">
+ <value nick="right" value="0"/>
+ <value nick="left" value="1"/>
+ <value nick="mouse" value="2"/>
+ </enum>
<schema id="org.mate.peripherals-touchpad" path="/org/mate/desktop/peripherals/touchpad/">
<key name="disable-while-typing" type="b">
<default>false</default>
@@ -65,5 +70,10 @@
<summary>Three finger tap button</summary>
<description>Select the button mapping for three-finger tap. Supported values are: 1: left mouse button 2: middle mouse button 3: right mouse button</description>
</key>
+ <key name="left-handed" enum="org.mate.peripherals-touchpad.Handedness">
+ <default>'mouse'</default>
+ <summary>Touchpad button orientation</summary>
+ <description>Swap left and right buttons for left-handed touchpads with 'left', 'right' for right-handed, 'mouse' to follow the mouse setting.</description>
+ </key>
</schema>
</schemalist>