Re: [PATCH libinput] Fix premature flushing of evdev event on mx4 touchscreen

2015-09-07 Thread Andreas Pokorny
Hi, On Mon, Sep 7, 2015 at 3:51 AM, Peter Hutterer wrote: > [...] > > + { {0}, EV_KEY, BTN_TOUCH, 0}, > > + { {0}, EV_KEY, BTN_TOOL_FINGER, 0}, > > + { {0}, EV_SYN, SYN_REPORT, 0} > > + }; > > I'm wondering - wouldn't it be worth to add this device as a s

Re: [PATCH libinput] Fix premature flushing of evdev event on mx4 touchscreen

2015-09-06 Thread Peter Hutterer
On Sun, Sep 06, 2015 at 02:59:07PM +0200, Andreas Pokorny wrote: > The mx4 touchscreen driver emits BTN_TOUCH and BTN_TOOL_FINGER key events > on a new contact. Prior to this patch only the BTN_TOUCH event was filtered > out. Now the whole range of BTN_ events for tool types and certain builtin > m

[PATCH libinput] Fix premature flushing of evdev event on mx4 touchscreen

2015-09-06 Thread Andreas Pokorny
The mx4 touchscreen driver emits BTN_TOUCH and BTN_TOOL_FINGER key events on a new contact. Prior to this patch only the BTN_TOUCH event was filtered out. Now the whole range of BTN_ events for tool types and certain builtin multi finger gestures are marked as non-key type. This patch is based on