diff options
author | Victor Kareh <[email protected]> | 2019-08-02 14:48:07 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-08-11 19:35:04 +0200 |
commit | 96e46794a82bf4b2a3edce4502f09f1c4ec85678 (patch) | |
tree | 531e68bfef709ce07b86d03b4e760905646f6d69 /data/org.mate.peripherals-touchpad.gschema.xml.in | |
parent | 5d01782cd1530e98977cdfeed559a30bda94f727 (diff) | |
download | mate-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-touchpad.gschema.xml.in')
-rw-r--r-- | data/org.mate.peripherals-touchpad.gschema.xml.in | 10 |
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 90b83c8..2755174 100644 --- a/data/org.mate.peripherals-touchpad.gschema.xml.in +++ b/data/org.mate.peripherals-touchpad.gschema.xml.in @@ -4,6 +4,11 @@ <value nick="left" value="1"/> <value nick="mouse" value="2"/> </enum> + <enum id="org.mate.peripherals-touchpad.AccelProfile"> + <value nick="default" value="0"/> + <value nick="adaptive" value="1"/> + <value nick="flat" 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> @@ -85,5 +90,10 @@ <summary>Motion Threshold</summary> <description>Distance in pixels the pointer must move before accelerated touchpad motion is activated. A value of -1 is the system default.</description> </key> + <key name="accel-profile" enum="org.mate.peripherals-touchpad.AccelProfile"> + <default>'default'</default> + <summary>Acceleration profile</summary> + <description>Acceleration profile used for touchpad. 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 touchpad movement. If a touchpad doesn't support the configured profile, 'default' will be used.</description> + </key> </schema> </schemalist> |