Re: [PATCH evdev] Add third button emulation.

2011-02-01 Thread Benjamin Tissoires
Hi Peter, I detected 2 problems (I backported it on 2.6.0, so I hope it's not related to my backport): - In case of an absolute device, the patch does not seems to work: Evdev3BEmuFilterEvent is called during the EV_KEY event and Evdev3BEmuProcessAbsMotion during the EV_SYNC event. This means

Re: [PATCH evdev] Add third button emulation.

2011-02-01 Thread Benjamin Tissoires
On 01/31/2011 10:52 PM, Peter Hutterer wrote: On Mon, Jan 31, 2011 at 11:48:08AM +0100, Benjamin Tissoires wrote: Thanks, that seems to be a good feature for touchscreen devices! I've got one problem: on which tree does this patch applies? (I've tried against the branch master of xf86-input-evde

Re: [PATCH evdev] Add third button emulation.

2011-01-31 Thread Peter Hutterer
On Mon, Jan 31, 2011 at 11:48:08AM +0100, Benjamin Tissoires wrote: > Thanks, that seems to be a good feature for touchscreen devices! > I've got one problem: on which tree does this patch applies? (I've > tried against the branch master of xf86-input-evdev): > > error: patch failed: src/evdev.c:4

Re: [PATCH evdev] Add third button emulation.

2011-01-31 Thread Benjamin Tissoires
Hi Peter, Thanks, that seems to be a good feature for touchscreen devices! I've got one problem: on which tree does this patch applies? (I've tried against the branch master of xf86-input-evdev): error: patch failed: src/evdev.c:453 error: src/evdev.c: patch does not apply error: patch failed:

[PATCH evdev] Add third button emulation.

2011-01-30 Thread Peter Hutterer
New properties: "Evdev Third Button Emulation" → switch on/off "Evdev Third Button Emulation Timeout" → timeout until event is delivered "Evdev Third Button Emulation Button" → phys button to be emulated "Evdev Third Button Emulation Threshold" → move threshold before emulation is cancelled Signed