2007-06-15 00:09:58.02012-05-23 00:49:35.0http://nuigroup.com/?ACT=28&fid=33&aid=313_SENsYU9yXM7ScXFXRVd1eyePoke is a package to support multitouch applications in Flash, Flex, and Apollo via ActionScript 3. It provides a single API for developers to add rich functionality for multitouch clients without leaving out other input devices.
eyePoke is made up of a few classes:
-EyePoke provides access to the display list and calls up the callibrator when touched.
-TouchEvent extends MouseEvent and is designed to simultaneously support mice, pens, and multitouch displays.
-TouchListener attaches to the camera and is added to the display list. When it detects user input, it dispatches a TouchEvent.
-TouchFunctions contains static functions to implement things like startDrag in a multitouch-aware environment.
NOTE: This package has been on hiatus since late July 2007. It should be considered a beta - the basic functionality is there but largely untested.4687eyePokehttp://touchevent.riaforge.orgActionScript 3
-Import com.nuigroup.eyePoke.* Use Debugger.as as a usage example.
eyePoke is designed to degrade gracefully for people with tablets or mice. Any movie written for the eyePoke API will be able to react to either with the same Event Listener. This demo supports MOUSE_DOWN, MOUSE_MOVE, and MOUSE_UP as both MouseEvents and TouchEvents.
To test multitouch, you a video camera and a way to light your fingers. One great way is with an FTIR (Frustrated Total Internal Reflection) board. It can be built with an acrylic pane and a pack of infrared LEDs.
More info available at http://www.multitouch.nl/documents/multitouchdisplay_howto_070523_v02.pdfMultitouch event dispatcher for surface computingtoucheventbeta65919