Skip to content
  • Peter Hutterer's avatar
    touchpad: add a middle button software area · 886b5a2c
    Peter Hutterer authored
    Middle button interaction is most commonly to paste and it is a single-event
    interaction (button press). We provided middle button in software button mode
    by emulating it with a two-finger press with L+R down at the same time. This
    is also what many touchpads are spectacularly bad at, it is very common to
    detect the physical button down event before the second finger registers,
    resulting in left or right clicks where a middle button should be triggered.
    
    Unless the fingers are resting on the touchpad for at least one scanout, the
    success rate for middle button emulation is only at 70% or so.
    
    This patch adds a 25%-width middle button area between the left and the right
    software button, everything else stays the same. To avoid immediate breakage,
    the middle button emulation remains but may be removed in the future.
    The doc is updated to only refer to the middle button area now.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=94755
    
    
    
    Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
    886b5a2c