Re: [PATCH libinput] debounce: handle a timeout in MAYBE_SPURIOUS state

2017-11-28 Thread Peter Hutterer
On Tue, Nov 28, 2017 at 09:13:29PM +0100, Vicente Bergas wrote: > On Tuesday, November 21, 2017 8:10:19 AM CET, Peter Hutterer wrote: > > Sequences to trigger: > > - spurious debouncing is enabled > > - release a button in IS_DOWN state -> RELEASE_DELAYED > > - short timeout triggers RELEASE_WAITIN

Re: [PATCH libinput] debounce: handle a timeout in MAYBE_SPURIOUS state

2017-11-28 Thread Vicente Bergas
On Tuesday, November 21, 2017 8:10:19 AM CET, Peter Hutterer wrote: Sequences to trigger: - spurious debouncing is enabled - release a button in IS_DOWN state -> RELEASE_DELAYED - short timeout triggers RELEASE_WAITING If a button press now comes before the long timeout expires, we transition t

[PATCH libinput] debounce: handle a timeout in MAYBE_SPURIOUS state

2017-11-20 Thread Peter Hutterer
Sequences to trigger: - spurious debouncing is enabled - release a button in IS_DOWN state -> RELEASE_DELAYED - short timeout triggers RELEASE_WAITING If a button press now comes before the long timeout expires, we transition to MAYBE_SPURIOUS where the long timeout may expire. In that case we sho