diff options
Diffstat (limited to 'joystick.pd')
-rw-r--r-- | joystick.pd | 55 |
1 files changed, 30 insertions, 25 deletions
diff --git a/joystick.pd b/joystick.pd index ef58f1a..4d567eb 100644 --- a/joystick.pd +++ b/joystick.pd @@ -1,6 +1,4 @@ -#N canvas 123 51 827 593 10; -#X msg 176 64 start; -#X msg 185 83 stop; +#N canvas 123 51 723 589 10; #X obj 157 30 inlet; #X obj 287 160 print UNKNOWN_JOYSTICK_EVENT_TYPE; #X obj 118 508 outlet; @@ -58,26 +56,33 @@ device.; #X obj 118 264 route abs_x abs_y abs_rz abs_throttle abs_hat0x abs_hat0y ; #X obj 26 78 route float; -#X connect 0 0 9 0; -#X connect 1 0 9 0; -#X connect 2 0 9 0; -#X connect 2 0 33 0; -#X connect 9 0 29 0; -#X connect 24 0 12 0; -#X connect 25 0 11 0; -#X connect 26 0 10 0; -#X connect 27 0 4 0; -#X connect 29 0 32 0; -#X connect 29 1 8 0; -#X connect 30 0 27 0; -#X connect 30 0 26 0; +#X obj 256 34 loadbang; +#X obj 256 58 float \$1; +#X msg 224 84 open joystick \$1; +#X obj 156 58 route open; +#X connect 0 0 31 0; +#X connect 0 0 35 0; +#X connect 7 0 27 0; +#X connect 22 0 10 0; +#X connect 23 0 9 0; +#X connect 24 0 8 0; +#X connect 25 0 2 0; +#X connect 27 0 30 0; +#X connect 27 1 6 0; +#X connect 28 0 25 0; +#X connect 28 0 24 0; +#X connect 28 0 23 0; +#X connect 28 0 22 0; +#X connect 29 0 28 0; #X connect 30 0 25 0; -#X connect 30 0 24 0; -#X connect 31 0 30 0; -#X connect 32 0 27 0; -#X connect 32 1 26 0; -#X connect 32 2 25 0; -#X connect 32 3 24 0; -#X connect 32 4 5 0; -#X connect 32 5 6 0; -#X connect 33 1 31 0; +#X connect 30 1 24 0; +#X connect 30 2 23 0; +#X connect 30 3 22 0; +#X connect 30 4 3 0; +#X connect 30 5 4 0; +#X connect 31 1 29 0; +#X connect 32 0 33 0; +#X connect 33 0 34 0; +#X connect 34 0 7 0; +#X connect 35 0 34 0; +#X connect 35 1 7 0; |