mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-30 02:30:07 +01:00
touchpad: 4-finger clickfingers are middle button clicks
If a thumb is resting with a three-finger click, that must be a middle-click. And the odd case where we have a real four-finger click doesn't need worrying about. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
058d05e589
commit
6bb4b26f30
1 changed files with 1 additions and 2 deletions
|
|
@ -902,9 +902,8 @@ out:
|
|||
case 0:
|
||||
case 1: button = BTN_LEFT; break;
|
||||
case 2: button = BTN_RIGHT; break;
|
||||
case 3: button = BTN_MIDDLE; break;
|
||||
default:
|
||||
button = 0;
|
||||
button = BTN_MIDDLE; break;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue