aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-15 04:05:39 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-11-15 04:05:39 +0000
commit742e122ef16d2538803a3d40596ca9bd4b3f2112 (patch)
tree83c42d6f1ccf1025ad59e2649fc4633a51d27722 /doc
parentcb245d85d24a739ae72eebae78c3959ec42b3695 (diff)
converted button codes to a numbered scheme; added [buttongate]
svn path=/trunk/externals/hcs/hid/; revision=2275
Diffstat (limited to 'doc')
-rw-r--r--doc/buttongate-help.pd24
-rw-r--r--doc/hid-help.pd98
-rw-r--r--doc/joystick-help.pd16
-rw-r--r--doc/mouse-help.pd47
4 files changed, 121 insertions, 64 deletions
diff --git a/doc/buttongate-help.pd b/doc/buttongate-help.pd
new file mode 100644
index 0000000..e990139
--- /dev/null
+++ b/doc/buttongate-help.pd
@@ -0,0 +1,24 @@
+#N canvas 11 255 460 423 10;
+#X obj 5 2 cnv 15 450 20 empty empty buttongate] 2 11 1 18 -233017
+-66577 0;
+#X obj 98 306 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 98 149 loadbang;
+#X msg 98 169 1;
+#X obj 98 197 metro 150;
+#X text 27 380 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
+;
+#X text 244 394 released under the GNU GPL;
+#X obj 327 332 all_about_hid;
+#X text 218 333 For more info:;
+#X text 17 38 [buttongate] is a simple gate controlled by a HID button.
+You must specify the device and the button which controls the gate.
+The left inlet takes the data to be gated. The right inlet is for sending
+optional control messages to the HID.;
+#X obj 98 242 buttongate 0 btn_0;
+#X text 18 119 The first button on the first device controls this gate:
+;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 10 0;
+#X connect 10 0 1 0;
diff --git a/doc/hid-help.pd b/doc/hid-help.pd
index 8e43b8b..4692b04 100644
--- a/doc/hid-help.pd
+++ b/doc/hid-help.pd
@@ -1,5 +1,5 @@
-#N canvas 267 62 963 686 10;
-#X msg 430 325 rel rel_x 0 3.31743e+09;
+#N canvas 148 25 908 628 10;
+#X msg 430 325 rel rel_y -6 1.10049e+09;
#X obj 430 304 prepend set;
#X obj 149 473 route rel_x rel_y;
#X floatatom 149 493 5 0 0 0 - - -;
@@ -15,7 +15,7 @@
#X msg 265 129 open 4;
#X floatatom 206 454 7 0 0 0 - - -;
#X floatatom 264 454 7 0 0 0 - - -;
-#X obj 86 81 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 25
+#X obj 86 81 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 25 25
;
#X floatatom 490 402 12 0 0 1 value - -;
#X symbolatom 459 419 10 0 0 1 event_code - -;
@@ -48,15 +48,12 @@
#X msg 336 136 close;
#X msg 336 113 refresh;
#X text 397 111 refresh device list;
-#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 746 556 all_about_hid;
-#X text 637 557 For more info:;
+#X obj 717 512 all_about_hid;
+#X text 608 513 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.9 $$Date: 2004-11-14 22:29:43 $;
+#X text 472 589 $Revision: 1.10 $$Date: 2004-11-15 04:05:39 $;
#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 - - -;
@@ -69,41 +66,74 @@
of it could change without notice !!!;
#X obj 248 225 hid 1;
#X obj 93 345 route key rel abs syn;
+#X obj 53 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
+;
+#X obj 93 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
+;
+#X obj 134 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X obj 175 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X obj 216 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X obj 257 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X obj 297 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X obj 338 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X obj 379 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X msg 270 149 open 5;
+#X obj 53 519 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7
+btn_8 btn_9;
+#X obj 420 552 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
-#X connect 5 0 61 0;
-#X connect 6 0 61 0;
+#X connect 5 0 59 0;
+#X connect 6 0 59 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 61 0;
-#X connect 10 0 61 0;
-#X connect 11 0 61 0;
-#X connect 12 0 61 0;
-#X connect 13 0 61 0;
-#X connect 16 0 61 0;
+#X connect 9 0 59 0;
+#X connect 10 0 59 0;
+#X connect 11 0 59 0;
+#X connect 12 0 59 0;
+#X connect 13 0 59 0;
+#X connect 16 0 59 0;
#X connect 37 0 36 0;
#X connect 37 0 20 0;
#X connect 38 0 37 1;
#X connect 39 0 40 1;
#X connect 40 0 39 0;
#X connect 41 0 40 0;
-#X connect 42 0 61 0;
-#X connect 43 0 61 0;
-#X connect 45 1 46 0;
-#X connect 53 0 14 0;
-#X connect 53 1 15 0;
-#X connect 53 2 54 0;
-#X connect 55 0 61 0;
-#X connect 56 0 61 0;
-#X connect 59 0 61 0;
-#X connect 61 0 37 0;
-#X connect 61 0 1 0;
-#X connect 61 0 8 0;
-#X connect 61 0 62 0;
-#X connect 62 0 45 0;
-#X connect 62 1 2 0;
-#X connect 62 2 53 0;
-#X connect 62 3 41 0;
+#X connect 42 0 59 0;
+#X connect 43 0 59 0;
+#X connect 51 0 14 0;
+#X connect 51 1 15 0;
+#X connect 51 2 52 0;
+#X connect 53 0 59 0;
+#X connect 54 0 59 0;
+#X connect 57 0 59 0;
+#X connect 59 0 37 0;
+#X connect 59 0 1 0;
+#X connect 59 0 8 0;
+#X connect 59 0 60 0;
+#X connect 60 0 71 0;
+#X connect 60 1 2 0;
+#X connect 60 2 51 0;
+#X connect 60 3 41 0;
+#X connect 70 0 59 0;
+#X connect 71 0 61 0;
+#X connect 71 1 62 0;
+#X connect 71 2 63 0;
+#X connect 71 3 64 0;
+#X connect 71 4 65 0;
+#X connect 71 5 66 0;
+#X connect 71 6 67 0;
+#X connect 71 7 68 0;
+#X connect 71 8 69 0;
+#X connect 71 9 72 0;
diff --git a/doc/joystick-help.pd b/doc/joystick-help.pd
index 9013a0b..9d8ef20 100644
--- a/doc/joystick-help.pd
+++ b/doc/joystick-help.pd
@@ -1,5 +1,5 @@
#N canvas 96 237 669 433 10;
-#X obj 168 41 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1
+#X obj 168 41 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1
;
#X floatatom 63 184 7 0 0 3 Y-axis - -;
#X floatatom 9 184 7 0 0 3 X-axis - -;
@@ -35,17 +35,17 @@ btn_9;
#X obj 2 2 cnv 15 650 20 empty empty [joystick] 2 11 1 18 -233017 -66577
0;
#X msg 215 43 open 1;
-#X msg 220 62 open 2;
-#X msg 225 81 open 3;
#X text 1 382 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 218 396 released under the GNU GPL;
#X text 414 396 $Author: eighthave $;
-#X text 414 383 $Revision: 1.2 $;
+#X text 414 383 $Revision: 1.3 $;
#X obj 526 350 all_about_hid;
#X text 417 351 For more info:;
#X floatatom 225 184 5 0 0 0 - - -;
#X floatatom 268 184 5 0 0 0 - - -;
+#X msg 220 62 open 3;
+#X msg 225 81 open 4;
#X connect 0 0 14 0;
#X connect 9 0 3 0;
#X connect 9 1 4 0;
@@ -61,12 +61,12 @@ btn_9;
#X connect 14 1 1 0;
#X connect 14 2 7 0;
#X connect 14 3 8 0;
-#X connect 14 4 31 0;
-#X connect 14 5 32 0;
+#X connect 14 4 29 0;
+#X connect 14 5 30 0;
#X connect 14 6 19 0;
#X connect 14 6 9 0;
#X connect 19 0 17 0;
#X connect 19 1 18 0;
#X connect 22 0 14 0;
-#X connect 23 0 14 0;
-#X connect 24 0 14 0;
+#X connect 31 0 14 0;
+#X connect 32 0 14 0;
diff --git a/doc/mouse-help.pd b/doc/mouse-help.pd
index 3bac550..db4eda7 100644
--- a/doc/mouse-help.pd
+++ b/doc/mouse-help.pd
@@ -6,11 +6,11 @@
#X floatatom 140 218 5 0 0 3 wheel - -;
#X floatatom 85 218 7 0 0 3 Y - -;
#X floatatom 31 218 7 0 0 3 X - -;
-#X obj 193 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 193 285 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
-#X obj 238 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 238 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
-#X obj 284 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 283 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X msg 175 43 open 0;
#X msg 180 62 open 1;
@@ -55,29 +55,31 @@
#X obj 130 111 mouse 1;
#X obj 211 191 unpack symbol float;
#X text 282 234 buttons;
-#X obj 193 264 route btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 btn_8
-;
-#X obj 330 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 329 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
-#X obj 376 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 374 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
-#X obj 421 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 419 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
-#X obj 467 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 465 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
-#X obj 513 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 510 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 2 2 cnv 15 650 20 empty empty [mouse] 2 11 1 18 -233017 -66577
0;
-#X obj 559 287 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+#X obj 555 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X text 1 372 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 218 386 released under the GNU GPL;
#X text 414 386 $Author: eighthave $;
-#X text 414 373 $Revision: 1.4 $;
+#X text 414 373 $Revision: 1.5 $;
#X obj 526 340 all_about_hid;
#X text 417 341 For more info:;
+#X obj 601 284 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
+1;
+#X obj 193 264 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7
+btn_8;
#X connect 1 0 18 0;
#X connect 9 0 18 0;
#X connect 10 0 18 0;
@@ -90,15 +92,16 @@
#X connect 18 1 4 0;
#X connect 18 2 3 0;
#X connect 18 3 19 0;
-#X connect 18 3 21 0;
+#X connect 18 3 35 0;
#X connect 19 0 0 0;
#X connect 19 1 2 0;
-#X connect 21 0 6 0;
-#X connect 21 1 7 0;
-#X connect 21 2 8 0;
-#X connect 21 3 22 0;
-#X connect 21 4 23 0;
-#X connect 21 5 24 0;
-#X connect 21 6 25 0;
-#X connect 21 7 26 0;
-#X connect 21 8 28 0;
+#X connect 35 0 6 0;
+#X connect 35 1 7 0;
+#X connect 35 2 8 0;
+#X connect 35 3 21 0;
+#X connect 35 4 22 0;
+#X connect 35 5 23 0;
+#X connect 35 6 24 0;
+#X connect 35 7 25 0;
+#X connect 35 8 27 0;
+#X connect 35 9 34 0;