summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--headers/gdesktop-enums.h7
-rw-r--r--schemas/org.gnome.desktop.peripherals.gschema.xml.in19
2 files changed, 26 insertions, 0 deletions
diff --git a/headers/gdesktop-enums.h b/headers/gdesktop-enums.h
index e67e0f7..4a9c5fa 100644
--- a/headers/gdesktop-enums.h
+++ b/headers/gdesktop-enums.h
@@ -258,4 +258,11 @@ typedef enum
G_DESKTOP_COLOR_SCHEME_PREFER_LIGHT,
} GDesktopColorScheme;
+typedef enum
+{
+ G_DESKTOP_POINTING_STICK_SCROLL_METHOD_DEFAULT,
+ G_DESKTOP_POINTING_STICK_SCROLL_METHOD_NONE,
+ G_DESKTOP_POINTING_STICK_SCROLL_METHOD_ON_BUTTON_DOWN
+} GDesktopPointingStickScrollMethod;
+
#endif /* __gdesktop_enums_h__ */
diff --git a/schemas/org.gnome.desktop.peripherals.gschema.xml.in b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
index aa40ca8..93268ab 100644
--- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in
+++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
@@ -5,6 +5,7 @@
<child name="keyboard" schema="org.gnome.desktop.peripherals.keyboard"/>
<child name="mouse" schema="org.gnome.desktop.peripherals.mouse"/>
<child name="trackball" schema="org.gnome.desktop.peripherals.trackball"/>
+ <child name="pointingstick" schema="org.gnome.desktop.peripherals.pointingstick"/>
<child name="tablet" schema="org.gnome.desktop.peripherals.tablet"/>
<child name="touchscreen" schema="org.gnome.desktop.peripherals.touchscreen"/>
</schema>
@@ -241,4 +242,22 @@
<description>Set this to TRUE to enable middle click during simultaneous left and right click.</description>
</key>
</schema>
+ <schema id="org.gnome.desktop.peripherals.pointingstick" path="/org/gnome/desktop/peripherals/pointingstick/">
+ <key name="speed" type="d">
+ <default>0</default>
+ <summary>Pointer speed</summary>
+ <description>Pointer speed for pointing sticks. Accepted values are in the [-1..1] range (from “unaccelerated” to “fast”). A value of 0 is the system default.</description>
+ <range min="-1" max="1"/>
+ </key>
+ <key name="accel-profile" enum="org.gnome.desktop.GDesktopPointerAccelProfile">
+ <default>'default'</default>
+ <summary>Acceleration profile</summary>
+ <description>Acceleration profile used for the pointing stick. The acceleration profile can be set to either default (“default”) which uses the default acceleration profile, flat (“flat”), which accelerates by a device specific constant factor derived from the configured speed, or adaptive (“adaptive”) which adapts the acceleration depending on the movement. If the pointing stick doesn’t support the configured profile, “default” will be used.</description>
+ </key>
+ <key name="scroll-method" enum="org.gnome.desktop.GDesktopPointingStickScrollMethod">
+ <default>'default'</default>
+ <summary>Scrolling method</summary>
+ <description>Scrolling method used for pointing sticks. The scrolling method can be set to either default (“default”) which uses the default method, none (“none”), which disables scrolling, or middle-button (“on-button-down”) which enables scrolling whilst the middle button is held down.</description>
+ </key>
+ </schema>
</schemalist>