summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-10-26 14:27:16 +0100
committerBastien Nocera <hadess@hadess.net>2014-10-26 14:34:58 +0100
commit4f30831e0176a775f00b7af86bd19c664a68bc5c (patch)
treeee3d21b0f562e80ed48d1b2349815fc16bbcf087 /data
parent6e22423362ffb36da0b576916b3bbcb0f26e3b74 (diff)
downloadgnome-settings-daemon-4f30831e0176a775f00b7af86bd19c664a68bc5c.tar.gz
mouse: Add scroll wheel emulation for trackballs
Some trackballs don't have a separate scroll wheel, so one of the buttons needs to be repurposed so pressing it will turn the main ball into a wheel. https://bugzilla.gnome.org/show_bug.cgi?id=645666
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in b/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in
index f1d16489..d2f70ed9 100644
--- a/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in
+++ b/data/org.gnome.settings-daemon.peripherals.gschema.xml.in.in
@@ -4,6 +4,7 @@
<child name="touchpad" schema="org.gnome.settings-daemon.peripherals.touchpad"/>
<child name="keyboard" schema="org.gnome.settings-daemon.peripherals.keyboard"/>
<child name="mouse" schema="org.gnome.settings-daemon.peripherals.mouse"/>
+ <child name="trackball" schema="org.gnome.settings-daemon.peripherals.trackball"/>
<child name="touchscreen" schema="org.gnome.settings-daemon.peripherals.touchscreen"/>
<child name="input-devices" schema="org.gnome.settings-daemon.peripherals.input-devices"/>
</schema>
@@ -149,6 +150,13 @@
<_summary>Whether the tablet's orientation is locked, or rotated automatically.</_summary>
</key>
</schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.trackball" path="/org/gnome/settings-daemon/peripherals/trackball/">
+ <key name="scroll-wheel-emulation-button" type="i">
+ <default>0</default>
+ <range min="0" max="24"/>
+ <_summary>Mouse wheel emulation button. 0 to disable the feature.</_summary>
+ </key>
+ </schema>
<schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.input-devices" path="/org/gnome/settings-daemon/peripherals/input-devices/">
<key name="hotplug-command" type="s">
<default>''</default>