View Single Post
  #296  
Old 12-31-2009, 02:01 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by salesman View Post
There's a parameter for which mouse is pressed, GraalControl.onMouseDown(keymod, mx, my, clicks, mouse)
GraalControl.onMouseUp(keymod, mx, my, clicks, mouse)
GraalControl.onMouseDragged(keymod, mx, my, clicks, mouse)
etc

If you press one finger down, mouse will be 1, press a second finger down mouse will be 2, and so on.
Thanks for sharing this, released my script demo displaying the multi-touch functionality in the Code Gallery.
__________________
Quote:
Reply With Quote