multitouch input handling help required

Vikas Patil Gmail vikasmpatil at gmail.com
Wed Jan 28 23:10:15 PST 2015


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.hutterer at who-t.net>
Sent: ‎1/‎29/‎2015 12:03 PM
To: "Vikas Patil" <vikasmpatil at gmail.com>
Cc: "xorg-devel at lists.freedesktop.org" <xorg-devel at lists.freedesktop.org>; "xorg at lists.freedesktop.org" <xorg at lists.freedesktop.org>; "genivi-ivi-layer-management at lists.genivi.org" <genivi-ivi-layer-management at lists.genivi.org>; "peter.hutterer at redhat.com" <peter.hutterer at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20150129/b9a14961/attachment.html>


More information about the xorg mailing list