summaryrefslogtreecommitdiff
path: root/headers/gdesktop-enums.h
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-04-18 22:37:12 +0800
committerJonas Ådahl <jadahl@gmail.com>2016-07-28 15:19:10 +0800
commit9a7e6d334fb7ec45a82aae07a5eb059c5294fe52 (patch)
tree8006baffcf06e310d2b2ccded66f6d5e1034f098 /headers/gdesktop-enums.h
parentd9dfe56726e49d3a31354466c3fffa2aaedf5a5e (diff)
downloadgsettings-desktop-schemas-9a7e6d334fb7ec45a82aae07a5eb059c5294fe52.tar.gz
schemas: Add mouse and trackball accel profile keys
Add an entry for configuring the acceleration profile for mouse and trackball devices. This is intended to be mapped to the libinput acceleration profile configuration API. https://bugzilla.gnome.org/show_bug.cgi?id=765218
Diffstat (limited to 'headers/gdesktop-enums.h')
-rw-r--r--headers/gdesktop-enums.h6
1 files changed, 6 insertions, 0 deletions
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__ */