Reorganize the handling of tap inputs.
authorbru <bru@openbsd.org>
Thu, 9 Jun 2022 22:17:18 +0000 (22:17 +0000)
committerbru <bru@openbsd.org>
Thu, 9 Jun 2022 22:17:18 +0000 (22:17 +0000)
commit15aff9aa0620bf85ca47276291c56f0c1cacdde4
tree5a0802a5651864ada5a2111ae39c5fc0caa3528a
parent222bf2cfd60c50abbe338c1e839a43609086829f
Reorganize the handling of tap inputs.

This change fixes bugs concerning the transition into the hold/drag state
after double taps or two- or three-finger taps.  In addition, it ensures
that button events properly match the logical button state when tap inputs
and button inputs overlap.
sys/dev/wscons/wstpad.c