aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-07 16:28:25 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-07 16:28:25 +0000
commite12059711346f72f73cb3595548f75d88aef56d1 (patch)
treefd910602259935d5627e923d948dcd5672122d72 /doc
parent4aa91d68179f533679edf1ab69405d47ace09ec4 (diff)
cleaned up the code a fair amount, but there are still lots of bugs bugs bugs...
svn path=/trunk/externals/hcs/hid/; revision=2238
Diffstat (limited to 'doc')
-rw-r--r--doc/hid-help.pd133
-rw-r--r--doc/mouse-help.pd34
2 files changed, 121 insertions, 46 deletions
diff --git a/doc/hid-help.pd b/doc/hid-help.pd
index 2b56758..340480f 100644
--- a/doc/hid-help.pd
+++ b/doc/hid-help.pd
@@ -1,5 +1,5 @@
-#N canvas 143 45 927 650 10;
-#X msg 390 265 ev_rel rel_x 0 4.08559e+09;
+#N canvas 156 27 943 666 10;
+#X msg 390 265 ev_rel rel_x 2 3.57445e+09;
#X obj 390 244 prepend set;
#X obj 149 473 route rel_x rel_y;
#X floatatom 149 493 5 0 0 0 - - -;
@@ -20,10 +20,6 @@
#X floatatom 500 392 12 0 0 1 value - -;
#X symbolatom 468 409 10 0 0 1 eventcode - -;
#X symbolatom 438 428 15 0 0 1 eventtype - -;
-#X floatatom 93 536 5 0 0 0 - - -;
-#X floatatom 168 537 5 0 0 0 - - -;
-#X obj 93 514 route key_f key_leftctrl btn_left;
-#X floatatom 243 537 5 0 0 0 - - -;
#X obj 177 296 bng 35 250 50 0 empty empty event_received 38 18 1 9
-225280 -1 -1;
#X obj 2 2 cnv 15 900 20 empty empty [hid] 2 11 1 18 -233017 -66577
@@ -55,15 +51,15 @@
#X msg 336 113 refresh;
#X text 397 111 refresh device list;
#X obj 248 225 hid 2;
-#X obj 337 514 unpack s f f;
-#X obj 376 532 tgl 25 0 empty empty any_button 27 13 1 9 -195568 -1
+#X obj 94 524 unpack s f f;
+#X obj 133 542 tgl 25 0 empty empty any_button 27 13 1 9 -195568 -1
-1 0 1;
-#X obj 740 511 all_about_hid;
-#X text 631 512 For more info:;
+#X obj 746 556 all_about_hid;
+#X text 637 557 For more info:;
#X text 49 588 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 266 602 released under the GNU GPL;
-#X text 472 589 $Revision: 1.7 $$Date: 2004-11-06 21:15:04 $;
+#X text 472 589 $Revision: 1.8 $$Date: 2004-11-07 16:28:25 $;
#X text 473 602 $Author: eighthave $;
#X obj 206 433 route abs_x abs_y abs_z;
#X floatatom 322 454 7 0 0 0 - - -;
@@ -74,45 +70,92 @@
#X msg 465 180 poll 2000;
#X text 371 56 !!! This software is very much alpha \, so any aspect
of it could change without notice !!!;
+#X text 650 400 REFRESH RATES;
+#X text 660 415 ADB = 15.5 ms;
+#X text 660 430 USB mice on Windows = 8-10 ms;
+#X text 660 445 USB mice on GNU/Linux = 1-10 ms;
+#X text 660 460 USB wireless mice = 12-20 ms;
+#X text 660 475 PS/2 mouse = 5-25 ms;
+#X text 660 490 P5 Glove = 22 ms;
+#N canvas 0 22 454 304 JustFOrTestng 0;
+#X msg 390 265 ev_rel rel_x 0 2.56485e+09;
+#X obj 390 244 prepend set;
+#X msg 148 77 start;
+#X msg 174 96 stop;
+#X msg 239 57 open 0;
+#X msg 246 75 open 1;
+#X msg 253 93 open 2;
+#X msg 259 111 open 3;
+#X msg 265 129 open 4;
+#X obj 86 81 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 25
+;
+#X obj 223 266 spigot;
+#X obj 269 266 tgl 17 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X msg 336 136 close;
+#X text 380 136 probably not needed;
+#X msg 336 113 refresh;
+#X text 397 111 refresh device list;
+#X msg 398 180 poll 20;
+#X msg 336 180 poll 2;
+#X text 332 159 start polling and set the poll delay in ms;
+#X msg 465 180 poll 2000;
+#X text 371 56 !!! This software is very much alpha \, so any aspect
+of it could change without notice !!!;
+#X obj 248 225 hid 1;
+#X connect 1 0 0 0;
+#X connect 2 0 21 0;
+#X connect 3 0 21 0;
+#X connect 4 0 21 0;
+#X connect 5 0 21 0;
+#X connect 6 0 21 0;
+#X connect 7 0 21 0;
+#X connect 8 0 21 0;
+#X connect 9 0 21 0;
+#X connect 11 0 10 1;
+#X connect 12 0 21 0;
+#X connect 14 0 21 0;
+#X connect 16 0 21 0;
+#X connect 17 0 21 0;
+#X connect 19 0 21 0;
+#X connect 21 0 10 0;
+#X connect 21 0 1 0;
+#X restore 446 483 pd JustFOrTestng;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
-#X connect 5 0 51 0;
-#X connect 6 0 51 0;
+#X connect 5 0 47 0;
+#X connect 6 0 47 0;
#X connect 8 0 19 0;
#X connect 8 1 18 0;
#X connect 8 2 17 0;
#X connect 8 3 7 0;
-#X connect 9 0 51 0;
-#X connect 10 0 51 0;
-#X connect 11 0 51 0;
-#X connect 12 0 51 0;
-#X connect 13 0 51 0;
-#X connect 16 0 51 0;
-#X connect 22 0 20 0;
-#X connect 22 1 21 0;
-#X connect 22 2 23 0;
-#X connect 22 3 52 0;
+#X connect 9 0 47 0;
+#X connect 10 0 47 0;
+#X connect 11 0 47 0;
+#X connect 12 0 47 0;
+#X connect 13 0 47 0;
+#X connect 16 0 47 0;
+#X connect 37 0 36 0;
+#X connect 37 0 20 0;
+#X connect 38 0 37 1;
+#X connect 39 0 48 0;
+#X connect 39 1 2 0;
+#X connect 39 2 56 0;
+#X connect 39 3 42 0;
+#X connect 40 0 41 1;
#X connect 41 0 40 0;
-#X connect 41 0 24 0;
-#X connect 42 0 41 1;
-#X connect 43 0 22 0;
-#X connect 43 1 2 0;
-#X connect 43 2 60 0;
-#X connect 43 3 46 0;
-#X connect 44 0 45 1;
-#X connect 45 0 44 0;
-#X connect 46 0 45 0;
-#X connect 47 0 51 0;
-#X connect 49 0 51 0;
-#X connect 51 0 41 0;
-#X connect 51 0 43 0;
-#X connect 51 0 1 0;
-#X connect 51 0 8 0;
-#X connect 52 1 53 0;
-#X connect 60 0 14 0;
-#X connect 60 1 15 0;
-#X connect 60 2 61 0;
-#X connect 62 0 51 0;
-#X connect 63 0 51 0;
-#X connect 66 0 51 0;
+#X connect 42 0 41 0;
+#X connect 43 0 47 0;
+#X connect 45 0 47 0;
+#X connect 47 0 37 0;
+#X connect 47 0 39 0;
+#X connect 47 0 1 0;
+#X connect 47 0 8 0;
+#X connect 48 1 49 0;
+#X connect 56 0 14 0;
+#X connect 56 1 15 0;
+#X connect 56 2 57 0;
+#X connect 58 0 47 0;
+#X connect 59 0 47 0;
+#X connect 62 0 47 0;
diff --git a/doc/mouse-help.pd b/doc/mouse-help.pd
index 3ec4b50..0280fbc 100644
--- a/doc/mouse-help.pd
+++ b/doc/mouse-help.pd
@@ -1,4 +1,4 @@
-#N canvas 138 201 676 441 10;
+#N canvas 225 161 684 449 10;
#X symbolatom 233 198 0 0 0 0 - - -;
#X obj 200 36 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1
;
@@ -30,6 +30,34 @@
#X msg 250 42 open 1;
#X msg 255 61 open 2;
#X obj 200 91 mouse 1;
+#N canvas 462 248 604 514 mouse-noise 0;
+#X obj 90 55 inlet;
+#X obj 113 173 mouse \$1;
+#X obj 180 294 noise~;
+#X obj 125 293 osc~;
+#X obj 125 266 * 4000;
+#X obj 113 367 *~;
+#X msg 162 103 \; pd dsp 1;
+#X obj 103 418 dac~;
+#X obj 91 78 t f a b;
+#X connect 0 0 8 0;
+#X connect 1 0 5 0;
+#X connect 1 1 4 0;
+#X connect 2 0 5 1;
+#X connect 3 0 5 1;
+#X connect 4 0 3 0;
+#X connect 5 0 7 0;
+#X connect 5 0 7 1;
+#X connect 8 0 5 0;
+#X connect 8 1 1 0;
+#X connect 8 2 6 0;
+#X restore 464 163 pd mouse-noise 1;
+#X msg 505 95 open 0;
+#X msg 510 114 open 1;
+#X msg 515 133 open 2;
+#X obj 464 96 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1
+;
+#X text 347 72 turn this on to make some noise with the mouse;
#X connect 1 0 20 0;
#X connect 9 0 6 0;
#X connect 9 1 7 0;
@@ -48,3 +76,7 @@
#X connect 20 2 3 0;
#X connect 20 3 0 0;
#X connect 20 4 2 0;
+#X connect 22 0 21 0;
+#X connect 23 0 21 0;
+#X connect 24 0 21 0;
+#X connect 25 0 21 0;