diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-25 02:43:02 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-11-25 02:43:02 +0000 |
commit | a425a8aca3765a29750b2786277ad4f50f29d893 (patch) | |
tree | dd0a99be9d74d6325ac26eb3cd7733527b8b350c /doc | |
parent | 6ff3881e691f42cc6ebe899d6b75031ac5542ee0 (diff) |
created [buttongate] and [keygate] following [gate]
svn path=/trunk/externals/hcs/hid/; revision=2313
Diffstat (limited to 'doc')
-rw-r--r-- | doc/buttongate-help.pd | 36 | ||||
-rw-r--r-- | doc/keygate-help.pd | 32 |
2 files changed, 57 insertions, 11 deletions
diff --git a/doc/buttongate-help.pd b/doc/buttongate-help.pd index e990139..a412cad 100644 --- a/doc/buttongate-help.pd +++ b/doc/buttongate-help.pd @@ -1,24 +1,38 @@ -#N canvas 11 255 460 423 10; -#X obj 5 2 cnv 15 450 20 empty empty buttongate] 2 11 1 18 -233017 +#N canvas 345 96 473 510 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 +#X obj 160 287 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 obj 160 151 loadbang; +#X msg 160 171 1; +#X obj 160 199 metro 150; +#X text 27 470 (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 244 484 released under the GNU GPL; +#X obj 223 417 all_about_hid; +#X text 114 418 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 obj 160 244 buttongate 0 btn_0; #X text 18 119 The first button on the first device controls this gate: ; +#X text 15 237 data to be gated -->; +#X text 292 237 <-- msgs to [hid]; +#X obj 281 288 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 310 197 refresh; +#X msg 299 176 open 2; +#X text 39 294 button pressed->; +#X text 310 293 <-- button released; +#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 connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 10 0; #X connect 10 0 1 0; +#X connect 10 1 14 0; +#X connect 15 0 10 1; +#X connect 16 0 10 1; diff --git a/doc/keygate-help.pd b/doc/keygate-help.pd new file mode 100644 index 0000000..e6fe9ee --- /dev/null +++ b/doc/keygate-help.pd @@ -0,0 +1,32 @@ +#N canvas 525 201 473 470 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 +-1; +#X obj 160 121 loadbang; +#X msg 160 141 1; +#X obj 160 169 metro 150; +#X text 33 416 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at> +; +#X text 250 430 released under the GNU GPL; +#X obj 237 369 all_about_hid; +#X text 128 370 For more info:; +#X text 15 207 data to be gated -->; +#X obj 281 258 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 40 300 keyname; +#X symbolatom 84 320 10 0 0 0 - - -; +#X text 162 320 <-- check here for the keyname symbol; +#X obj 160 214 keygate f; +#X text 17 38 [keygate] is a simple gate controlled by a keyboard. +You must specify the name of the key which controls the gate. The left +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 connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 14 0; +#X connect 11 1 12 0; +#X connect 14 0 1 0; +#X connect 14 1 10 0; |