Spec-compatible touch events based on npTuioClient callbacks
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits behind borismus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
samples
README.md
index.html
magictouch.js

README.md

#MagicTouch.js by Boris Smus

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

##Installation

  1. Install npTuioClient NPAPI plugin:
  • Copy npTuioClient.plugin to ~/Library/Internet Plug-Ins/
  1. Install TongSeng
  • Run TongSeng.app and press the Start button
  1. Include MagicTouch.js and embed the npTuioClient plugin in your application:
<head>
  <!-- your head -->
  <script src=”/path/to/magictouch.js"</script>
</head>

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

##Browser Compatibility

Tested on Chrome 10