<br>I asked to the MPX developers in the Xorg list about the multitouch events project and basically, they will like to make it toolkit agnostic, so the same gestures can be seen from every application ( the meaning of the gestures will be application specific, but at least a 3 fingers U shaped gesture will be a 3 fingers U shaped gesture for everyone). <br>
So I have this proposal, let me know if it is acceptable / looks good for KDE.<br><br>First, the library will only deal
with X multitouch blobevents. mouse events is a different problem and
will be solved or it is already solved by different projects. <br>
Second, As in multitouch blobevents we have plenty of room for gestures
(1, 2, 3, 4 finger gestures, etc). Blobevents read from X can
be split in 2 types: "immediate" and "gesture". <br>Immediate
events will be multitouch versions of ONE pointer events
(mouse moves, etc). These events will be immediately sent to upper
layers (toolkits, etc). Or maybe better, mouse events will be sent
instead so apps doesn't even realize. <br>
Gestures events will be everything else, will be eaten by the library
and never sent to upper layers. Only the distiled version (gesture
event) will be sent.<br>This
division is what make it feasible to make the library toolkit
independent, having the "immediate" events outside the control of
toolkits' event loop (and mangling with them) looks too scary. <br>
Third, the library will have a DBUS configuration interface. <br>I
guess that some special applications (3D modeling ...) will want to
explote blob events themselves. The library can be deactivated. <br><br>I
think I can build a touchlib/reactlib etc based cheap multitouch
screen, that will give TUIO me events, bridge them to blobevents and
work from there upwards. In the meantime hopefully MPX enters Xorg and
the work on multitouch events is resumed.<br><br><br><br><div class="gmail_quote">On Sat, May 10, 2008 at 6:27 PM, Jordi Polo <<a href="mailto:mumismo@gmail.com">mumismo@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="Ih2E3d">On Sat, May 10, 2008 at 4:20 PM, Brad Hards <<a href="mailto:bradh@frogmouth.net" target="_blank">bradh@frogmouth.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Saturday 10 May 2008 04:38:42 pm Percy Camilo Triveņo Aucahuasi wrote:<br>
> >There you go:<br>
> ><a href="http://www.phoronix.com/scan.php?page=article&item=mpx_master&num=1" target="_blank">http://www.phoronix.com/scan.php?page=article&item=mpx_master&num=1</a><br>
><br>
> I remenber that some time ago saw some video/demo of MPX. I think that this<br>
> tecnology is similar to microsoft surface. It would be really great that<br>
> KDE had this feature.<br>
</div>This is why you should have come to <a href="http://linux.conf.au" target="_blank">linux.conf.au</a>!<br>
See <a href="http://linux.conf.au/programme/detail?TalkID=88" target="_blank">http://linux.conf.au/programme/detail?TalkID=88</a> for the plan, and<br>
<a href="http://mirror.linux.org.au/pub/linux.conf.au/2008/slides/088-redefining_input_in_X.pdf" target="_blank">http://mirror.linux.org.au/pub/linux.conf.au/2008/slides/088-redefining_input_in_X.pdf</a><br>
for the slides.<br>
</blockquote></div><div><br>Basically, it is a 2 years old (stable and proven) implementation of all the low level technologies I would need. <br>Thanks a lot for the links. <br>This will make the whole thing MUCH more easier to implement. <br>
Then, a good general plan can be:<br><br>- Create QBlobEvent/KBlobEvent from X blobevents<br>- Create a library that taking Q/KBlobEvent generate KGestureEvent<br>- Send all the new events to the applications. <br>- Modify KActions to make them use KGestureEvents<br>
<br>Anyway, it seems that so far the blob events is not in the X server, will not immediately enter official X repository. So I will start playing with libtouch/MPX server instead. <br> <br>I'll try to go to the LinuxConf next year... :P<br>
</div></div><div><div></div><div class="Wj3C7c"><br clear="all"><br>-- <br>Jordi Polo Carres<br>NLP laboratory - NAIST<br><a href="http://www.bahasara.org" target="_blank">http://www.bahasara.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jordi Polo Carres<br>NLP laboratory - NAIST<br><a href="http://www.bahasara.org">http://www.bahasara.org</a><br>