Re: Implementing right click and middle click drag

2018-07-24 Thread Peter Hutterer
On Fri, Jul 20, 2018 at 11:10:32AM +0530, Sagar Tewari wrote: > On Wed, Jul 18, 2018 at 1:52 PM Peter Hutterer > wrote: > > > > > I'm not sure about the WITH_LOCK and POTENTIAL_UNLOCK parts, they should be > > (in theory) the same as the existing ones where DRAGGING_WAIT goes back to > > DRAGGING

Re: Implementing right click and middle click drag

2018-07-18 Thread Peter Hutterer
On Sat, Jul 14, 2018 at 03:09:40PM +0530, Sagar Tewari wrote: > Hi, > > This is the proposed design of state machine for implementing right click > drag as double tap followed by a single tap. I intend to implement the > middle tap drag in a similar way. The new stuff in inside the dashed > bounda

Re: Implementing right click and middle click drag

2018-07-18 Thread Peter Hutterer
On Sat, Jul 14, 2018 at 05:46:34PM +0530, Sagar Tewari wrote: > Hi, > > I'm adding states to implement the above changes and have a query regarding > the 'tap_event' enum. What do the enum values 'TAP_EVENT_THUMB, > TAP_EVENT_PALM' mean. > Do they mean that a thumb or palm has been placed on the t

Re: Implementing right click and middle click drag

2018-07-14 Thread Sagar Tewari
Hi, I'm adding states to implement the above changes and have a query regarding the 'tap_event' enum. What do the enum values 'TAP_EVENT_THUMB, TAP_EVENT_PALM' mean. Do they mean that a thumb or palm has been placed on the touchpad, or that one of the touch locations is actually a thumb or palm? I

Re: Implementing right click and middle click drag

2018-07-11 Thread Sagar Tewari
Thanks, I'll get myself working on it. On Thu, Jul 12, 2018, 08:19 Peter Hutterer wrote: > On Tue, Jul 10, 2018 at 01:06:17PM +0530, Sagar Tewari wrote: > > I would like to work on implementing right and middle click drag as > > two/three finger tap followed by a single tap drag, the way it work

Re: Implementing right click and middle click drag

2018-07-11 Thread Peter Hutterer
On Tue, Jul 10, 2018 at 01:06:17PM +0530, Sagar Tewari wrote: > I would like to work on implementing right and middle click drag as > two/three finger tap followed by a single tap drag, the way it works in > synaptics driver. I found that this topic has been discussed previously: > https://lists.fr

Implementing right click and middle click drag

2018-07-10 Thread Sagar Tewari
I would like to work on implementing right and middle click drag as two/three finger tap followed by a single tap drag, the way it works in synaptics driver. I found that this topic has been discussed previously: https://lists.freedesktop.org/archives/wayland-devel/2017-September/034926.html But t