Thanks Peter for the reply. I tried converting XI events to button events and 
send but it didn't help. True no way. Seems need to switch to some other 
compositor which supports multitouch.

Regards,
Vikas

-----Original Message-----
From: "Peter Hutterer" <peter.hutte...@who-t.net>
Sent: ‎1/‎29/‎2015 12:03 PM
To: "Vikas Patil" <vikasmpa...@gmail.com>
Cc: "xorg-de...@lists.freedesktop.org" <xorg-de...@lists.freedesktop.org>; 
"x...@lists.freedesktop.org" <x...@lists.freedesktop.org>; 
"genivi-ivi-layer-managem...@lists.genivi.org" 
<genivi-ivi-layer-managem...@lists.genivi.org>; "peter.hutte...@redhat.com" 
<peter.hutte...@redhat.com>
Subject: Re: multitouch input handling help required

On Tue, Jan 27, 2015 at 07:11:18PM +0530, Vikas Patil wrote:
> Hi,
> 
> I am running GENIVI Layermanager (i.e. window manager and compositor based
> on GLES2.0 and X11) which doesn't support multi-touch event (i.e.
> Xi_TouchBegin, XI_TouchUpdate, XI_TouchEnd) handling and I have a
> requirement to support X11 based application with multi-touch (i.e. pinch
> and zoom use case with navigation) on top of compositor.
> 
> Layermanager X11 code:
> http://git.projects.genivi.org/?p=layer_management.git;a=blob;f=LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp;h=cd6d5d4cfe0ab713b1d0cb61225fef1498cee454;hb=5e2f490b40b8b60a0efbd2b244be44d93bc081f6
> 
> I tried to add the support for Xinput 2 in layermanager but as there is no
> way to send the XI events using XSendEvents, I am currently looking for
> alternative way (or some hack) to make it work.
> 
> Could you please give your inputs, suggestion or ideas? Is this possible
> (i.e bypassing someway the compositor for particular application for input
> handling or modifying compositor or app for this purpose, but compositor
> must be running)?
> 
> If you know some mailing list where I can discuss this, could you please
> suggest?

sorry, there is no equivalent to XSendEvents for XI2 events, and no other
way to send XI2 touch events to a different client.

Cheers,
   Peter

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to