Spec-compatible touch events based on npTuioClient callbacks
Latest commit 2dd1210 Jun 23, 2014 @borismus Merge pull request #8 from arleytriana/patch-1
Update README.md


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/
    • Note that on Mac OS X 10.8 and up, you will require version 1.5b1-osx
  2. Install TongSeng

    • Run TongSeng.app 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!
  1. Use touch event APIs

Browser Compatibility

Tested on Chrome 10