diff --git a/headers/gdesktop-enums.h b/headers/gdesktop-enums.h index da16f27..539a734 100644 --- a/headers/gdesktop-enums.h +++ b/headers/gdesktop-enums.h @@ -207,5 +207,11 @@ typedef enum G_DESKTOP_STYLUS_BUTTON_ACTION_FORWARD } GDesktopStylusButtonAction; +typedef enum +{ + G_DESKTOP_POINTER_ACCEL_PROFILE_DEFAULT, + G_DESKTOP_POINTER_ACCEL_PROFILE_FLAT, + G_DESKTOP_POINTER_ACCEL_PROFILE_ADAPTIVE +} GDesktopPointerAccelProfile; #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 6a963d1..31bea67 100644 --- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in +++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in @@ -84,6 +84,11 @@ Natural scrolling Set this to TRUE to enable natural (reverse) scrolling for mice. + + 'default' + Acceleration profile + Acceleration profile used for connected mice. 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 mouse doesn't support the configured profile, 'default' will be used. + @@ -159,5 +164,10 @@ Mouse wheel emulation button. 0 to disable the feature. + + 'default' + Acceleration profile + Acceleration profile used for the trackball. 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 trackball doesn't support the configured profile, 'default' will be used. +