summaryrefslogtreecommitdiff
path: root/data/org.mate.peripherals-mouse.gschema.xml.in
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-08-02 14:48:07 -0400
committerraveit65 <[email protected]>2019-08-11 19:35:04 +0200
commit96e46794a82bf4b2a3edce4502f09f1c4ec85678 (patch)
tree531e68bfef709ce07b86d03b4e760905646f6d69 /data/org.mate.peripherals-mouse.gschema.xml.in
parent5d01782cd1530e98977cdfeed559a30bda94f727 (diff)
downloadmate-settings-daemon-96e46794a82bf4b2a3edce4502f09f1c4ec85678.tar.bz2
mate-settings-daemon-96e46794a82bf4b2a3edce4502f09f1c4ec85678.tar.xz
mouse: Add acceleration profiles
Currently libinput supports Adaptive and Flat acceleration profiles. We can use these to change mouse behavior. Synaptic touchpads are not supported through libinput, so they will not be affected by this change. The Default acceleration profile reads the value from the libinput defaults and sets them as the current profile. Usually ends up being Adaptive.
Diffstat (limited to 'data/org.mate.peripherals-mouse.gschema.xml.in')
-rw-r--r--data/org.mate.peripherals-mouse.gschema.xml.in59
1 files changed, 59 insertions, 0 deletions
diff --git a/data/org.mate.peripherals-mouse.gschema.xml.in b/data/org.mate.peripherals-mouse.gschema.xml.in
new file mode 100644
index 0000000..87b4bc2
--- /dev/null
+++ b/data/org.mate.peripherals-mouse.gschema.xml.in
@@ -0,0 +1,59 @@
+<schemalist gettext-domain="mate-desktop">
+ <enum id="org.mate.peripherals-mouse.AccelProfile">
+ <value nick="default" value="0"/>
+ <value nick="adaptive" value="1"/>
+ <value nick="flat" value="2"/>
+ </enum>
+ <schema id="org.mate.peripherals-mouse" path="/org/mate/desktop/peripherals/mouse/">
+ <key name="left-handed" type="b">
+ <default>false</default>
+ <summary>Mouse button orientation</summary>
+ <description>Swap left and right mouse buttons for left-handed mice.</description>
+ </key>
+ <key name="motion-acceleration" type="d">
+ <default>-1</default>
+ <summary>Motion Acceleration</summary>
+ <description>Acceleration multiplier for mouse motion. A value of -1 is the system default.</description>
+ </key>
+ <key name="motion-threshold" type="i">
+ <default>-1</default>
+ <summary>Motion Threshold</summary>
+ <description>Distance in pixels the pointer must move before accelerated mouse motion is activated. A value of -1 is the system default.</description>
+ </key>
+ <key name="accel-profile" enum="org.mate.peripherals-mouse.AccelProfile">
+ <default>'default'</default>
+ <summary>Acceleration profile</summary>
+ <description>Acceleration profile used for connected mice. The acceleration profile can be set to either default ('default') which uses the default acceleration profile for each device, flat ('flat'), which accelerates by a device specific constant factor derived from the configured pointer speed, or adaptive ('adaptive') which adapts the acceleration depending on the mouse movement. If a mouse doesn't support the configured profile, 'default' will be used.</description>
+ </key>
+ <key name="drag-threshold" type="i">
+ <default>8</default>
+ <summary>Drag Threshold</summary>
+ <description>Distance before a drag is started.</description>
+ </key>
+ <key name="double-click" type="i">
+ <default>400</default>
+ <summary>Double Click Time</summary>
+ <description>Length of a double click.</description>
+ </key>
+ <key name="middle-button-enabled" type="b">
+ <default>true</default>
+ <summary>Middle button emulation</summary>
+ <description>Enables middle mouse button emulation through simultaneous left and right button click.</description>
+ </key>
+ <key name="locate-pointer" type="b">
+ <default>false</default>
+ <summary>Locate Pointer</summary>
+ <description>Highlights the current location of the pointer when the Control key is pressed and released.</description>
+ </key>
+ <key name="cursor-theme" type="s">
+ <default>''</default>
+ <summary>Cursor theme</summary>
+ <description>Cursor theme name.</description>
+ </key>
+ <key name="cursor-size" type="i">
+ <default>24</default>
+ <summary>Cursor size</summary>
+ <description>Size of the cursor referenced by cursor_theme.</description>
+ </key>
+ </schema>
+</schemalist>