<div dir="ltr">Hi,<div><br></div><div>I've been working on disabling tap-and-drag feature in libinput because I'm not used to it. The code is on my Github branch: <a href="https://github.com/tigersoldier/libinput/tree/wip/disable-tap-to-drag">https://github.com/tigersoldier/libinput/tree/wip/disable-tap-to-drag</a></div><div><br></div><div>The basic idea is adding a branch at STATE_TOUCHED + EVENT_RELEASE transition:</div><div><br></div><div><div>   STATE_TOUCHED</div><div>         |</div><div>         |</div><div>   EVENT_RELEASE</div><div>         |</div><div>         |</div><div>         v</div><div>tap-and-drag enabled?  --- yes ---> (unchanged)</div><div>         |</div><div>         no</div><div>         |</div><div>         v</div><div>    button press</div><div>    button release</div><div>         |</div><div>         v</div><div>    STATE_IDLE</div></div><div><br></div><div>Aside from disabling the feature, this reduces the tapping latency as well, because we don't have to wait for the timeout for STATE_IDLE to STATE_DRAGGING_OR_DOUBLE_TAP/STATE_IDLE transition.</div><div><br></div><div>What do you guys think? If this makes sense, I can work on the documentation and tests and send patches to the list.</div><div><br></div><div>Thanks,</div><div>-Caibin Chen</div></div>