diff options
Diffstat (limited to 'mouse.pd')
-rw-r--r-- | mouse.pd | 69 |
1 files changed, 48 insertions, 21 deletions
@@ -1,43 +1,70 @@ -#N canvas 305 189 717 462 10; -#X obj 125 38 inlet; -#X obj 5 346 outlet; -#X obj 110 346 outlet; -#X obj 220 346 outlet; -#X obj 500 347 outlet; +#N canvas 212 125 743 568 10; +#X obj 60 18 inlet; +#X obj 5 471 outlet; +#X obj 139 471 outlet; +#X obj 372 472 outlet; +#X obj 500 472 outlet; #X msg 355 119 open \$1; #X obj 356 94 makefilename mouse%d; #X obj 356 68 f \$1; #X obj 356 44 loadbang; -#X text 4 364 X; -#X text 115 369 Y; -#X text 222 367 wheel; +#X text 4 494 X; +#X text 144 494 Y; +#X text 374 493 wheel; #X msg 187 84 open \$1; #X obj 187 61 f \$1; #X obj 187 37 loadbang; -#X obj 5 283 autoscale -1 1; -#X obj 110 283 autoscale -1 1; -#X obj 67 233 route rel_x rel_y rel_wheel; -#X obj 271 258 print MOUSE_UNIMPLEMENTED_EVENT; +#X obj 5 338 autoscale -1 1; +#X obj 139 338 autoscale -1 1; +#X obj 67 288 route rel_x rel_y rel_wheel; +#X obj 328 313 print MOUSE_UNIMPLEMENTED_EVENT; #X text 343 139 this is for once this feature is implemented; -#X obj 125 115 hid \$1; -#X obj 125 155 route rel key; -#X text 484 368 button code/value list; -#X text 1 422 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at> +#X obj 125 180 hid \$1; +#X obj 125 210 route rel key; +#X text 484 493 button code/value list; +#X text 1 512 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at> ; -#X text 218 436 released under the GNU GPL; -#X text 414 436 $Author: eighthave $; -#X text 414 423 $Revision: 1.4 $; -#X connect 0 0 20 0; +#X text 218 526 released under the GNU GPL; +#X text 414 526 $Author: eighthave $; +#X text 414 513 $Revision: 1.5 $; +#X msg 153 422 0; +#X obj 153 401 delay 50; +#X obj 60 63 route poll; +#X msg 140 151 poll \$1; +#X obj 60 86 s \$0-poll; +#X obj 204 380 r \$0-poll; +#X obj 140 131 r \$0-poll; +#X obj 153 379 bang; +#X msg 13 422 0; +#X obj 13 401 delay 50; +#X obj 64 380 r \$0-poll; +#X obj 13 379 bang; +#X text 32 436 zero when no motion; +#X connect 0 0 29 0; #X connect 6 0 5 0; #X connect 7 0 6 0; #X connect 8 0 7 0; #X connect 13 0 12 0; #X connect 14 0 13 0; #X connect 15 0 1 0; +#X connect 15 0 38 0; #X connect 16 0 2 0; +#X connect 16 0 34 0; #X connect 17 0 15 0; #X connect 17 1 16 0; #X connect 17 2 3 0; #X connect 20 0 21 0; #X connect 21 0 17 0; #X connect 21 1 4 0; +#X connect 27 0 2 0; +#X connect 28 0 27 0; +#X connect 29 0 31 0; +#X connect 29 1 20 0; +#X connect 30 0 20 0; +#X connect 32 0 28 1; +#X connect 33 0 30 0; +#X connect 34 0 28 0; +#X connect 35 0 1 0; +#X connect 36 0 35 0; +#X connect 37 0 36 1; +#X connect 38 0 36 0; |