2 equal touches at same time

Peter Hutterer peter.hutterer at who-t.net
Mon Dec 12 03:59:13 UTC 2016


On Fri, Dec 09, 2016 at 12:07:24PM +0100, Johann Obermayr wrote:
> Hello,
> 
> we use evdev-drv  version 2.7.3 (yocto) and X-Server 1.14.0
> we have connect 2 equal touches over usb at your cpu (i.mx6 cpu)
> 
> now we see, that evdev_drv mix the events from both touches.
> 
> example:
> touch two sends
>    ABS_X  101
>    ABS_Y  100
>    BTN_TOUCH 1
>    sync
> 
> touch one sends
>    ABS_X   1000
>    ABS_Y    1000
>    BTN_TOUCH     1
>    sync
> 
> touch two sends
>    ABS_X  100
>    BTN_TOUCH 1
>    sync
> 
> the function input_handle_abs_event filter double event. so ABS_Y is only
> sent, if it was change.
> 
> XEvent
>   get not X=100 and Y=1000
>    and that is wrong.
> 
> does newer verison of evdev_drv solve this problem ?

hard to say, ABS_X/Y is usually the single-touch emulation so if the screen
is truly multitouch, the data can be a bit mixed. Please record your
touchscreen with evemu-record and execute a short touch sequence. Without
that it'll be hard to say what really happens.

Cheers,
   Peter



More information about the xorg-devel mailing list