MegaZine3 Version 2 > Feature Requests
Support for alternative input devices
(1/1)
randykato:
We have been working on a presentation tool that will mostly be controlled via touchscreen. However, we are implementing support for multiple alternative input devices such as Kinect.
We've been using TUIO for this and with the AS3 library there is an easy way have TUIO events also dispatch matching mouse events, so just about everything we've built worked immediately, except for MegaZine and a few other things. With certain events (like those for dragging) that require using mouseX/mouseY, it wasn't working. We had to grab the coordinates relative to the MouseEvent and then everything worked fine. For example...
Instead of:
--- Code: ---function dragIt(e:MouseEvent):void{
[ . . . ]
startX = mouseX;
}
--- End code ---
We need:
--- Code: ---function dragIt(e:MouseEvent):void{
[ . . . ]
startX = e.stageX;
}
--- End code ---
This change, among others like easy de-activation of mouseover effects, could make MegaZine more flexible for use with many more devices.
Florian Nücke:
I'm currently looking into tuio, and thinking about what changes a proper integration would require, and how to best generalize this. My current train of though follows some sort of abstraction layer (let's call it InputManager) that sits between MegaZine3 and the rest of the world. A default implementation would then use mouse events, but an alternative one could use tuio or even completely code generated "events". Still not 100% sure about this, though.
touchrev:
--- Quote from: Florian Nücke on March 18, 2011, 08:55:53 am ---I'm currently looking into tuio, and thinking about what changes a proper integration would require, and how to best generalize this. My current train of though follows some sort of abstraction layer (let's call it InputManager) that sits between MegaZine3 and the rest of the world. A default implementation would then use mouse events, but an alternative one could use tuio or even completely code generated "events". Still not 100% sure about this, though.
--- End quote ---
Greetings, Florian!
I have recently purchased a license of your API and so far I have received amazing feedback on the extensibility and quality of the application.
I would not have replied in this 10 month old thread, but it is the only conversation I can find regarding TUIO (besides the revision history page and the API Docs).
I am currently working with v2.2.1 and trying to figure out how to use the TUIO plugin.
Is there a simple way to make pages turn from tuio touch events? (I've included the tuio plugin in the .mz3 plugins setting..)
I am familiar with the tuio-as3 library and have successfully implemented TuioTouchEvents in other applications, but I cannot figure it out on the magazine side..
Thank you for you help and I am grateful for whatever you can provide at this point!
Enthusiastically,
Steve Miller
Florian Nücke:
I just added some documentation on the plugin to the wiki, see if that's enough to get you started :)
Navigation
[0] Message Index
Go to full version