diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-30 15:49:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-04 09:41:33 +1000 |
commit | 0526044f6d4ebb614699d87f23de3d3256a568ff (patch) | |
tree | be0cc527eef0185697bf7e7a35151774a85e249e /src/libinput.h | |
parent | 9e477d21bce17561c37688b25f1dc990df131265 (diff) |
touchpad: remove software middle button when emulation is enabled
Expose the middle button emulation on software buttons as proper config
option. When enabled, remove the middle button software button area.
https://bugs.freedesktop.org/show_bug.cgi?id=96663
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/libinput.h')
-rw-r--r-- | src/libinput.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libinput.h b/src/libinput.h index ed3eb7d7..abc737e5 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -4307,6 +4307,10 @@ libinput_device_config_middle_emulation_is_available( * * The middle button emulation behavior when combined with other device * buttons, including a physical middle button is device-dependent. + * For example, @ref clickpad_softbuttons provides a middle button area when + * middle button emulation is disabled. That middle button area disappears + * when middle button emulation is enabled - a middle click can then only be + * triggered by a simultaneous left + right click. * * @note Some devices provide middle mouse button emulation but do not allow * enabling/disabling that emulation. |