Skip to content
Spec-compatible touch events based on npTuioClient callbacks
Find file
Pull request Compare This branch is 6 commits behind borismus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


MagicTouch.js by Boris Smus

Standards-compatible touch event implementation to make it easier to develop
web applications for for multitouch devices.

1. Install npTuioClient NPAPI plugin:
- Copy npTuioClient.plugin to ~/Library/Internet Plug-Ins/

2. Install TongSeng:
- Run and press the Start button

3. Include MagicTouch.js and embed the npTuioClient plugin in your application:

  <!-- your head -->
  <script src=”/path/to/magictouch.js"</script>

  <!-- your body -->
  <object id="tuio" type="application/x-tuio" style="width: 0px; height: 0px;">
    Touch input plugin failed to load!

4. Use touch* event APIs:

Tested on Chrome 10
Something went wrong with that request. Please try again.