aboutsummaryrefslogtreecommitdiff
path: root/usbhid-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-24 13:02:37 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-24 13:02:37 +0000
commit6960854d997b46424411c6c569a3aa3270e7014f (patch)
tree2bf76ff8f31fc14273b31f199cb6e37f817407e7 /usbhid-help.pd
parentdfca1e5aed7688bdb48559ea6d57c05b2ea256f9 (diff)
got reading working, and some descriptor reporting working, but it doesn't make sense yet
svn path=/trunk/externals/hcs/; revision=5115
Diffstat (limited to 'usbhid-help.pd')
-rw-r--r--usbhid-help.pd106
1 files changed, 87 insertions, 19 deletions
diff --git a/usbhid-help.pd b/usbhid-help.pd
index d00b3a0..bc152a6 100644
--- a/usbhid-help.pd
+++ b/usbhid-help.pd
@@ -1,26 +1,94 @@
-#N canvas 338 93 597 475 10;
+#N canvas 338 93 633 511 10;
#X obj 111 373 usbhid;
-#X msg 125 14 bang;
-#X msg 185 98 close;
-#X msg 185 124 reset;
-#X obj 84 408 print left;
+#X msg 184 111 close;
+#X msg 184 137 reset;
+#X obj 6 408 print left;
#X obj 175 410 print right;
-#X text 196 161 [read page# usage# ...(;
-#X text 209 210 [write page# usage# ...(;
-#X msg 218 231 set write 1 30 1 31 1 38;
-#X text 233 258 GARBAGE FOR TESTING;
-#X msg 250 292 set read 1 30 word 1 31 1 38;
-#X msg 198 142 print;
-#X msg 177 78 open 1149 16392;
-#X text 298 78 Gravis/Destroyer Tiltpad;
-#X msg 205 182 set read 1 30 1 31;
-#X connect 0 0 4 0;
-#X connect 0 1 5 0;
+#X text 195 174 [read page# usage# ...(;
+#X text 208 223 [write page# usage# ...(;
+#X msg 217 244 set write 1 30 1 31 1 38;
+#X text 233 288 GARBAGE FOR TESTING;
+#X msg 250 322 set read 1 30 word 1 31 1 38;
+#X msg 197 155 print;
+#X msg 176 91 open 1149 16392;
+#X text 297 91 Gravis/Destroyer Tiltpad;
+#X text 261 63 Microsoft 5-button Mouse;
+#X msg 171 63 open 1118 57;
+#X msg 159 42 open 1452 517;
+#X text 258 42 Mitsumi Electric Apple Extended USB Keyboard;
+#X msg 258 350 open 1118 57 \, get read;
+#X msg 204 195 set read 1 2 1 48;
+#X msg 221 267 get read;
+#N canvas 0 22 454 304 buttons 0;
+#X obj 99 36 inlet;
+#X obj 63 108 & 1;
+#X obj 63 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X obj 93 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X obj 123 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+4;
+#X obj 153 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+8;
+#X obj 183 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+16;
+#X obj 223 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 263 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 303 130 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X obj 93 108 & 2;
+#X obj 123 108 & 4;
+#X obj 153 108 & 8;
+#X obj 183 108 & 16;
+#X obj 223 108 & 32;
+#X obj 263 108 & 64;
+#X obj 303 108 & 128;
+#X connect 0 0 1 0;
+#X connect 0 0 10 0;
+#X connect 0 0 11 0;
+#X connect 0 0 12 0;
+#X connect 0 0 13 0;
+#X connect 0 0 14 0;
+#X connect 0 0 15 0;
+#X connect 0 0 16 0;
+#X connect 1 0 2 0;
+#X connect 10 0 3 0;
+#X connect 11 0 4 0;
+#X connect 12 0 5 0;
+#X connect 13 0 6 0;
+#X connect 14 0 7 0;
+#X connect 15 0 8 0;
+#X connect 16 0 9 0;
+#X restore 44 482 pd buttons test;
+#X obj 106 429 unpack float float float float;
+#X obj 44 83 metro 400;
+#X obj 46 57 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X floatatom 165 466 5 0 0 0 - - -;
+#X floatatom 235 467 5 0 0 0 - - -;
+#X floatatom 315 462 5 0 0 0 - - -;
+#X msg 44 104 read 4;
+#X msg 50 11 open vendorId productId;
+#X text 220 11 these are in decimal \, rather than the usual hex;
+#X connect 0 0 21 0;
+#X connect 0 1 4 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
-#X connect 3 0 0 0;
-#X connect 8 0 0 0;
+#X connect 7 0 0 0;
+#X connect 9 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 0 0;
-#X connect 12 0 0 0;
#X connect 14 0 0 0;
+#X connect 15 0 0 0;
+#X connect 17 0 0 0;
+#X connect 18 0 0 0;
+#X connect 19 0 0 0;
+#X connect 21 0 20 0;
+#X connect 21 1 24 0;
+#X connect 21 2 25 0;
+#X connect 21 3 26 0;
+#X connect 22 0 27 0;
+#X connect 23 0 22 0;
+#X connect 27 0 0 0;