aboutsummaryrefslogtreecommitdiff
path: root/multitouch-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'multitouch-help.pd')
-rw-r--r--multitouch-help.pd90
1 files changed, 77 insertions, 13 deletions
diff --git a/multitouch-help.pd b/multitouch-help.pd
index 0745a85..1732f2f 100644
--- a/multitouch-help.pd
+++ b/multitouch-help.pd
@@ -1,13 +1,77 @@
-#N canvas 236 102 450 300 10;
-#X obj 153 120 multitouch;
-#X msg 162 52 bang;
-#X obj 170 98 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
-1;
-#X obj 142 153 print DATA;
-#X obj 216 153 print STATUS;
-#X msg 199 83 info;
-#X connect 0 0 3 0;
-#X connect 0 1 4 0;
-#X connect 1 0 0 0;
-#X connect 2 0 0 0;
-#X connect 5 0 0 0;
+#N canvas 147 22 562 447 10;
+#X obj 4 -17 cnv 15 550 40 empty \$0-pddp.cnv.header multitouch 3 12
+0 18 -241536 -1 0;
+#X obj 3 220 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlet 15 12 0 13
+-245500 -191407 0;
+#N canvas 779 22 494 344 META 0;
+#X text 12 25 KEYWORDS control number float store;
+#X text 12 45 LICENSE GPL;
+#X text 12 65 TEMPLATE template-help.pd v0.1;
+#X text 12 85 PLATFORM windows macosx gnulinux;
+#X text 12 105 DATATYPE float list;
+#X text 12 125 LIBRARY internal;
+#X text 12 145 WEBSITE http://crca.ucsd.edu/~msp/;
+#X text 12 165 RELEASE_DATE 2007-08-24;
+#X text 12 185 RELEASE_VERSION 0.40-test05;
+#X text 12 5 GENRE storage;
+#X restore 500 404 pd META;
+#X obj 3 289 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 15 12 0
+13 -245500 -191407 0;
+#X obj 3 369 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 15
+12 0 13 -245500 -191407 0;
+#X obj 434 6 pddp/pddplink http://wiki.puredata.info/en/apple/multitouch
+-text pdpedia: multitouch;
+#X obj 449 -14 apple/multitouch;
+#X obj 146 101 multitouch;
+#X msg 146 48 bang;
+#X msg 179 73 info;
+#X obj 203 120 pddp/print;
+#X text 216 73 output info on right outlet;
+#X obj 73 73 metro 250;
+#X obj 73 54 tgl 15 0 empty empty empty 0 -6 0 10 -204786 -1 -1 0 1
+;
+#X text 183 46 output sensor values;
+#X text 102 258 "info" - outputs info about the sensor on the right
+outlet;
+#X obj 72 336 cnv 17 3 20 empty \$0-pddp.cnv.let.1 1 5 9 0 16 -228856
+-162280 0;
+#X obj 72 310 cnv 17 3 20 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
+-162280 0;
+#X text 15 6 description: get multitouches from trackpads and iPhones
+;
+#X text 102 239 bang - output current multitouch data;
+#X text 103 337 a message with info about the sensor status;
+#X text 103 311 a list of values for each touch that is being tracked
+;
+#X obj 104 395 pddp/pddplink http://steike.com/code/multitouch/;
+#X floatatom 6 179 5 0 0 3 finger - -;
+#X floatatom 45 179 5 0 0 3 frame - -;
+#X floatatom 81 179 5 0 0 3 angle - -;
+#X floatatom 120 179 5 0 0 3 majorAxis - -;
+#X floatatom 178 179 5 0 0 3 minorAxis - -;
+#X obj 146 145 unpack 0 0 0 0 0 0 0 0 0 0 0 0;
+#X floatatom 236 179 5 0 0 3 x - -;
+#X floatatom 274 179 5 0 0 3 y - -;
+#X floatatom 307 179 5 0 0 3 x-velocity - -;
+#X floatatom 368 179 5 0 0 3 Y-velocity - -;
+#X floatatom 431 179 5 0 0 3 ID - -;
+#X floatatom 469 179 5 0 0 3 state - -;
+#X floatatom 509 179 5 0 0 3 size - -;
+#X connect 7 0 28 0;
+#X connect 7 1 10 0;
+#X connect 8 0 7 0;
+#X connect 9 0 7 0;
+#X connect 12 0 7 0;
+#X connect 13 0 12 0;
+#X connect 28 0 23 0;
+#X connect 28 1 24 0;
+#X connect 28 2 25 0;
+#X connect 28 3 26 0;
+#X connect 28 4 27 0;
+#X connect 28 5 29 0;
+#X connect 28 6 30 0;
+#X connect 28 7 31 0;
+#X connect 28 8 32 0;
+#X connect 28 9 33 0;
+#X connect 28 10 34 0;
+#X connect 28 11 35 0;