summaryrefslogtreecommitdiff
path: root/plugins/mouse
AgeCommit message (Collapse)AuthorFilesLines
2019-08-11mouse: Add acceleration profilesVictor Kareh1-0/+171
Currently libinput supports Adaptive and Flat acceleration profiles. We can use these to change mouse behavior. Synaptic touchpads are not supported through libinput, so they will not be affected by this change. The Default acceleration profile reads the value from the libinput defaults and sets them as the current profile. Usually ends up being Adaptive.
2019-07-27plugins mouse: fix deprecated g_type_class_add_privateWu Xiaotian3-64/+51
2019-07-01Remove trailing whitespacesLaurent Napias1-1/+1
2019-06-06locate-pointer: Do not grab pointer button when trying to locateVictor Kareh1-15/+1
2018-08-22mouse-manager: replace deprecated gdk_error_trap_push/popraveit651-102/+152
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-18/+0
2018-01-09plugins: G_GNUC_UNUSED in unused but needed variablesPablo Barciela1-2/+2
Fixes build warnings
2017-03-18mouse: Also grab button presses so as to replay them on pointer locaterRui Matos1-0/+30
Applications might want to establish keyboard grabs on button presses so we should also ungrab the keyboard when a button press occurs after the locate pointer key is pressed. https://bugzilla.gnome.org/show_bug.cgi?id=125618
2017-03-18mouse: More pointer locater refactoringAlexei Sorokin1-55/+55
2017-03-14Make pointer locater always pass throughAlexei Sorokin1-1/+1
2017-03-13mouse: Fix and clean up pointer locaterAlexei Sorokin2-158/+237
2017-01-03mouse: fix applying "disable while typing" setting to all devicesmonsta1-1/+1
my stupid mistake - it was applied to the first device in the list only
2017-01-02mouse: libinput - hook up disable while typingmonsta1-2/+34
adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/4ab4ebab920ee8effb3f83df9318fbd7ad6a371c
2017-01-02mouse: libinput - hook up acceleration settingmonsta1-2/+88
note: threshold setting is ignored as libinput doesn't have it adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/1e7d504a5d0003b1c71e8bcacc3476002107d414
2017-01-02mouse: call only Synaptics function from set_left_handed_legacy_drivermonsta1-2/+2
2017-01-02mouse: libinput - hook up left-handed settingmonsta1-4/+46
note: libinput function doesn't have button remapping code, it's handled in libinput already adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/c35f95210f025132e2e551024a01f6102371a0a0
2017-01-02mouse: added helper to check if property exists on devicemonsta1-0/+34
same as done here: https://github.com/linuxmint/cinnamon-settings-daemon/commit/c35f95210f025132e2e551024a01f6102371a0a0
2017-01-02mouse: libinput - hook up click methodsmonsta1-3/+62
note: libinput does not allow for configuration of the click actions, the options are just "software buttons" or "clickfinger". If any clickfinger actions are set, we enable clickfinger, otherwise software buttons. adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/6394ea6c2754c434897cebfc6c331b4ee07ce1b8
2017-01-02mouse: libinput - hook up scrolling settingsmonsta1-2/+79
note: libinput does not allow for both edge and twofinger scrolling to be enabled simultaneously. We prefer twofinger scrolling. The same goes for horizontal scrolling, it picks the setting for whatever scroll method we applied. adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/82442095a33b1f063f00512d438711ef092e0121
2017-01-02mouse: libinput - hook up tapping configurationmonsta1-6/+29
note: libinput function doesn't use additional arguments since no button remapping is needed for it adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/85510232d53e8ed98697e9a7e3cc33274a531e19
2017-01-02mouse: libinput - hook up middle button emulationmonsta1-2/+42
adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/31942ecdaae153dc500d8699785fbb6bf58ec44b
2017-01-02mouse: libinput - hook up natural scroll configurationmonsta1-2/+21
adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/2f87c56c4b57923c8992908ea9394ab170c507dd
2016-12-22mouse: move bool property helpers closer to the topmonsta1-58/+58
2016-12-22mouse: split helper for setting bool property into two separate onesmonsta1-15/+29
one is for touchpads, another is for generic bool properties same as done in: https://github.com/linuxmint/cinnamon-settings-daemon/commit/cdcea69868ea082cfa620b87cc6cfad4279dadc1
2016-12-22mouse: reorganize helpers for setting touchpad scrollingmonsta1-15/+14
2016-12-22mouse: remove unused argument from some functionsmonsta1-19/+13
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta2-136/+1
and require libmatekbd and libmate-desktop >= 1.17
2016-11-01mouse: implement separate mouse/touchpad motion settings using XInputmonsta1-15/+79
adapted from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=e4bd073dc6b6c37db3408a7a9baa0dd98d81bd16 https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=f06775d9b415dd6bd7ae2efcc7e4164e0b355c4a https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=04679f89ef410d6b5d05ad36228e9b2d171e79b8
2016-11-01mouse: add separate keys for touchpad motion settings (not used yet)monsta1-6/+6
schema: org.mate.peripherals-touchpad keys: motion-acceleration, motion-threshold (same as in peripherals-mouse schema) types and default values: also same as for mouse adapted from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=122aee4e56d6ed94c41dfbcac0bece1921629de7
2016-11-01mouse: use same #define for 'left-handed' key of mouse and touchpadmonsta1-9/+11
2016-10-31mouse: make separate callback for processing touchpad settingsmonsta1-23/+32
2016-10-31mouse: use more common g_strcmp0 function instead of g_str_equalmonsta1-3/+3
as described in docs: https://developer.gnome.org/glib/stable/glib-Hash-Tables.html#g-str-equal > Note that this function is primarily meant as a hash table comparison function. > For a general-purpose, NULL-safe string comparison function, see g_strcmp0().
2016-10-31mouse: add key for separate touchpad handedness (left/right-handed)monsta1-7/+44
schema: org.mate.peripherals-touchpad key: left-handed (same name as in peripherals-mouse schema) values: 'right', 'left', 'mouse' default value: 'mouse' - follow the corresponding mouse setting (to keep the default behaviour same as before) adapted from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=59ec6da345fa6d20c13d44f9cfe4f607cb1eeea3 https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=ccaf750510e8797f22045490eb37d39693023ec6
2016-10-29mouse: add helper function for fetching Atom propertymonsta1-10/+13
and don't create property if it's not present (set last argument to True) adapted from: https://github.com/linuxmint/cinnamon-settings-daemon/commit/35d4b97c1a1bed4aa8c679acdd86995d45d1babe
2016-10-28mouse: a bit more of refactoring, less push/pop callsmonsta1-22/+11
2016-10-28mouse: move setting left-handed for one device to new functionmonsta1-52/+70
2016-10-28mouse: move setting tap to click for one device to new functionmonsta1-45/+62
2016-10-28mouse: move enabling/disabling one touchpad to new functionmonsta1-23/+34
2016-10-28mouse: move setting bool property for one device to new functionmonsta1-36/+47
2016-10-28mouse: move setting click actions for one device to new functionmonsta1-33/+49
2016-10-28mouse: move setting natural scroll for one device to new functionmonsta1-38/+53
2016-10-27mouse: don't copy struct when it's not needed, pass pointer insteadmonsta1-6/+6
2016-10-27mouse: move setting middle button for one device to new functionmonsta1-37/+46
2016-10-27mouse: comment all the mousetweaks stuff with #if 0 and FIXMEmonsta1-20/+18
2016-10-27mouse: more indent fixesmonsta1-7/+8
2016-10-26mouse: don't create duplicate GSettings instancemonsta1-3/+1
2016-10-26mouse: remove some duplicated code - it's already in set_mouse_settingsmonsta1-8/+0
2016-10-26mouse: don't apply any settings if XInput isn't presentmonsta1-49/+6
and drop some fallback code as well adapted from: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=4d6ecb300358fcef4310a7f696a032d8a0afb80e https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=3a244a490df4453c41469d8eeb789d96412f80b1
2016-10-26mouse: remove duplicate functionmonsta1-12/+0
2016-10-26build: require XInput unconditionallymonsta1-27/+4
as done in g-s-d six years ago: https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=5b2a28376a3aa81d865679e8c91d2f6beb8af799