Multitouch

Richard Gaskin ambassador at fourthworld.com
Wed Nov 18 08:57:15 EST 2009


René Micout wrote:

> Soon with RunRev ?
> 
> http://www.youtube.com/watch?v=va33sU-_Bzk&feature=player_embedded

Nice to see someone else has an interest in seeing multitouch supported.

I submitted a proposal for it to the improve-list a couple weeks ago. 
Number of replies: 0.

---------------------------------------------------------------------

It may also be worth considering adding new trackpad event types now 
that the world has almost universally moved beyond simple point-and-click.

For example, the OS X API there supports the following gestures:

- Pinching movements (in or out) are gestures meaning zoom out
   or zoom in (also called magnification).
- Two fingers moving in opposite semicircles is a gesture
   meaning rotate.
- Three fingers brushing across the trackpad surface in a
   common direction is a swipe gesture.
- Two fingers moving vertically or horizontally is a scroll gesture.

Their API gives provides these constant names for gestures:

- NSEventTypeGesture
- NSEventTypeMagnify
- NSEventTypeSwipe
- NSEventTypeRotate
- NSEventTypeBeginGesture
- NSEventTypeEndGesture

HC's mouseDown and mouseUp were great and still are, but the modern 
world is increasingly driven by a wider range of gestures.

How cool would it be to be able to write stuff like:

on touchRotate pDegrees
   rotate the target pDegrees
end touchRotate

...or:

on touchMagnify pPercent
   scale the target by pPercent
end touchMagnify


-- 
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list