[gsettings-desktop-schemas] Add tap-button-map and tap-drag-lock touchpad settings



commit 732c571549b780d56cdb75eb15861f2de72aa135
Author: Giusy Margarita <kurmikon libero it>
Date:   Thu Jul 9 10:17:26 2020 +0000

    Add tap-button-map and tap-drag-lock touchpad settings
    
    https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/merge_requests/36

 headers/gdesktop-enums.h                             |  7 +++++++
 schemas/org.gnome.desktop.peripherals.gschema.xml.in | 10 ++++++++++
 2 files changed, 17 insertions(+)
---
diff --git a/headers/gdesktop-enums.h b/headers/gdesktop-enums.h
index 540c4c7..2ab6643 100644
--- a/headers/gdesktop-enums.h
+++ b/headers/gdesktop-enums.h
@@ -177,6 +177,13 @@ typedef enum
   G_DESKTOP_TOUCHPAD_CLICK_METHOD_FINGERS
 } GDesktopTouchpadClickMethod;
 
+typedef enum
+{
+  G_DESKTOP_TOUCHPAD_BUTTON_TAP_MAP_DEFAULT,
+  G_DESKTOP_TOUCHPAD_BUTTON_TAP_MAP_LRM,
+  G_DESKTOP_TOUCHPAD_BUTTON_TAP_MAP_LMR
+} GDesktopTouchpadTapButtonMap;
+
 typedef enum
 {
   G_DESKTOP_DEVICE_SEND_EVENTS_ENABLED,
diff --git a/schemas/org.gnome.desktop.peripherals.gschema.xml.in 
b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
index 9f99d8d..7ee3882 100644
--- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in
+++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
@@ -29,11 +29,21 @@
       <summary>Enable mouse clicks with touchpad</summary>
       <description>Set this to TRUE to be able to send mouse clicks by tapping on the touchpad.</description>
     </key>
+    <key name="tap-button-map" enum="org.gnome.desktop.GDesktopTouchpadTapButtonMap">
+      <default>'default'</default>
+      <summary>Tap Button Map</summary>
+      <description>Defines the mapping between the number of fingers and touchpad buttons. The default is to 
have a 1, 2 and 3 finger tap to map to the left, right and middle button ("lrm"), respectively.</description>
+    </key>
     <key name="tap-and-drag" type="b">
       <default>true</default>
       <summary>Enable tap-and-drag with touchpad</summary>
       <description>Set this to TRUE to be able to start a drag by tapping and immediately moving the finger 
that’s now pressed on the touchpad.</description>
     </key>
+    <key name="tap-and-drag-lock" type="b">
+      <default>false</default>
+      <summary>Enable tap-and-drag-lock with touchpad</summary>
+      <description>Set this to TRUE to lock the dragging process within a short timeout when the finger is 
lifted on the touchpad and the tap-and-drag setting is enabled.</description>
+    </key>
     <key name="send-events" enum="org.gnome.desktop.GDesktopDeviceSendEvents">
       <default>'enabled'</default>
       <summary>Touchpad enabled</summary>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]