Re: [PATCH libinput] Fix debouncing algorithm

2017-10-31 Thread Peter Hutterer
Hi Vicente sorry about the delay, too many things on right now. On Wed, Oct 25, 2017 at 09:12:53PM +0200, Vicente Bergas wrote: > The algorithm assumed that bouncing can only occur once when pressing a > button. > This approach did not work with my mouse because that is not 100% > correct. Bounci

[PATCH libinput] Fix debouncing algorithm

2017-10-25 Thread Vicente Bergas
The algorithm assumed that bouncing can only occur once when pressing a button. This approach did not work with my mouse because that is not 100% correct. Bouncing can occur when a button toggles, both press and release and can bounce multiple times. Mine bounces mostly on the release event. Also,