diff options
Diffstat (limited to 'linuxjoystick-help.pd')
-rw-r--r-- | linuxjoystick-help.pd | 127 |
1 files changed, 65 insertions, 62 deletions
diff --git a/linuxjoystick-help.pd b/linuxjoystick-help.pd index 874aaa5..49ded5d 100644 --- a/linuxjoystick-help.pd +++ b/linuxjoystick-help.pd @@ -1,83 +1,86 @@ -#N canvas 107 356 731 483 10; -#X floatatom 324 292 2 0 0 3 button# - -; -#X floatatom 381 291 2 0 0 3 button_value - -; -#X floatatom 70 292 5 0 0 3 y-axis - -; -#X floatatom 23 292 5 0 0 3 x-axis - -; -#X floatatom 169 293 3 0 0 3 hat-X - -; -#X floatatom 215 293 3 0 0 3 hat-Y - -; -#X floatatom 119 293 5 0 0 3 twist - -; -#X floatatom 258 292 5 0 0 3 throttle - -; -#X obj 119 235 linuxjoystick /dev/input/event1; -#X obj 211 364 select 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 +#N canvas 328 99 714 506 10; +#X floatatom 324 281 2 0 0 3 button# - -; +#X floatatom 381 280 2 0 0 3 button_value - -; +#X floatatom 70 281 5 0 0 3 y-axis - -; +#X floatatom 23 281 5 0 0 3 x-axis - -; +#X floatatom 169 282 3 0 0 3 hat-X - -; +#X floatatom 215 282 3 0 0 3 hat-Y - -; +#X floatatom 119 282 5 0 0 3 twist - -; +#X floatatom 258 281 5 0 0 3 throttle - -; +#X obj 119 224 linuxjoystick /dev/input/event1; +#X obj 196 353 select 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21; -#X obj 211 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 196 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 229 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 214 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 248 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 233 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 266 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 251 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 285 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 270 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 303 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 288 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 322 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 307 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 629 403 bng 30 250 50 0 empty empty not_recognized 0 -6 0 8 +#X obj 614 392 bng 30 250 50 0 empty empty not_recognized 0 -6 0 8 -261689 -1 -1; -#X obj 600 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 585 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 581 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 566 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 563 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 548 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 544 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 529 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 526 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 511 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 507 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 492 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 489 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 474 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 470 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 455 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 452 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 437 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 433 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 418 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 415 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 400 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 396 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 381 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 377 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 362 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 359 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 344 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 340 403 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 325 392 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 366 332 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 366 321 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 20 9 cnv 15 700 30 empty empty linuxjoystick 20 12 1 16 -257472 +#X obj 4 4 cnv 15 700 30 empty empty [linuxjoystick] 20 12 1 16 -257472 -66577 0; -#X text 502 17 related HID objects:; -#X obj 653 16 linuxhid; -#X msg 214 136 start; -#X msg 214 157 stop; -#X obj 156 118 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 67 118 metro 20; -#X text 335 194 time between polls (ms); -#X obj 67 96 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 87 96 stop; -#X msg 268 194 delay 20; -#X obj 156 69 key; -#X msg 278 135 poll; -#X msg 278 156 nopoll; -#X text 195 117 start/stop polling (synonyms for the same thing); -#X obj 156 89 sel 98; -#X text 202 89 <- (type 'b' for a bang); +#X msg 214 125 start; +#X msg 214 146 stop; +#X obj 156 107 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 67 107 metro 20; +#X text 335 183 time between polls (ms); +#X obj 67 85 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 87 85 stop; +#X msg 268 183 delay 20; +#X obj 156 58 key; +#X msg 278 124 poll; +#X msg 278 145 nopoll; +#X text 195 106 start/stop polling (synonyms for the same thing); +#X obj 156 78 sel 98; +#X text 202 78 <- (type 'b' for a bang); +#X obj 668 10 pddp; +#X text 428 449 For more info on HIDs:; +#X obj 590 448 all_about_hid; +#X text 38 481 by Hans-Christoph Steiner <hans@at.or.at>; +#X text 490 479 updated for Pd version 0.37.1; #X connect 0 0 9 0; #X connect 1 0 33 0; #X connect 8 0 3 0; @@ -112,14 +115,14 @@ #X connect 9 21 18 0; #X connect 9 22 17 0; #X connect 33 0 0 0; +#X connect 35 0 8 0; +#X connect 36 0 8 0; #X connect 37 0 8 0; #X connect 38 0 8 0; -#X connect 39 0 8 0; -#X connect 40 0 8 0; -#X connect 42 0 40 0; -#X connect 43 0 40 0; +#X connect 40 0 38 0; +#X connect 41 0 38 0; +#X connect 42 0 8 0; +#X connect 43 0 47 0; #X connect 44 0 8 0; -#X connect 45 0 49 0; -#X connect 46 0 8 0; -#X connect 47 0 8 0; -#X connect 49 0 39 0; +#X connect 45 0 8 0; +#X connect 47 0 37 0; |