Commit graph

54 commits

Author SHA1 Message Date
Felipe Borges
ad1c44fbad mouse: align the speed sliders in the same size group
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-27 16:27:43 +01:00
Felipe Borges
c1318c634f mouse: decouple Natural Scrolling for mice and touchpads
Now each kind of device has its own entry.

https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-27 16:27:42 +01:00
Felipe Borges
1896fafef6 mouse: port panel to the new design
https://wiki.gnome.org/Design/SystemSettings/Mouse

https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-23 14:16:09 +02:00
Felipe Borges
5cd231fd59 mouse: decouple the scroll-methods detection code from the UI file
https://bugzilla.gnome.org/show_bug.cgi?id=756863
2015-10-22 13:57:08 +02:00
Ondrej Holy
f290d71e9a mouse: Adapt to changes in gsd-input-helper
Redundant code can be removed from mouse panel thanks to changes
in gsd-input-helper.

https://bugzilla.gnome.org/show_bug.cgi?id=749818
2015-07-02 15:51:04 +02:00
Ondrej Holy
b1f3f3e458 mouse: Fix tap-to-click toggle sensitivity with libinput
Set tap_to_click_toggle sensitive if there is any device which supports
tapping.

https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:33:44 +02:00
Ondrej Holy
155d440623 mouse: Fix sensitivity of two-finger toggle with libinput
Check "libinput Scroll Methods Available" and set two_finger_scroll_toggle
sensitivity appropriately. Many libinput devices don't have edge scroll,
see http://who-t.blogspot.cz/2015/03/why-libinput-doesnt-support-edge.html
Allow changing scroll methods only if both two-finger and edge scroll is
supported.

https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:18:54 +02:00
Ondrej Holy
2f84534388 mouse: Fix checking capabilities for multiple devices
Two finger scroll toggle should be sensitive if at least one of the
devices support it. g-s-d is responsible to set edge-scroll for the
devices which don't support double touch.

https://bugzilla.gnome.org/show_bug.cgi?id=745601
2015-04-15 15:18:54 +02:00
Rui Matos
0ae0f4abe4 mouse: Use GsdDeviceManager to check for device type presence
This allows us to work on non-X11 backends.

https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Rui Matos
d341f77756 mouse: Check synaptics capabilities only on X11
On other backends we don't have a way to check for synaptics
capabilities so we just show all the touchpad knobs there.

https://bugzilla.gnome.org/show_bug.cgi?id=743266
2015-01-21 14:26:00 +01:00
Rui Matos
f5eb204741 mouse: Switch to new peripherals settings schema
Most peripherals settings have been moved to
gsettings-desktop-schemas.

There are some semantic differences:

* pointer and touchpad speed is now a single value in the [-1..1]
  range (from "unaccelerated" to "fast"). A value of 0 is the default;

* touchpad enabled is now an enum which can be enabled, disabled or
  disabled-on-external-mouse. This patch keeps the same UI so the last
  value is the same as disabled in the UI and can't be set for now;

* disable while typing is now always enabled so the checkbox has been
  removed;

* horizontal scrolling is always enabled when two finger scroll is
  disabled. It wasn't in the UI but we no longer need to set it since
  it doesn't exist anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=743194
2015-01-20 15:02:06 +01:00
Ondrej Holy
2640a9dfd7 mouse: avoid using deprecated GtkAlignment and GtkMisc
https://bugzilla.gnome.org/show_bug.cgi?id=736013
2014-10-31 08:53:25 +01:00
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Rui Matos
98ec15a5d5 mouse: Remove unused toplevel windows from .ui files
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Ondrej Holy
da911dce3c mouse: remove unnecessary acceleration value setting
The acceleration value is set twice, because binding already exists.

https://bugzilla.gnome.org/show_bug.cgi?id=708241
2013-09-27 16:09:11 +02:00
Ondrej Holy
1fc4a0c6b6 mouse: do not reset mouse speed when unset
https://bugzilla.gnome.org/show_bug.cgi?id=708241
2013-09-27 16:08:41 +02:00
Srinivasa Ragavan
e0fb22e384 Fix the build break due to the last cherrypicking. 2013-07-10 19:06:34 +05:30
Srinivasa Ragavan
d855a80bf6 mouse: show enable trackpad slider button even if mouse is not present.
On touchscreen machine, if the trackpad was previously disabled using mouse
which isn't present now, there is no way to enable it. It now shows the slider
when trackpad is disable or if mouse/touchscreen is present.

Fixes bug #703946
2013-07-10 18:51:44 +05:30
Ondrej Holy
af812426de mouse: Mouse preferences as a proper widget
https://bugzilla.gnome.org/show_bug.cgi?id=695902
2013-05-24 15:12:22 +02:00
Ondrej Holy
59467033f1 mouse: Restore mouse and touchpad pointer speed
https://bugzilla.gnome.org/show_bug.cgi?id=699015
2013-05-02 16:28:51 +02:00
Ondrej Holy
81e210d0dc mouse: Enable horizontal scrolling when changing scroll method
https://bugzilla.gnome.org/show_bug.cgi?id=687509
2013-04-04 14:55:55 +02:00
Ondrej Holy
5b2818c482 mouse: Don't show touchpad disable button when there isn't mouse
https://bugzilla.gnome.org/show_bug.cgi?id=685583
2012-10-11 17:17:31 +02:00
Ondrej Holy
3e5cdb6fce mouse: Switch left/right radios according text direction.
https://bugzilla.gnome.org/show_bug.cgi?id=669961
2012-08-28 12:05:51 +01:00
Ondrej Holy
278c89fdce mouse: Show mouse section only if mouse is present
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
7929e550f1 mouse: Add natural scroll toggle
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:21:00 +01:00
Ondrej Holy
9f76e89661 mouse: Sensitivity and acceleration sliders merge
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:20:59 +01:00
Ondrej Holy
a6262b0ad4 mouse: Reorganize widgets according to mockup
https://bugzilla.gnome.org/show_bug.cgi?id=677206
2012-08-20 19:20:59 +01:00
Bastien Nocera
6baadbf827 mouse: Remove dead code 2012-08-18 18:11:31 +01:00
Peter Hutterer
3964582635 mouse: Don't enable two-finger scrolling based on width
Reverts part of 109b369199

Good idea in principle, albeit the hardware gets in our way. In
synaptics 1.4 two-finger emulation was enabled by default on devices
that reported finger width but had to since revert this. The hardware
doesn't really separate width and pressure, so a hard tap off a finger
gives a high width, a wide finger gives a high pressure on light
touches. We got spurious right-click presses when two-finger
emulation was enabled.

Now we have the control-center providing a checkbox for two-finger
emulation but it doesn't enable emulation, which to the users appears as if
two-finger scrolling is broken
(https://bugzilla.redhat.com/show_bug.cgi?id=738123).

We now disable the checkbox again for hardware that doesn't do two-fingers.
it's not reliable and we're likely to see further bugs when the spurious right
clicks take effect

https://bugzilla.gnome.org/show_bug.cgi?id=661963
2012-03-13 19:12:47 +01:00
Bastien Nocera
c34734dd87 mouse: Don't reset scrolling method on start
Or tap-to-click for that matter, if the device present does
not support it.

https://bugzilla.gnome.org/show_bug.cgi?id=642474
2011-03-20 16:59:21 +00:00
Bastien Nocera
6946159d84 mouse: Check caps of the touchpad when added 2011-03-18 15:46:56 +00:00
Bastien Nocera
2fd11caaaf mouse: Don't forget to set the variables we use
Otherwise we can't disconnect very much...
2011-03-18 15:29:15 +00:00
Bastien Nocera
5b259bfe56 mouse: Make touchpad tab appear when connected
On-the-fly!
2011-03-16 13:48:08 +00:00
Bastien Nocera
30fdeafef5 mouse: Remove unused "start_page" code 2011-03-16 13:41:00 +00:00
Bastien Nocera
4c2fcca2f6 mouse: Implement dispose for the widget 2011-03-16 13:41:00 +00:00
Bastien Nocera
cf8465c250 mouse: Don't destroy the touchpad tab
We might actually need it when a touchpad appears.
2011-03-16 13:41:00 +00:00
Matthias Clasen
4109335861 Mouse: set up scroll method radios initially
The panel was always coming up with scrolling disabled.
https://bugzilla.gnome.org/show_bug.cgi?id=644223
2011-03-13 00:40:24 -05:00
William Jon McCann
2fb2afdc04 mouse: remove a11y tab 2011-01-18 17:06:34 -05:00
Bastien Nocera
01fbd4fee0 mouse: Use g-s-d helper to detect touchpad 2010-12-09 12:07:48 +00:00
Bastien Nocera
ab72b37318 mouse: Remove dead a11y code
That code is broken, and wasn't used anyway, as all of this
should be available in the UA panel.
2010-11-16 11:06:02 +00:00
William Jon McCann
2f4e88b4a3 mouse: use a smiley face instead of old ugly lightbulb to test click 2010-11-14 12:38:35 -05:00
Chris Bagwell
109b369199 mouse: Enable 2-finger scrolling through emulation
Also enable 2-finger scrolling if the device supports reporting
finger-width, not only when it supports actual 2-finger scrolling.

https://bugzilla.gnome.org/show_bug.cgi?id=625163
2010-11-01 11:31:16 +00:00
Rodrigo Moya
7805e273c0 mouse: Remove left over comment 2010-10-21 18:16:23 +02:00
Rodrigo Moya
59248ed8ba mouse: Add motion acceleration and threshold UI for touchpad settings 2010-10-20 16:07:56 +02:00
Rodrigo Moya
d17eb7d050 mouse: Bind motion acceleration and threshold for both mouse and touchpad settings 2010-10-20 15:54:11 +02:00
Rodrigo Moya
54b38f03ca mouse: Port mouse and touchpad settings to GSettings 2010-10-20 13:06:20 +02:00
Javier Jardón
a533ac968c Use GSourceFunc() instead GtkFunction() in g_timeout_add() 2010-10-14 04:37:57 +02:00
Bastien Nocera
eb742ed14d mouse: Require libXInput
As it's pretty much required for a modern desktop system.
2010-10-12 19:43:32 +01:00
Cosimo Cecchi
78b5f0ee2d mouse: use new GDK error trap API 2010-10-06 13:01:37 +02:00
Bastien Nocera
e0e25a0264 mouse: Remove unneeded XCursor include 2010-09-29 17:16:50 +01:00