aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/pd_abstractions/#mouse.pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/gridflow/pd_abstractions/#mouse.pd')
-rw-r--r--externals/gridflow/pd_abstractions/#mouse.pd93
1 files changed, 93 insertions, 0 deletions
diff --git a/externals/gridflow/pd_abstractions/#mouse.pd b/externals/gridflow/pd_abstractions/#mouse.pd
new file mode 100644
index 00000000..7e87688e
--- /dev/null
+++ b/externals/gridflow/pd_abstractions/#mouse.pd
@@ -0,0 +1,93 @@
+#N canvas 313 211 690 428 10;
+#X obj 23 103 listsublist 0 2;
+#X obj 48 64 fork;
+#X obj 126 181 fork;
+#X text 153 149 is button pressed?;
+#X obj 129 209 -;
+#X obj 125 150 > 0;
+#X obj 183 86 listelement 2;
+#X obj 120 377 outlet;
+#X text 161 183 1=click \, 0=nochange \, -1=unclick;
+#X text 157 36 list (y \, x \, buttons);
+#X obj 49 8 inlet;
+#X obj 48 34 route position;
+#X text 93 8 compatible with output of [#out window];
+#X obj 142 246 inv+ 1;
+#X obj 98 397 outlet;
+#X obj 142 356 outlet;
+#X text 431 330 three toggle-compatible outputs;
+#X text 432 346 and one +1/0/-1 for the wheel;
+#X text 147 397 click;
+#X text 193 357 unclick;
+#X obj 468 60 listelement 2;
+#X obj 430 301 outlet;
+#X obj 480 301 outlet;
+#X obj 530 301 outlet;
+#X obj 580 301 outlet;
+#X obj 430 273 change;
+#X obj 108 63 fork;
+#X obj 468 86 #outer >> ( 8 9 10 11 12 );
+#X obj 469 115 # & 1;
+#X obj 469 173 unpack 0 0 0 0 0;
+#X obj 549 241 inv+;
+#X obj 480 274 change;
+#X obj 530 275 change;
+#X obj 580 276 change;
+#X obj 469 145 #export_list;
+#X obj 163 335 outlet;
+#X text 172 378 drag;
+#X text 214 337 move;
+#X obj 163 275 inv+ 1;
+#X obj 389 16 inlet;
+#X text 433 9 list of 3 toggles;
+#X text 434 23 which buttons should be active;
+#X obj 347 81 # << ( 8 9 10 );
+#X obj 345 107 #fold +;
+#X obj 345 131 #export;
+#X obj 125 126 &;
+#X text 151 126 check only wanted buttons;
+#X obj 305 33 loadbang;
+#X msg 305 57 1 1 1;
+#X obj 98 269 shunt 3;
+#X obj 120 302 shunt 2;
+#X connect 0 0 49 0;
+#X connect 1 0 0 0;
+#X connect 1 1 6 0;
+#X connect 2 0 4 1;
+#X connect 2 1 4 0;
+#X connect 2 1 38 0;
+#X connect 4 0 13 0;
+#X connect 5 0 2 0;
+#X connect 6 0 45 0;
+#X connect 10 0 11 0;
+#X connect 11 0 26 0;
+#X connect 13 0 49 1;
+#X connect 20 0 27 0;
+#X connect 25 0 21 0;
+#X connect 26 0 1 0;
+#X connect 26 1 20 0;
+#X connect 27 0 28 0;
+#X connect 28 0 34 0;
+#X connect 29 0 25 0;
+#X connect 29 1 31 0;
+#X connect 29 2 32 0;
+#X connect 29 3 30 0;
+#X connect 29 4 30 1;
+#X connect 30 0 33 0;
+#X connect 31 0 22 0;
+#X connect 32 0 23 0;
+#X connect 33 0 24 0;
+#X connect 34 0 29 0;
+#X connect 38 0 50 1;
+#X connect 39 0 42 0;
+#X connect 42 0 43 0;
+#X connect 43 0 44 0;
+#X connect 44 0 45 1;
+#X connect 45 0 5 0;
+#X connect 47 0 48 0;
+#X connect 48 0 42 0;
+#X connect 49 0 14 0;
+#X connect 49 1 50 0;
+#X connect 49 2 15 0;
+#X connect 50 0 7 0;
+#X connect 50 1 35 0;