<div dir="ltr"><div style>Isn&#39;t this what you&#39;re talking about?</div><div style><br></div><a href="http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/EventOverview/HandlingTouchEvents/HandlingTouchEvents.html">http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/EventOverview/HandlingTouchEvents/HandlingTouchEvents.html</a><h2 class="" style="margin-top:1.75em;padding-bottom:2px">

<font><span style="color:rgb(60,76,108)">Touch Events Represent Fingers on the Trackpad</span><br></font></h2><p style="margin-top:0px;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif">

Instead of handling a gesture, you could choose to track and handle the “raw” touches that make up the gesture. But why might you make such a choice? One obvious reason is that OS X does not recognize the particular gesture you are interested in—that is, something other than magnify (pinch in and out), rotate, or swipe. Or you want your view to respond to a system-supported gesture, but you want more information about the gesture than the AppKit framework currently provides; for example, you would like to have anchor points for a zooming operation. Unless you have reasons such as these, you should prefer gestures to raw touch events.</p>

<p style="margin-top:0px;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif">The following sections discuss the multi-touch sequence that delimits a touch event in an abstract sense, point out important touch-event attributes, and show you how to handle touch events.</p>

<a name="//apple_ref/doc/uid/10000060i-CH13-SW19" title="A Multi-Touch Sequence" style="color:rgb(51,102,204)"></a><h3 class="" style="margin-top:1.5em;margin-bottom:0.25em;color:rgb(0,0,0)"><font>A Multi-Touch Sequence</font></h3>

<p style="margin-top:0px;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif">When a user touches a trackpad with one or more fingers and moves those fingers over the trackpad, the hardware generates low-level events that represent each of those fingers on the trackpad. The stream of events, as with all type of events, is continuous. However, there is a logical unit of touches that together, represent a <strong>multi-touch sequence</strong>. A multi-touch sequence begins when the user puts one or more fingers on the trackpad. The finger can move in various directions over the trackpad, and additional fingers may touch the trackpad. The multi-touch sequence doesn’t end until all of those fingers are lifted from the trackpad.</p>

<p style="margin-top:0px;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif">Within a multi-touch sequence, a finger on the trackpad typically goes through distinct phases:</p>

<ul class="" style="list-style-position:outside;margin:0px 0px 0.833em 1.35em;padding:0px 0px 0.5em"><li class="" style="margin-top:0.583em"><p style="margin-top:0.667em;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif;display:inline">

It touches down on the trackpad.</p></li><li class="" style="margin-top:0.583em"><p style="margin-top:0.667em;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif;display:inline">

It can move in various directions at various speeds.</p></li><li class="" style="margin-top:0.583em"><p style="margin-top:0.667em;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif;display:inline">

It can remain stationary.</p></li><li class="" style="margin-top:0.583em"><p style="margin-top:0.667em;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif;display:inline">

It lifts from the trackpad.</p></li></ul><p style="margin-top:0px;margin-bottom:0.833em;font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif">The AppKit framework uses objects of the <code style="font-family:Courier,Consolas,monospace;color:rgb(102,102,102)">NSTouch</code> class to represent touches through the various phases of a multi-touch sequence. That is, an <code style="font-family:Courier,Consolas,monospace;color:rgb(102,102,102)">NSTouch</code> object is a snapshot of a particular finger—a touch—on the trackpad in a particular phase. For example, when a touch moves in a certain direction, the AppKit represents it with an <code style="font-family:Courier,Consolas,monospace;color:rgb(102,102,102)">NSTouch</code>instance; it uses another <code style="font-family:Courier,Consolas,monospace;color:rgb(102,102,102)">NSTouch</code> object to represent the same finger when it lifts from the trackpad.</p>

<div class="" style="border:1px solid rgb(80,136,197);margin:1.667em 0px 1.75em;padding:0px 0.667em 0.083em 0.75em;clear:right"><a name="//apple_ref/doc/uid/10000060i-CH13-SW20" title="Note" style="color:rgb(51,102,204);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,Helvetica,Arial,Verdana,sans-serif;font-size:13px"></a></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 26, 2013 at 2:08 PM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 26.06.2013, at 13:53, Darius Clarke &lt;<a href="mailto:socinian@gmail.com">socinian@gmail.com</a>&gt; wrote:<br>


<br>
&gt; Mac OS X supports multi-touch (i.e. MacBook touch pads and the Apple Magic Mouse)<br>
<br>
</div>Nah, you cannot independently access the finger positions. We&#39;re really talking about touchscreen support.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Bert -<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>