[gsettings-desktop-schemas] schemas: Add touchpad accel profile key
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsettings-desktop-schemas] schemas: Add touchpad accel profile key
- Date: Mon, 5 Sep 2022 11:05:07 +0000 (UTC)
commit 0cbac90129e5579c56bb595ec27d33e6b954c1a5
Author: Evan Goode <mail evangoo de>
Date: Tue Jun 14 16:34:00 2022 -0400
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
schemas/org.gnome.desktop.peripherals.gschema.xml.in | 5 +++++
1 file changed, 5 insertions(+)
---
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]