summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Goode <mail@evangoo.de>2022-06-14 16:34:00 -0400
committerCarlos Garnacho <carlosg@gnome.org>2022-09-05 11:01:04 +0000
commit0cbac90129e5579c56bb595ec27d33e6b954c1a5 (patch)
treee37e2bd960a9c9ac3a7febbb79d836aeaf807adc
parent1240c9d9aaf9fb1419a6f779882141618aec0ea3 (diff)
downloadgsettings-desktop-schemas-0cbac90129e5579c56bb595ec27d33e6b954c1a5.tar.gz
schemas: Add touchpad accel profile key
Add an entry for configuring the acceleration profile for touchpad devices. This is intended to be mapped to the libinput acceleration profile configuration API. Used by https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2426 and https://gitlab.gnome.org/GNOME/gnome-tweaks/-/merge_requests/94. Originally proposed by @youlold in https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/merge_requests/53
-rw-r--r--schemas/org.gnome.desktop.peripherals.gschema.xml.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/schemas/org.gnome.desktop.peripherals.gschema.xml.in b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
index 2314158..aa40ca8 100644
--- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in
+++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
@@ -54,6 +54,11 @@
<summary>Touchpad button orientation</summary>
<description>Swap left and right mouse buttons for left-handed mice with “left”, “right” for right-handed, “mouse” to follow the mouse setting.</description>
</key>
+ <key name="accel-profile" enum="org.gnome.desktop.GDesktopPointerAccelProfile">
+ <default>'default'</default>
+ <summary>Acceleration profile</summary>
+ <description>Acceleration profile used for connected touchpads. 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 touchpad doesn’t support the configured profile, “default” will be used.</description>
+ </key>
<key name="speed" type="d">
<default>0</default>
<summary>Pointer speed</summary>