diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-28 01:27:47 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-28 01:27:47 +0000 |
commit | 923e18b2face0b0b0f13e202a894be56242fe4e0 (patch) | |
tree | 838186d3232da6a4dfd754a8665d5831d736fff7 /doc | |
parent | a88927720982bada5b9da445bac7653858cde587 (diff) |
fixed a number of annoying bugs in MacOS X; cleaned up code; now multiple [hid]s work at the same time
svn path=/trunk/externals/hcs/hid/; revision=2329
Diffstat (limited to 'doc')
-rw-r--r-- | doc/buttongate-help.pd | 3 | ||||
-rw-r--r-- | doc/hid-help.pd | 157 | ||||
-rw-r--r-- | doc/keyboard-help.pd | 9 | ||||
-rw-r--r-- | doc/keygate-help.pd | 3 | ||||
-rw-r--r-- | doc/mouse-help.pd | 7 |
5 files changed, 98 insertions, 81 deletions
diff --git a/doc/buttongate-help.pd b/doc/buttongate-help.pd index a412cad..fa46447 100644 --- a/doc/buttongate-help.pd +++ b/doc/buttongate-help.pd @@ -1,4 +1,4 @@ -#N canvas 345 96 473 510 10; +#N canvas 345 96 463 514 10; #X obj 5 2 cnv 15 450 20 empty empty [buttongate] 2 11 1 18 -233017 -66577 0; #X obj 160 287 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -29,6 +29,7 @@ optional control messages to the HID.; #X text 23 348 Keyboard keys can also be used to control this object. You can get the [hid] keycode from here:; #X obj 324 368 ev_key-list; +#X obj 422 3 pddp; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 10 0; diff --git a/doc/hid-help.pd b/doc/hid-help.pd index cc52481..543fddc 100644 --- a/doc/hid-help.pd +++ b/doc/hid-help.pd @@ -1,20 +1,20 @@ -#N canvas 307 79 928 648 10; -#X msg 455 295 abs abs_y 114 1.23605e+09; +#N canvas 67 163 909 622 10; +#X msg 455 295 rel rel_x -1 4.06142e+09; #X obj 455 274 prepend set; #X floatatom 37 484 5 0 0 0 - - -; #X floatatom 89 484 5 0 0 0 - - -; -#X msg 148 77 start; -#X msg 174 96 stop; +#X msg 158 121 start; +#X msg 158 141 stop; #X floatatom 548 354 12 0 0 1 time - -; #X obj 455 335 unpack s s f f; -#X msg 239 37 open 0; -#X msg 246 55 open 1; -#X msg 253 73 open 2; -#X msg 259 91 open 3; -#X msg 265 109 open 4; +#X msg 261 34 open 0; +#X msg 268 52 open 1; +#X msg 275 70 open 2; +#X msg 281 88 open 3; +#X msg 287 106 open 4; #X floatatom 84 439 7 0 0 0 - - -; #X floatatom 138 439 7 0 0 0 - - -; -#X obj 86 81 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 25 25 +#X obj 68 122 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 25 25 ; #X floatatom 517 370 12 0 0 1 value - -; #X symbolatom 486 386 15 0 0 1 event_code - -; @@ -44,25 +44,22 @@ #X floatatom 289 383 5 0 0 1 ev_syn - -; #X obj 262 382 +; #X msg 262 362 1; -#X msg 336 136 close; -#X msg 336 113 refresh; -#X text 397 111 refresh device list; -#X obj 717 512 all_about_hid; -#X text 608 513 For more info:; +#X msg 366 124 close; +#X msg 366 103 refresh; +#X text 427 101 refresh device list; +#X text 607 531 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.12 $$Date: 2004-11-16 01:35:35 $; +#X text 472 589 $Revision: 1.13 $$Date: 2004-11-28 01:27:47 $; #X text 473 602 $Author: eighthave $; #X floatatom 192 439 7 0 0 0 - - -; -#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 428 185 poll 20; +#X msg 366 185 poll 2; +#X text 362 170 start polling and set the poll delay in ms; #X text 387 248 event_type event_code value timestamp; -#X msg 465 180 poll 2000; -#X text 371 56 !!! This software is very much alpha \, so any aspect +#X text 358 42 !!! This software is very much alpha \, so any aspect of it could change without notice !!!; -#X obj 248 225 hid 1; #X obj 93 330 route key rel abs syn; #X obj 9 537 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; @@ -82,7 +79,7 @@ of it could change without notice !!!; 1; #X obj 335 537 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X msg 270 129 open 5; +#X msg 292 126 open 5; #X obj 9 504 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 btn_8 btn_9; #X obj 376 537 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 @@ -308,64 +305,80 @@ btn_8 btn_9; #X floatatom 640 459 7 0 0 0 - - -; #X obj 640 475 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; +#X msg 118 121 1; +#X msg 118 141 0; +#X obj 868 3 pddp; +#X obj 716 530 all_about_hid; +#X msg 366 145 print; +#X obj 247 223 hid 0; +#X text 429 125 close the device; +#X text 429 146 print the device and element lists; +#X text 10 50 Any non-zero value starts polling \,; +#X text 10 63 0 stops the polling. If the number; +#X text 10 76 is greater than 1 \, then the poll; +#X text 10 89 delay is set to that number.; +#X msg 496 185 poll 2000; #X connect 1 0 0 0; -#X connect 4 0 57 0; -#X connect 5 0 57 0; +#X connect 4 0 91 0; +#X connect 5 0 91 0; #X connect 7 0 18 0; #X connect 7 1 17 0; #X connect 7 2 16 0; #X connect 7 3 6 0; -#X connect 8 0 57 0; -#X connect 9 0 57 0; -#X connect 10 0 57 0; -#X connect 11 0 57 0; -#X connect 12 0 57 0; -#X connect 15 0 57 0; +#X connect 8 0 91 0; +#X connect 9 0 91 0; +#X connect 10 0 91 0; +#X connect 11 0 91 0; +#X connect 12 0 91 0; +#X connect 15 0 91 0; #X connect 36 0 35 0; #X connect 36 0 19 0; #X connect 37 0 36 1; #X connect 38 0 39 1; #X connect 39 0 38 0; #X connect 40 0 39 0; -#X connect 41 0 57 0; -#X connect 42 0 57 0; -#X connect 51 0 57 0; -#X connect 52 0 57 0; -#X connect 55 0 57 0; -#X connect 57 0 36 0; -#X connect 57 0 1 0; -#X connect 57 0 7 0; -#X connect 57 0 58 0; -#X connect 58 0 69 0; -#X connect 58 1 74 0; -#X connect 58 2 76 0; -#X connect 58 3 40 0; -#X connect 68 0 57 0; -#X connect 69 0 59 0; -#X connect 69 1 60 0; -#X connect 69 2 61 0; -#X connect 69 3 62 0; -#X connect 69 4 63 0; -#X connect 69 5 64 0; -#X connect 69 6 65 0; -#X connect 69 7 66 0; -#X connect 69 8 67 0; -#X connect 69 9 70 0; -#X connect 74 0 2 0; -#X connect 74 1 3 0; -#X connect 74 2 75 0; -#X connect 76 0 13 0; -#X connect 76 1 14 0; -#X connect 76 2 50 0; -#X connect 76 3 77 0; -#X connect 76 4 78 0; -#X connect 76 5 79 0; -#X connect 76 6 80 0; +#X connect 41 0 91 0; +#X connect 42 0 91 0; +#X connect 50 0 91 0; +#X connect 51 0 91 0; +#X connect 55 0 66 0; +#X connect 55 1 71 0; +#X connect 55 2 73 0; +#X connect 55 3 40 0; +#X connect 65 0 91 0; +#X connect 66 0 56 0; +#X connect 66 1 57 0; +#X connect 66 2 58 0; +#X connect 66 3 59 0; +#X connect 66 4 60 0; +#X connect 66 5 61 0; +#X connect 66 6 62 0; +#X connect 66 7 63 0; +#X connect 66 8 64 0; +#X connect 66 9 67 0; +#X connect 71 0 2 0; +#X connect 71 1 3 0; +#X connect 71 2 72 0; +#X connect 73 0 13 0; +#X connect 73 1 14 0; +#X connect 73 2 49 0; +#X connect 73 3 74 0; +#X connect 73 4 75 0; +#X connect 73 5 76 0; +#X connect 73 6 77 0; +#X connect 77 0 78 0; +#X connect 77 1 80 0; +#X connect 77 2 82 0; +#X connect 77 3 84 0; +#X connect 78 0 79 0; #X connect 80 0 81 0; -#X connect 80 1 83 0; -#X connect 80 2 85 0; -#X connect 80 3 87 0; -#X connect 81 0 82 0; -#X connect 83 0 84 0; -#X connect 85 0 86 0; -#X connect 87 0 88 0; +#X connect 82 0 83 0; +#X connect 84 0 85 0; +#X connect 86 0 91 0; +#X connect 87 0 91 0; +#X connect 90 0 91 0; +#X connect 91 0 36 0; +#X connect 91 0 1 0; +#X connect 91 0 7 0; +#X connect 91 0 55 0; +#X connect 98 0 91 0; diff --git a/doc/keyboard-help.pd b/doc/keyboard-help.pd index 90a45b4..bced959 100644 --- a/doc/keyboard-help.pd +++ b/doc/keyboard-help.pd @@ -1,5 +1,5 @@ -#N canvas 109 184 569 474 10; -#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 1 +#N canvas 109 184 567 478 10; +#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 ; #X obj 11 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; @@ -14,7 +14,7 @@ ; #X text 218 446 released under the GNU GPL; #X text 414 446 $Author: eighthave $; -#X text 414 433 $Revision: 1.1 $; +#X text 414 433 $Revision: 1.2 $; #X obj 348 402 all_about_hid; #X text 239 403 For more info:; #X msg 220 112 open 3; @@ -54,7 +54,7 @@ 1; #X obj 368 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; -#X obj 389 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 1 +#X obj 389 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 410 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; @@ -76,6 +76,7 @@ will get keyboard events.; #X obj 75 315 route key_4 key_5 key_6 key_7 key_8 key_9 key_10 key_11 key_12 key_13 key_14 key_15 key_16 key_17 key_18 key_19 key_20 key_21 key_22 key_23 key_24 key_25 key_26 key_27; +#X obj 519 3 pddp; #X connect 0 0 16 0; #X connect 4 0 2 0; #X connect 4 1 3 0; diff --git a/doc/keygate-help.pd b/doc/keygate-help.pd index e6fe9ee..f73d193 100644 --- a/doc/keygate-help.pd +++ b/doc/keygate-help.pd @@ -1,4 +1,4 @@ -#N canvas 525 201 473 470 10; +#N canvas 525 201 462 476 10; #X obj 5 2 cnv 15 450 20 empty empty [keygate] 2 11 1 18 -233017 -66577 0; #X obj 160 257 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -24,6 +24,7 @@ inlet takes the data to be gated.; #X text 18 89 The "f" key on the any keyboard controls this gate:; #X text 310 263 <-- key released; #X text 41 264 key pressed -->; +#X obj 422 3 pddp; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 14 0; diff --git a/doc/mouse-help.pd b/doc/mouse-help.pd index 7084893..53fb843 100644 --- a/doc/mouse-help.pd +++ b/doc/mouse-help.pd @@ -1,4 +1,4 @@ -#N canvas 470 274 674 468 10; +#N canvas 470 274 661 472 10; #X symbolatom 211 268 6 0 0 1 code - -; #X obj 130 106 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1; @@ -83,7 +83,7 @@ #X connect 30 0 17 0; #X connect 31 0 16 0; #X restore 425 186 pd mouse-noise 1; -#X obj 425 119 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1 +#X obj 425 119 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1; #X text 308 95 turn this on to make some noise with the mouse; #X obj 211 241 unpack symbol float; @@ -106,7 +106,7 @@ ; #X text 228 436 released under the GNU GPL; #X text 424 436 $Author: eighthave $; -#X text 424 423 $Revision: 1.8 $; +#X text 424 423 $Revision: 1.9 $; #X obj 526 382 all_about_hid; #X text 417 383 For more info:; #X obj 601 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 @@ -123,6 +123,7 @@ in each axis to calibrate it.; #X floatatom 516 165 1 0 0 0 - - -; #X msg 180 146 refresh; #X obj 130 171 mouse 0; +#X obj 619 3 pddp; #X connect 1 0 38 0; #X connect 9 0 38 0; #X connect 10 0 38 0; |