diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-21 11:46:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-08-15 09:05:57 +1000 |
commit | 59fac8e90269af863231752dc5897f11146f6e05 (patch) | |
tree | 09bfe5e560cd615e3d53b6b64febbac4a4696440 /tools/shared.h | |
parent | a1863b6db801fb50d11e7c1ddff93c9a09ab661f (diff) | |
download | libinput-59fac8e90269af863231752dc5897f11146f6e05.tar.gz |
Add configurable button map to tappings
The previously hardcoded button map for tapping is 1/2/3 to LRM. But the
middle button is a common feature on the desktop (used for paste, most
prominently) and three-finger tapping is almost impossible to do reliably on
some touchpads (e.g. the T440 has a recognition rate of ~1 in 5).
Left and right buttons have a prominent physical position (either softbuttons
or physical buttons) so make the tap order configurable. Those that require
middle buttons reliably can use the [software] buttons for left/right and
2-finger tap for a middle button.
https://bugs.freedesktop.org/show_bug.cgi?id=96962
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/shared.h')
-rw-r--r-- | tools/shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.h b/tools/shared.h index 14ed9ccb..c0bb1036 100644 --- a/tools/shared.h +++ b/tools/shared.h @@ -46,6 +46,7 @@ struct tools_options { int middlebutton; enum libinput_config_click_method click_method; enum libinput_config_scroll_method scroll_method; + enum libinput_config_tap_button_map tap_map; int scroll_button; double speed; int dwt; |