aboutsummaryrefslogtreecommitdiff
path: root/joystick.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-14 22:29:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-14 22:29:43 +0000
commitcb245d85d24a739ae72eebae78c3959ec42b3695 (patch)
tree2575ad5e16999ebc2ca37a61aebcd3f40905a62c /joystick.pd
parente12059711346f72f73cb3595548f75d88aef56d1 (diff)
removed the ev_ from the types
svn path=/trunk/externals/hcs/hid/; revision=2270
Diffstat (limited to 'joystick.pd')
-rw-r--r--joystick.pd60
1 files changed, 31 insertions, 29 deletions
diff --git a/joystick.pd b/joystick.pd
index 830496b..c1432c8 100644
--- a/joystick.pd
+++ b/joystick.pd
@@ -1,21 +1,16 @@
-#N canvas 353 77 803 591 10;
+#N canvas 368 109 807 595 10;
#X msg 96 64 start;
#X msg 105 83 stop;
#X obj 77 30 inlet;
#X obj 207 160 print UNKNOWN_JOYSTICK_EVENT_TYPE;
-#X text 260 134 types (1=buttons 3=abs axes);
#X obj 218 286 print UNKNOWN_JOYSTICK_EVENT_CODE;
#X obj 38 508 outlet;
-#X obj 143 327 outlet;
-#X obj 164 307 outlet;
+#X obj 180 327 outlet;
+#X obj 201 307 outlet;
#X text 52 244 codes (0=X 1=Y 6=throttle 7=rudder \, 16=hat0X \, 17=hat0Y)
;
#X obj 411 417 outlet;
-#X text 401 433 button_num;
-#X text 492 434 button_value;
-#X obj 511 418 outlet;
#X obj 77 107 hid \$1;
-#X obj 38 264 route abs_x abs_y 7 16 17 6;
#X obj 38 489 autoscale -1 1;
#X obj 68 468 outlet;
#X obj 68 449 autoscale -1 1;
@@ -23,25 +18,32 @@
#X obj 99 409 autoscale -1 1;
#X obj 130 388 outlet;
#X obj 130 369 autoscale -1 1;
-#X obj 79 139 route ev_abs ev_key;
#X obj 221 91 print RAW;
-#X obj 411 351 unpack s f f;
-#X connect 0 0 14 0;
-#X connect 1 0 14 0;
-#X connect 2 0 14 0;
-#X connect 14 0 23 0;
-#X connect 15 0 16 0;
-#X connect 15 1 18 0;
-#X connect 15 2 20 0;
-#X connect 15 3 22 0;
-#X connect 15 4 7 0;
-#X connect 15 5 8 0;
-#X connect 16 0 6 0;
-#X connect 18 0 17 0;
-#X connect 20 0 19 0;
-#X connect 22 0 21 0;
-#X connect 23 0 15 0;
-#X connect 23 1 25 0;
-#X connect 23 2 3 0;
-#X connect 25 0 10 0;
-#X connect 25 1 13 0;
+#X obj 79 139 route abs key;
+#X text 401 433 button code/value list;
+#X obj 38 264 route abs_x abs_y abs_z 16 17 6;
+#X text 91 509 X-axis;
+#X text 117 468 Y-axis;
+#X text 152 430 twist;
+#X text 11 552 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
+;
+#X text 228 566 released under the GNU GPL;
+#X text 424 566 $Author: eighthave $;
+#X text 424 553 $Revision: 1.2 $$Date: 2004-11-14 22:29:43 $;
+#X connect 0 0 10 0;
+#X connect 1 0 10 0;
+#X connect 2 0 10 0;
+#X connect 10 0 19 0;
+#X connect 11 0 5 0;
+#X connect 13 0 12 0;
+#X connect 15 0 14 0;
+#X connect 17 0 16 0;
+#X connect 19 0 21 0;
+#X connect 19 1 9 0;
+#X connect 19 2 3 0;
+#X connect 21 0 11 0;
+#X connect 21 1 13 0;
+#X connect 21 2 15 0;
+#X connect 21 3 17 0;
+#X connect 21 4 6 0;
+#X connect 21 5 7 0;