touchpad: increase top software button area to 15%
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 6 Aug 2014 02:22:38 +0000 (12:22 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 18 Aug 2014 07:11:28 +0000 (17:11 +1000)
commit6595036d620148a806675a834e601f0121ece400
treeba9325a55e54be6cbfa168b2b615a05099039d4d
parentd1cc84265b7132e7b4e836656e42051a712d6b14
touchpad: increase top software button area to 15%

We had reports that the top software button area is hard to hit for those
using the trackpoint and clicking the buttons with their thumb.

Analysis of event recordings (3 different people) for left, right and middle
clicks shows that there is a significant amount of events up to about 10mm
(with outliers up to 12mm) from the top of the touchpad. That maps to 15%.

Interestingly, the middle button is not affected by this, presumably the
haptic feedback of the little dots sticking out from the surface make hitting
the button easier.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Hans de Goede <hdegoede@redhat.com>
src/evdev-mt-touchpad-buttons.c