[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: RE: multitouch input handling help required
From: Vikas Patil Gmail <vikasmpatil () gmail ! com>
Date: 2015-01-29 7:22:15
Message-ID: 54c9dcda.aa73440a.688e.2861 () mx ! google ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@who-t.net>
Sent: 1/29/2015 12:03 PM
To: "Vikas Patil" <vikasmpatil@gmail.com>
Cc: "xorg-devel@lists.freedesktop.org" <xorg-devel@lists.freedesktop.org>; \
"xorg@lists.freedesktop.org" <xorg@lists.freedesktop.org>; \
"genivi-ivi-layer-management@lists.genivi.org" \
<genivi-ivi-layer-management@lists.genivi.org>; "peter.hutterer@redhat.com" \
<peter.hutterer@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
[Attachment #5 (unknown)]
<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; \
font-size: 11pt;">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.<br><br>Regards,<br>Vikas</div></div><div \
dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; \
font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; \
font-size: 11pt;"><a href="mailto:peter.hutterer@who-t.net">Peter \
Hutterer</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; \
font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; \
font-size: 11pt;">1/29/2015 12:03 PM</span><br><span style="font-family: \
Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span \
style="font-family: Calibri,sans-serif; font-size: 11pt;"><a \
href="mailto:vikasmpatil@gmail.com">Vikas Patil</a></span><br><span \
style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Cc: \
</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a \
href="mailto:xorg-devel@lists.freedesktop.org">xorg-devel@lists.freedesktop.org</a>; \
<a href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a>; <a \
href="mailto:genivi-ivi-layer-management@lists.genivi.org">genivi-ivi-layer-management@lists.genivi.org</a>; \
<a href="mailto:peter.hutterer@redhat.com">peter.hutterer@redhat.com</a></span><br><span \
style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: \
</span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Re: multitouch \
input handling help required</span><br><br></div>On Tue, Jan 27, 2015 at 07:11:18PM \
+0530, Vikas Patil wrote:<br>> Hi,<br>> <br>> I am running GENIVI \
Layermanager (i.e. window manager and compositor based<br>> on GLES2.0 and X11) \
which doesn't support multi-touch event (i.e.<br>> Xi_TouchBegin, XI_TouchUpdate, \
XI_TouchEnd) handling and I have a<br>> requirement to support X11 based \
application with multi-touch (i.e. pinch<br>> and zoom use case with navigation) \
on top of compositor.<br>> <br>> Layermanager X11 code:<br>> \
http://git.projects.genivi.org/?p=layer_management.git;a=blob;f=LayerManagerPlugins/Re \
nderers/Graphic/src/WindowSystems/X11WindowSystem.cpp;h=cd6d5d4cfe0ab713b1d0cb61225fef1498cee454;hb=5e2f490b40b8b60a0efbd2b244be44d93bc081f6<br>> \
<br>> I tried to add the support for Xinput 2 in layermanager but as there is \
no<br>> way to send the XI events using XSendEvents, I am currently looking \
for<br>> alternative way (or some hack) to make it work.<br>> <br>> Could \
you please give your inputs, suggestion or ideas? Is this possible<br>> (i.e \
bypassing someway the compositor for particular application for input<br>> \
handling or modifying compositor or app for this purpose, but compositor<br>> must \
be running)?<br>> <br>> If you know some mailing list where I can discuss this, \
could you please<br>> suggest?<br><br>sorry, there is no equivalent to XSendEvents \
for XI2 events, and no other<br>way to send XI2 touch events to a different \
client.<br><br>Cheers,<br> Peter<br><br></body></html>
[Attachment #6 (text/plain)]
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic