mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 02:58:08 +02:00
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>
This commit is contained in:
parent
1662384b43
commit
f00b5d609c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue