GithubHelp home page GithubHelp logo

fyyyyy / magictouch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from borismus/magictouch

0.0 2.0 0.0 174 KB

Spec-compatible touch events based on npTuioClient callbacks

Home Page: http://smus.com/multi-touch-browser-patch

HTML 71.72% JavaScript 28.28%

magictouch's Introduction

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

magictouch's People

Contributors

borismus avatar matthewrobertson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.