var touchy=('ontouchstart' in document.documentElement)?true:false; var move='touchmove mousemove'; var end='touchend mouseup'; var ent='touchstart mousedown';
Example, Try on touch device (but also works in PC)
You can download developement readable js file here
A minifield version compressed with YUI compressor can be download here.
For all information and API refer to Professor Cloud page