diff options
Diffstat (limited to 'doc/mouse-help.pd')
-rw-r--r-- | doc/mouse-help.pd | 176 |
1 files changed, 89 insertions, 87 deletions
diff --git a/doc/mouse-help.pd b/doc/mouse-help.pd index 79290aa..b3f1387 100644 --- a/doc/mouse-help.pd +++ b/doc/mouse-help.pd @@ -1,4 +1,4 @@ -#N canvas 349 114 659 461 10; +#N canvas 56 46 659 461 10; #X symbolatom 211 268 6 0 0 1 code - -; #X obj 130 106 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1; @@ -8,121 +8,120 @@ #X floatatom 31 268 7 0 0 3 X - -; #X obj 193 335 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X obj 238 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 232 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 1 1; -#X obj 283 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 271 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X msg 175 83 open 0; #X msg 180 102 open 1; #X msg 185 121 open 2; -#N canvas 22 231 672 582 mouse-noise 1; -#X obj 112 38 inlet; -#X obj 210 324 noise~; -#X obj 155 346 osc~; -#X obj 113 397 *~; -#X msg 155 94 \; pd dsp 1; -#X obj 110 510 dac~; -#X obj 386 33 inlet; -#X text 448 34 open msgs; -#X obj 138 169 mouse \$1; -#X text 328 192 get button value only; -#X obj 210 350 *~; -#X obj 317 242 / 2; -#X obj 113 458 linearpan~; -#X obj 289 439 line; -#X msg 289 416 \$1 20; -#X obj 313 328 +; -#X obj 359 328 f; -#X msg 343 297 0; -#X obj 155 252 abs; -#X obj 189 192 unpack symbol float; -#X obj 110 345 line~; -#X msg 110 322 \$1 3; -#X obj 155 327 * 20; -#X obj 326 349 min 20; -#X obj 326 368 max 0; -#X obj 296 301 int; -#X obj 326 389 / 20; -#X obj 155 297 mtof; -#X obj 155 213 hid_rel2abs 0 1; -#X obj 155 233 - 1; -#X floatatom 217 521 5 0 0 0 - - -; -#X obj 155 277 notescale 30 60; -#X obj 179 410 loadbang; -#X msg 177 433 0.5; -#X obj 26 260 select 0; -#X msg 26 282 0; -#X text 11 234 mute on finish; -#X obj 112 71 t f f b; -#X connect 0 0 37 0; +#N canvas 94 191 532 519 mouse-noise 0; +#X obj 26 18 inlet; +#X obj 199 314 noise~; +#X obj 155 336 osc~; +#X obj 113 387 *~; +#X msg 167 65 \; pd dsp 1; +#X obj 139 488 dac~; +#X obj 386 13 inlet; +#X text 448 14 open msgs; +#X obj 132 149 hid/mouse \$1; +#X text 340 169 get button value only; +#X obj 199 336 *~; +#X obj 312 207 / 2; +#X obj 113 448 pan/linear_pan~; +#X obj 276 426 line; +#X msg 276 403 \$1 20; +#X obj 276 318 +; +#X msg 313 294 0; +#X obj 155 242 abs; +#X obj 201 169 unpack symbol float; +#X obj 110 335 line~; +#X msg 110 312 \$1 3; +#X obj 155 314 * 20; +#X obj 276 339 min 20; +#X obj 276 358 max 0; +#X obj 276 294 int; +#X obj 276 379 / 20; +#X obj 155 287 mtof; +#X obj 155 203 hid/hid_rel2abs 0 1; +#X obj 155 223 - 1; +#X obj 155 267 mapping/notescale 30 60; +#X obj 200 403 loadbang; +#X msg 200 424 0.5; +#X obj 26 250 select 0; +#X msg 26 272 0; +#X text 11 224 mute on finish; +#X obj 26 43 trigger float float bang; +#X obj 312 318 float; +#X connect 0 0 35 0; #X connect 1 0 10 0; #X connect 2 0 3 1; #X connect 3 0 12 0; #X connect 6 0 8 0; -#X connect 8 0 21 0; -#X connect 8 1 28 0; -#X connect 8 2 25 0; -#X connect 8 3 19 0; +#X connect 8 0 20 0; +#X connect 8 1 27 0; +#X connect 8 2 24 0; +#X connect 8 3 18 0; #X connect 10 0 3 1; #X connect 11 0 10 1; #X connect 12 0 5 0; #X connect 12 1 5 1; #X connect 13 0 12 1; #X connect 14 0 13 0; -#X connect 15 0 23 0; +#X connect 15 0 22 0; #X connect 16 0 15 1; -#X connect 17 0 16 1; -#X connect 17 0 15 1; -#X connect 18 0 31 0; -#X connect 19 1 11 0; -#X connect 20 0 3 0; -#X connect 21 0 20 0; -#X connect 22 0 2 0; -#X connect 23 0 24 0; -#X connect 24 0 16 0; -#X connect 24 0 26 0; -#X connect 25 0 15 0; -#X connect 26 0 14 0; -#X connect 27 0 22 0; -#X connect 28 0 29 0; -#X connect 29 0 18 0; -#X connect 31 0 27 0; -#X connect 31 0 30 0; +#X connect 16 0 36 1; +#X connect 17 0 29 0; +#X connect 18 1 11 0; +#X connect 19 0 3 0; +#X connect 20 0 19 0; +#X connect 21 0 2 0; +#X connect 22 0 23 0; +#X connect 23 0 25 0; +#X connect 23 0 36 0; +#X connect 24 0 15 0; +#X connect 25 0 14 0; +#X connect 26 0 21 0; +#X connect 27 0 28 0; +#X connect 28 0 17 0; +#X connect 29 0 26 0; +#X connect 30 0 31 0; +#X connect 31 0 12 1; #X connect 32 0 33 0; -#X connect 33 0 12 1; -#X connect 34 0 35 0; -#X connect 35 0 21 0; -#X connect 37 0 34 0; -#X connect 37 1 8 0; -#X connect 37 2 4 0; -#X restore 425 186 pd mouse-noise 1; -#X obj 425 119 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 +#X connect 33 0 20 0; +#X connect 35 0 32 0; +#X connect 35 1 8 0; +#X connect 35 2 4 0; +#X connect 36 0 15 1; +#X restore 407 176 pd mouse-noise 1; +#X obj 407 119 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1; -#X text 308 95 turn this on to make some noise with the mouse; +#X text 354 95 turn this on to make some noise with the mouse; #X obj 211 241 unpack symbol float; #X text 282 284 buttons; -#X obj 329 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 310 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X obj 374 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 349 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X obj 419 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 388 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X obj 465 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 427 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X obj 510 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 466 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X obj 2 2 cnv 15 650 20 empty empty [mouse] 2 11 1 18 -233017 -66577 +#X obj 2 2 cnv 15 650 20 empty empty mouse 2 11 1 18 -233017 -66577 0; -#X obj 555 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 505 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X text 11 422 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at> ; #X text 228 436 released under the GNU GPL; #X text 424 436 $Author: eighthave $; #X text 424 423 $Revision: 1.13 $; -#X obj 466 382 pddp_open all_about_hid; +#X obj 466 382 pddp/pddplink ../all_about_hid.pd -text all_about_hid +; #X text 357 383 For more info:; -#X obj 601 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 +#X obj 544 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 193 314 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 btn_8; @@ -131,13 +130,15 @@ the output of axis data. Move the device around as fast as possible in each axis to calibrate it.; #X text 13 111 turn on polling:; #X msg 180 146 refresh; -#X obj 130 171 mouse 0; -#X msg 619 3 pddp; +#X obj 130 171 hid/mouse 0; +#X obj 619 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp +; #X msg 500 148 open \$1; #X obj 500 128 hradio 15 1 1 8 \$0-device-number empty choose_a_device -0 -6 1 9 -262144 -1 -1 4; +0 -6 1 9 -262144 -1 -1 6; #X obj 474 128 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty -0 -6 0 14 -166441 -1 -1 4 256; +0 -6 0 14 -166441 -1 -1 6 256; +#X msg 76 142 print; #X connect 1 0 35 0; #X connect 9 0 35 0; #X connect 10 0 35 0; @@ -163,3 +164,4 @@ in each axis to calibrate it.; #X connect 35 3 31 0; #X connect 37 0 12 1; #X connect 38 0 37 0; +#X connect 40 0 35 0; |