[gsettings-desktop-schemas] Add mouse a11y schemas



commit ec8565cc30de0004f3b88d02eea1e22eee9aba69
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Thu Oct 21 16:37:41 2010 +0200

    Add mouse a11y schemas

 schemas/Makefile.am                              |    3 +-
 schemas/gsettings-desktop-schemas.convert        |   14 ++++++-
 schemas/org.gnome.desktop.a11y.mouse.gschema.xml |   40 ++++++++++++++++++++++
 3 files changed, 54 insertions(+), 3 deletions(-)
---
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index 6adf65b..b5df2cf 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -6,7 +6,8 @@ desktop_gschemas =						\
 	org.gnome.desktop.sound.gschema.xml			\
 	org.gnome.desktop.thumbnail-cache.gschema.xml		\
 	org.gnome.desktop.a11y.keyboard.gschema.xml		\
-	org.gnome.desktop.a11y.applications.gschema.xml
+	org.gnome.desktop.a11y.applications.gschema.xml		\
+	org.gnome.desktop.a11y.mouse.gschema.xml
 
 desktop_gschemas_in =						\
 	org.gnome.desktop.background.gschema.xml.in
diff --git a/schemas/gsettings-desktop-schemas.convert b/schemas/gsettings-desktop-schemas.convert
index a7ba75a..2f849f5 100644
--- a/schemas/gsettings-desktop-schemas.convert
+++ b/schemas/gsettings-desktop-schemas.convert
@@ -138,8 +138,18 @@ stickykeys-two-key-off = /desktop/gnome/accessibility/keyboard/stickykeys_two_ke
 stickykeys-modifier-beep = /desktop/gnome/accessibility/keyboard/stickykeys_modifier_beep
 togglekeys-enable = /desktop/gnome/accessibility/keyboard/togglekeys_enable
 
-# From org.gnome.desktop.a11y.applications
-[org.gnome.desktop.a11y.applications.gschema.xml]
+# From org.gnome.desktop.a11y.applications.gschema.xml
+[org.gnome.desktop.a11y.applications]
 screen-keyboard-enabled = /desktop/gnome/applications/at/screen_keyboard_enabled
 screen-magnifier-enabled = /desktop/gnome/applications/at/screen_magnifier_enabled
 screen-reader-enabled = /desktop/gnome/applications/at/screen_reader_enabled
+
+# From org.gnome.desktop.a11y.mouse
+[org.gnome.desktop.a11y.mouse]
+dwell-gesture-single = /desktop/gnome/accessibility/mouse/dwell_gesture_single
+dwell-gesture-double = /desktop/gnome/accessibility/mouse/dwell_gesture_double
+dwell-gesture-drag = /desktop/gnome/accessibility/mouse/dwell_gesture_drag
+dwell-gesture-secondary = /desktop/gnome/accessibility/mouse/dwell_gesture_secondary
+dwell-mode = /desktop/gnome/accessibility/mouse/dwell_mode
+dwell-time = /desktop/gnome/accessibility/mouse/dwell_time
+dwell-threshold = /desktop/gnome/accessibility/mouse/dwell_threshold
diff --git a/schemas/org.gnome.desktop.a11y.mouse.gschema.xml b/schemas/org.gnome.desktop.a11y.mouse.gschema.xml
new file mode 100644
index 0000000..9f922fd
--- /dev/null
+++ b/schemas/org.gnome.desktop.a11y.mouse.gschema.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<schemalist>
+  <schema id="org.gnome.desktop.a11y.mouse" path="/desktop/gnome/a11y/mouse/">
+    <key name="dwell-time" type="d">
+      <default>1.20</default>
+      <summary>Dwell click time</summary>
+      <description>Time in seconds before a click is triggered.</description>
+    </key>
+    <key name="dwell-threshold" type="i">
+      <default>10</default>
+      <summary>Movement threshold</summary>
+      <description>Distance in pixels before movement will be recognized.</description>
+    </key>
+    <key name="dwell-gesture-single" enum="org.gnome.desktop.GDesktopMouseDwellDirection">
+      <default>'left'</default>
+      <summary>Gesture single click</summary>
+      <description>Direction to perform a single click ('left', 'right', 'up', 'down).</description>
+    </key>
+    <key name="dwell-gesture-double" enum="org.gnome.desktop.GDesktopMouseDwellDirection">
+      <default>'up'</default>
+      <summary>Gesture double click</summary>
+      <description>Direction to perform a double click ('left', 'right', 'up', 'down).</description>
+    </key>
+    <key name="dwell-gesture-drag" enum="org.gnome.desktop.GDesktopMouseDwellDirection">
+      <default>'down'</default>
+      <summary>Gesture drag click</summary>
+      <description>Direction to perform dragging ('left', 'right', 'up', 'down).</description>
+    </key>
+    <key name="dwell-gesture-secondary" enum="org.gnome.desktop.GDesktopMouseDwellDirection">
+      <default>'right'</default>
+      <summary>Gesture secondary click</summary>
+      <description>Direction to perform a secondary click ('left', 'right', 'up', 'down).</description>
+    </key>
+    <key name="dwell-mode" enum="org.gnome.desktop.GDesktopMouseDwellMode">
+      <default>'window'</default>
+      <summary>Dwell click mode</summary>
+      <description>The active dwell click mode. Possible values are 'window' and 'gesture'.</description>
+    </key>
+  </schema>
+</schemalist>



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