<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>Control &#187; Topic: MultiTouchXY - on touch_down or on_touch_up</title>
		<link>http://charlie-roberts.com/Control/forum/topic.php?id=131</link>
		<description>forum for discussing Control interface software</description>
		<language>en-US</language>
		<pubDate>Wed, 19 Jun 2013 07:33:12 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://charlie-roberts.com/Control/forum/rss.php?topic=131" rel="self" type="application/rss+xml" />

		<item>
			<title>admin on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-543</link>
			<pubDate>Fri, 15 Jul 2011 19:56:33 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">543@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>Nice idea on the button! I never think to stack widgets like that, although you can actually stack them as "high" as you want. Unfortunately the button idea only works for one touch, but the next update of Control will have an extra scripting goody to handle multiple touches. I added a parameter called "lastTouched" that always refers to the most recently processed touch event. So you can get the id of the touch in a ontouchstart as follows:</p>
<p><code>&#34;ontouchstart&#34;:&#34;oscManager.sendOSC(&#39;/multi/&#39; + this.lastTouched.id, &#39;f&#39;, 0);&#34;</code></p>
<p>I thought I had something like this in there previously, but I must be confusing it with something else... can't find a trace of it.
</p>]]></description>
					</item>
		<item>
			<title>Kinskop on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-541</link>
			<pubDate>Fri, 15 Jul 2011 18:54:34 +0000</pubDate>
			<dc:creator>Kinskop</dc:creator>
			<guid isPermaLink="false">541@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>My way to solve this problem was to put a button just underneath the widget with exactly the same size. if you give that one a different color you also get multicolored parameter feedback....WHOA!! ;-)
</p>]]></description>
					</item>
		<item>
			<title>ifranco on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-539</link>
			<pubDate>Fri, 15 Jul 2011 18:42:28 +0000</pubDate>
			<dc:creator>ifranco</dc:creator>
			<guid isPermaLink="false">539@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>Charlie, thanks for the precious help! That worked! :-)<br />
Cheers
</p>]]></description>
					</item>
		<item>
			<title>admin on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-534</link>
			<pubDate>Fri, 15 Jul 2011 17:42:18 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">534@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p><code>&#34;ontouchend&#34;: &#34;oscManager.sendOSC(&#39;/multi/0&#39;, &#39;f&#39;, 0);&#34;</code></p>
<p>First, you need to include the typetags for the message. This tells the network protocol what type of data is being sent. In this case we're sending a floating point number ( 0 ).</p>
<p>For the multitouch widget, the touch number is appended to the address of the widget as opposed to being a message argument. You can, of course, send whatever message you want if you don't like this behavior. Thus, the line I wrote above is roughly equivalent to:</p>
<p><code>&#34;ontouchend&#34;: &#34;oscManager.sendOSC(&#39;/multi&#39;, &#39;ff&#39;, 0, 0);&#34;</code></p>
<p>... where the first 0 would be the touch number instead of including it in the address. Hope this helps! - Charlie
</p>]]></description>
					</item>
		<item>
			<title>ifranco on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-533</link>
			<pubDate>Fri, 15 Jul 2011 16:38:47 +0000</pubDate>
			<dc:creator>ifranco</dc:creator>
			<guid isPermaLink="false">533@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>"ontouchend": "multi1.setValue(0,0)",</p>
<p>? :-)
</p>]]></description>
					</item>
		<item>
			<title>ifranco on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-532</link>
			<pubDate>Fri, 15 Jul 2011 16:24:22 +0000</pubDate>
			<dc:creator>ifranco</dc:creator>
			<guid isPermaLink="false">532@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>Or this...</p>
<p>"ontouchend": "oscManager.sendOSC("/192.168.1.78:1000","multi1", 0, 0)",</p>
<p>from the ste example: oscManager.sendOSC("/someOSCaddress", "if", 0, 2.2);</p>
<p>Cheers!
</p>]]></description>
					</item>
		<item>
			<title>ifranco on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-531</link>
			<pubDate>Fri, 15 Jul 2011 16:20:45 +0000</pubDate>
			<dc:creator>ifranco</dc:creator>
			<guid isPermaLink="false">531@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>Ok, I just realized there's a ontouchend property.<br />
Shouldn't this work?</p>
<p>"ontouchend": "oscManager.sendOSC("multi1", 0, 0)",</p>
<p>so that I can send 0's once I lift my finger?</p>
<p>Thanks in advance!
</p>]]></description>
					</item>
		<item>
			<title>ifranco on "MultiTouchXY - on touch_down or on_touch_up"</title>
			<link>http://charlie-roberts.com/Control/forum/topic.php?id=131#post-530</link>
			<pubDate>Fri, 15 Jul 2011 16:03:12 +0000</pubDate>
			<dc:creator>ifranco</dc:creator>
			<guid isPermaLink="false">530@http://charlie-roberts.com/Control/forum/</guid>
			<description><![CDATA[<p>Hi there! New to Control and starting my exploration! :-)<br />
I would like to know if there is any kind of property for MultiTouchXY so that I can receive a message to know if I pressed (or depressed) the that widget? Meaning: it seems I can receive xy messages only when moving about the surface. I would be cool to know when a finger has been lifted (for ex. for sending velocity zero to a pending midi note). Is this possible in any way or with any workaround?</p>
<p>Thanks!
</p>]]></description>
					</item>

	</channel>
</rss>
