summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Frühberger <peter.fruehberger@gmail.com>2016-04-13 08:55:28 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2016-04-15 10:33:48 +1000
commitf00b5d609c783a1ac90a46e026838f37a15d5e3e (patch)
treea2c8d026d94c7ddadd847dd63775f5d9f21ea5f4 /src
parent1662384b43fcff60270e20ade230dbccc70e78b8 (diff)
touchpad: enlarge top button area by a factor 3 instead of 1.5
When the touchpad is disabled, the top software button on the Lenovo T440 series touchpads currently enlarge by a factor of 1.5 (to 15mm). This is not enough, a user has to rotate the wrist quite uncomfortable when using the left mouse button. When the touchpad itself is off anyway we can extend the size of the top software buttons to the factor 3, i.e. 30mm. Signed-off-by: Peter Frühberger <peter.fruehberger@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/evdev-mt-touchpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 0640974f..6c8ab370 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -1156,7 +1156,7 @@ tp_suspend(struct tp_dispatch *tp, struct evdev_device *device)
if (tp->buttons.has_topbuttons) {
evdev_notify_suspended_device(device);
/* Enlarge topbutton area while suspended */
- tp_init_top_softbuttons(tp, device, 1.5);
+ tp_init_top_softbuttons(tp, device, 3.0);
} else {
evdev_device_suspend(device);
}