aboutsummaryrefslogtreecommitdiff
path: root/joystick.pd
diff options
context:
space:
mode:
Diffstat (limited to 'joystick.pd')
-rw-r--r--joystick.pd51
1 files changed, 26 insertions, 25 deletions
diff --git a/joystick.pd b/joystick.pd
index 5ea64cc..ef58f1a 100644
--- a/joystick.pd
+++ b/joystick.pd
@@ -1,4 +1,4 @@
-#N canvas 181 117 827 593 10;
+#N canvas 123 51 827 593 10;
#X msg 176 64 start;
#X msg 185 83 stop;
#X obj 157 30 inlet;
@@ -13,7 +13,6 @@
#X obj 183 468 outlet;
#X obj 249 428 outlet;
#X obj 315 387 outlet;
-#X obj 301 91 print RAW;
#X text 574 280 button code/value list;
#X text 171 509 X-axis;
#X text 232 468 Y-axis;
@@ -26,10 +25,10 @@
#X text 367 388 throttle/slider;
#X text 426 343 hat0x;
#X text 496 319 hat0y;
-#X obj 315 368 autoscale 0 1;
-#X obj 249 409 autoscale 0 1;
-#X obj 183 449 autoscale 0 1;
-#X obj 118 489 autoscale 0 1;
+#X obj 315 368 mapping/autoscale 0 1;
+#X obj 249 409 mapping/autoscale 0 1;
+#X obj 183 449 mapping/autoscale 0 1;
+#X obj 118 489 mapping/autoscale 0 1;
#X text 8 6 [joystick];
#X obj 159 139 route abs key ff;
#X msg 23 300 reset;
@@ -58,25 +57,27 @@ device.;
#X restore 23 110 pd reset_on_open;
#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 32 0;
-#X connect 9 0 30 0;
-#X connect 25 0 12 0;
-#X connect 26 0 11 0;
-#X connect 27 0 10 0;
-#X connect 28 0 4 0;
-#X connect 30 0 33 0;
-#X connect 30 1 8 0;
-#X connect 31 0 28 0;
-#X connect 31 0 27 0;
-#X connect 31 0 26 0;
-#X connect 31 0 25 0;
-#X connect 32 0 31 0;
-#X connect 33 0 28 0;
-#X connect 33 1 27 0;
-#X connect 33 2 26 0;
-#X connect 33 3 25 0;
-#X connect 33 4 5 0;
-#X connect 33 5 6 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 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;