aboutsummaryrefslogtreecommitdiff
path: root/multitouch-help.pd
blob: 1732f2f355732e31e47f16e48f7ba3a4f69c5560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#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;