PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/urubu.pd

http://github.com/glerm/conSerto
Unknown | 336 lines | 336 code | 0 blank | 0 comment | 0 complexity | 2715298c1ee7612e136d05c65ecec4f1 MD5 | raw file
  1#N canvas 0 27 1024 686 10;
  2#X floatatom 27 439 5 0 0 0 - - -;
  3#X floatatom 83 439 5 0 0 0 - - -;
  4#X floatatom 63 395 6 0 0 0 - - -;
  5#X obj 191 164 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 25
  625;
  7#X floatatom 571 340 12 0 0 1 value - -;
  8#X symbolatom 531 356 15 0 0 1 event_code - -;
  9#X symbolatom 492 372 15 0 0 1 event_type - -;
 10#X text 274 332 outlet message format:;
 11#X floatatom 138 343 5 0 0 1 ev_syn - -;
 12#X obj 111 342 +;
 13#X msg 111 322 1;
 14#X obj 16 291 route key rel abs syn;
 15#X obj 244 584 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 161;
 17#X floatatom 140 439 5 0 0 0 - - -;
 18#X obj 421 394 route abs_hat0x abs_hat0y abs_hat1x abs_hat1y;
 19#X floatatom 528 575 7 0 0 0 - - -;
 20#X obj 304 250 hid 0;
 21#X text 9 212 Any non-zero value starts polling \,;
 22#X text 8 225 0 stops the polling. If the number;
 23#X text 9 238 is greater than 1 \, then the poll;
 24#X text 9 251 delay is set to that number.;
 25#X obj 27 419 route rel_x rel_y rel_z rel_wheel;
 26#X floatatom 196 439 5 0 0 0 - - -;
 27#X obj 492 321 unpack s s f;
 28#X text 298 346 event_type event_code value;
 29#X obj 63 374 route abs_x abs_y abs_z abs_rx abs_ry abs_rz abs_throttle
 30;
 31#X obj 528 591 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
 321;
 33#X floatatom 605 575 7 0 0 0 - - -;
 34#X obj 605 591 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
 35-1;
 36#X floatatom 113 395 6 0 0 0 - - -;
 37#X floatatom 163 395 6 0 0 0 - - -;
 38#X floatatom 213 395 6 0 0 0 - - -;
 39#X floatatom 263 395 6 0 0 0 - - -;
 40#X floatatom 313 395 6 0 0 0 - - -;
 41#X floatatom 363 395 6 0 0 0 - - -;
 42#X obj 353 585 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 431;
 44#X obj 326 585 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 451;
 46#X obj 299 584 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 471;
 48#X obj 188 584 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 491;
 50#X obj 271 584 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 511;
 52#X obj 159 584 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 531;
 54#X obj 216 584 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 551;
 56#X obj 488 578 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 571;
 58#X obj 456 578 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 591;
 60#X obj 309 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 611;
 62#X obj 339 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 631;
 64#X obj 369 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 651;
 66#X obj 399 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 671;
 68#X obj 9 460 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7
 69btn_8 btn_9 btn_10 btn_11 btn_12 btn_13 btn_14 btn_15;
 70#X obj 429 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 711;
 72#X obj 459 502 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
 731;
 74#X msg 25 155 debug 0;
 75#N canvas 752 103 411 235 see 0;
 76#N canvas 108 318 543 264 route 0;
 77#X obj 27 14 inlet;
 78#X obj 72 226 outlet;
 79#X obj 19 226 outlet;
 80#X obj 172 226 outlet;
 81#X obj 222 204 symbol;
 82#X obj 222 226 outlet;
 83#X obj 272 204 symbol;
 84#X obj 272 226 outlet;
 85#X obj 322 204 symbol;
 86#X obj 322 226 outlet;
 87#X obj 372 204 symbol;
 88#X obj 372 226 outlet;
 89#X obj 122 225 outlet;
 90#X obj 422 204 symbol;
 91#X obj 422 226 outlet;
 92#X obj 472 204 symbol;
 93#X obj 472 226 outlet;
 94#X obj 26 63 route open device poll total product manufacturer transport
 95type vendorID productID;
 96#X connect 0 0 17 0;
 97#X connect 4 0 5 0;
 98#X connect 6 0 7 0;
 99#X connect 8 0 9 0;
100#X connect 10 0 11 0;
101#X connect 13 0 14 0;
102#X connect 15 0 16 0;
103#X connect 17 0 2 0;
104#X connect 17 1 1 0;
105#X connect 17 2 12 0;
106#X connect 17 3 3 0;
107#X connect 17 4 4 0;
108#X connect 17 5 6 0;
109#X connect 17 6 8 0;
110#X connect 17 7 10 0;
111#X connect 17 8 13 0;
112#X connect 17 9 15 0;
113#X restore 117 70 pd route info;
114#X obj 81 96 tgl 15 0 empty empty open 0 -6 0 8 -262144 -1 -1 1 1;
115#X obj 110 22 inlet;
116#X obj 123 43 print info;
117#X symbolatom 304 93 0 0 0 0 productID - -;
118#X symbolatom 304 112 0 0 0 0 vendorID - -;
119#X symbolatom 304 151 0 0 0 0 transport - -;
120#X symbolatom 304 171 0 0 0 0 manufacturer - -;
121#X symbolatom 186 192 0 0 0 0 product - -;
122#X floatatom 97 140 5 0 0 0 device - -;
123#X floatatom 97 162 5 0 0 0 poll - -;
124#X symbolatom 304 131 0 0 0 0 type - -;
125#X floatatom 97 182 5 0 0 0 total - -;
126#X connect 0 0 1 0;
127#X connect 0 1 9 0;
128#X connect 0 2 10 0;
129#X connect 0 3 12 0;
130#X connect 0 4 8 0;
131#X connect 0 5 7 0;
132#X connect 0 6 6 0;
133#X connect 0 7 11 0;
134#X connect 0 8 5 0;
135#X connect 0 9 4 0;
136#X connect 2 0 0 0;
137#X connect 2 0 3 0;
138#X restore 420 271 pd see device info;
139#N canvas 553 77 380 450 open 0;
140#X obj 77 61 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
141-1 0;
142#X msg 78 81 open mouse \$1;
143#X obj 121 201 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
144-1 0;
145#X msg 130 221 open keyboard \$1;
146#X obj 50 13 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
147-1 0;
148#X obj 55 417 outlet;
149#X obj 85 108 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
150-1 0;
151#X msg 94 128 open joystick \$1;
152#X msg 59 33 open pointer \$1;
153#X obj 101 155 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
154-1 0;
155#X msg 110 175 open gamepad \$1;
156#X obj 137 244 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
157-1 0;
158#X msg 146 264 open keypad \$1;
159#X obj 141 291 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1
160-1 0;
161#X msg 150 311 open multiaxiscontroller \$1;
162#X text 155 342 or just open the first one:;
163#X msg 138 363 open mouse;
164#X msg 159 381 open joystick;
165#X connect 0 0 1 0;
166#X connect 1 0 5 0;
167#X connect 2 0 3 0;
168#X connect 3 0 5 0;
169#X connect 4 0 8 0;
170#X connect 6 0 7 0;
171#X connect 7 0 5 0;
172#X connect 8 0 5 0;
173#X connect 9 0 10 0;
174#X connect 10 0 5 0;
175#X connect 11 0 12 0;
176#X connect 12 0 5 0;
177#X connect 13 0 14 0;
178#X connect 14 0 5 0;
179#X connect 16 0 5 0;
180#X connect 17 0 5 0;
181#X restore 203 59 pd open by device type;
182#N canvas 796 51 470 320 open 0;
183#X text 217 82 Gravis/Destroyer Tiltpad;
184#X msg 76 81 open 0x047D 0x4008;
185#X msg 73 53 open 0x046d 0xc01d;
186#X text 211 53 Logitech USB-PS/2 Optical Mouse;
187#X obj 10 277 outlet;
188#X text 9 12 You can use the hex values of the USB vendor and product
189IDs (it is not case sensitive):;
190#X text 221 111 Overtone CUI v1.0;
191#X msg 80 110 open 0x1043 0x0015;
192#X msg 83 136 open 0x06a3 0xff12;
193#X text 221 134 Saitek Cyborgforce;
194#X connect 1 0 4 0;
195#X connect 2 0 4 0;
196#X connect 7 0 4 0;
197#X connect 8 0 4 0;
198#X restore 174 37 pd open by vendor/product ID;
199#N canvas 114 93 467 346 test 0;
200#X obj 144 45 inlet;
201#X obj 88 104 route DESKTOP;
202#X obj 87 158 route DESKTOP57;
203#X obj 70 207 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
204-1;
205#X floatatom 95 212 5 0 0 0 - - -;
206#X obj 148 215 spigot;
207#X obj 146 256 print test;
208#X obj 189 192 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
2091;
210#X obj 292 122 spigot;
211#X obj 290 163 print test;
212#X obj 333 99 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
213;
214#X connect 0 0 1 0;
215#X connect 0 0 8 0;
216#X connect 1 0 2 0;
217#X connect 2 0 3 0;
218#X connect 2 0 4 0;
219#X connect 2 0 5 0;
220#X connect 5 0 6 0;
221#X connect 7 0 5 1;
222#X connect 8 0 9 0;
223#X connect 10 0 8 1;
224#X restore 197 303 pd test;
225#N canvas 162 133 570 420 serin 0;
226#X obj 209 61 cnv 15 15 15 empty \$0-debug-canvas 0 4 8 0 14 -233017
227-1 0;
228#X obj 60 61 hradio 15 1 1 10 empty empty empty 0 -6 0 8 -261689 -1
229-1 0;
230#X obj 60 13 inlet;
231#X msg 200 202 label \$1;
232#X obj 200 180 makefilename %d;
233#X obj 59 108 int;
234#X obj 59 337 outlet;
235#X msg 201 306 set \$1 \$2;
236#X obj 59 266 trigger bang anything;
237#X obj 201 286 list;
238#X msg 60 210 debug \$1;
239#X obj 200 225 send \$0-debug-canvas;
240#X connect 1 0 5 0;
241#X connect 2 0 1 0;
242#X connect 3 0 11 0;
243#X connect 4 0 3 0;
244#X connect 5 0 4 0;
245#X connect 5 0 10 0;
246#X connect 7 0 6 0;
247#X connect 8 0 6 0;
248#X connect 8 1 9 0;
249#X connect 9 0 7 0;
250#X connect 10 0 8 0;
251#X coords 0 -1 1 1 165 17 1 60 60;
252#X restore 25 134 pd serin;
253#X msg 262 114 open 13;
254#X obj 249 300 pddp/print;
255#N canvas 162 133 570 420 serin 0;
256#X obj 286 61 cnv 15 30 15 empty \$0-open-canvas 13 4 8 0 14 -233017
257-1 0;
258#X obj 60 61 hradio 15 1 1 15 empty empty empty 0 -6 0 8 -225271 -1
259-1 13;
260#X obj 60 13 inlet;
261#X msg 200 202 label \$1;
262#X obj 200 180 makefilename %d;
263#X obj 59 108 int;
264#X obj 59 337 outlet;
265#X msg 201 306 set \$1 \$2;
266#X obj 59 266 trigger bang anything;
267#X obj 201 286 list;
268#X msg 60 210 open \$1;
269#X obj 200 225 send \$0-open-canvas;
270#X connect 1 0 5 0;
271#X connect 2 0 1 0;
272#X connect 3 0 11 0;
273#X connect 4 0 3 0;
274#X connect 5 0 4 0;
275#X connect 5 0 10 0;
276#X connect 7 0 6 0;
277#X connect 8 0 6 0;
278#X connect 8 1 9 0;
279#X connect 9 0 7 0;
280#X connect 10 0 8 0;
281#X coords 0 -1 1 1 257 17 1 60 60;
282#X restore 262 92 pd serin;
283#X connect 3 0 16 0;
284#X connect 8 0 9 1;
285#X connect 9 0 8 0;
286#X connect 10 0 9 0;
287#X connect 11 0 48 0;
288#X connect 11 1 21 0;
289#X connect 11 2 25 0;
290#X connect 11 3 10 0;
291#X connect 14 0 15 0;
292#X connect 14 1 27 0;
293#X connect 15 0 26 0;
294#X connect 16 0 11 0;
295#X connect 16 0 23 0;
296#X connect 16 0 55 0;
297#X connect 16 0 58 0;
298#X connect 16 1 52 0;
299#X connect 21 0 0 0;
300#X connect 21 1 1 0;
301#X connect 21 2 13 0;
302#X connect 21 3 22 0;
303#X connect 23 0 6 0;
304#X connect 23 1 5 0;
305#X connect 23 2 4 0;
306#X connect 25 0 2 0;
307#X connect 25 1 29 0;
308#X connect 25 2 30 0;
309#X connect 25 3 31 0;
310#X connect 25 4 32 0;
311#X connect 25 5 33 0;
312#X connect 25 6 34 0;
313#X connect 25 7 14 0;
314#X connect 27 0 28 0;
315#X connect 48 0 12 0;
316#X connect 48 1 35 0;
317#X connect 48 2 36 0;
318#X connect 48 3 37 0;
319#X connect 48 4 38 0;
320#X connect 48 5 39 0;
321#X connect 48 6 40 0;
322#X connect 48 7 41 0;
323#X connect 48 8 42 0;
324#X connect 48 9 43 0;
325#X connect 48 10 44 0;
326#X connect 48 11 45 0;
327#X connect 48 12 46 0;
328#X connect 48 13 47 0;
329#X connect 48 14 49 0;
330#X connect 48 15 50 0;
331#X connect 51 0 16 0;
332#X connect 53 0 16 0;
333#X connect 54 0 16 0;
334#X connect 56 0 51 0;
335#X connect 57 0 16 0;
336#X connect 59 0 57 0;