Re: [PATCH libinput 2/4] evdev: Keep track of button/key press count per device

2014-08-03 Thread Peter Hutterer
On Sun, Jul 27, 2014 at 11:28:29PM +0200, Jonas Ådahl wrote: Keep track of the number of times a given button or key is pressed on a device. For regular mouse devices or keyboard devices, such a count will never exceed 1, but counting button presses could help when button presses with the same

[PATCH libinput 2/4] evdev: Keep track of button/key press count per device

2014-07-27 Thread Jonas Ådahl
Keep track of the number of times a given button or key is pressed on a device. For regular mouse devices or keyboard devices, such a count will never exceed 1, but counting button presses could help when button presses with the same code can originate from different sources. One could for example