Skip to content

Spec-compatible touch events based on npTuioClient callbacks

Notifications You must be signed in to change notification settings

nicktackes/MagicTouch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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: https://github.com/fajran/npTuioClient
- Copy npTuioClient.plugin to ~/Library/Internet Plug-Ins/

2. Install TongSeng: https://github.com/fajran/tongseng
- Run TongSeng.app and press the Start button

3. Include MagicTouch.js and embed the npTuioClient plugin in your application:
http://github.com/borismus/MagicTouch

<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>

4. Use touch* event APIs:
	http://dvcs.w3.org/hg/webevents/raw-file/tip/touchevents.html

Tested on Chrome 10

About

Spec-compatible touch events based on npTuioClient callbacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published