From 15b30fe20b401d079c2b3c6a8e77eee827813de3 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 17 Mar 2015 22:54:19 +0000 Subject: Gem 096ed6ef786b7a9d6e11a437ff8526619c89a1fd osx/x86_64 built 'master:096ed6ef786b7a9d6e11a437ff8526619c89a1fd' for osx/x86_64 --- Gem/gemkeyname-help.pd | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Gem/gemkeyname-help.pd (limited to 'Gem/gemkeyname-help.pd') diff --git a/Gem/gemkeyname-help.pd b/Gem/gemkeyname-help.pd new file mode 100644 index 0000000..d5d5e9c --- /dev/null +++ b/Gem/gemkeyname-help.pd @@ -0,0 +1,68 @@ +#N canvas 64 27 679 445 10; +#X obj 27 85 cnv 15 450 200 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 27 325 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 35 332 Inlets:; +#X obj 27 290 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 +0; +#X text 36 291 Arguments:; +#X text 472 28 GEM object; +#X text 35 361 Outlets:; +#X text 495 49 Example:; +#X text 74 50 Class: control object; +#X obj 486 84 cnv 15 170 180 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 495 101 cnv 15 150 80 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X obj 546 194 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +0; +#N canvas 0 22 450 300 gemwin 0; +#X obj 132 136 gemwin; +#X obj 67 89 outlet; +#X obj 67 10 inlet; +#X obj 67 41 route create; +#X msg 67 70 set destroy; +#X msg 142 68 set create; +#X msg 198 112 destroy; +#X msg 132 112 create \, 1; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 7 0; +#X connect 3 1 5 0; +#X connect 3 1 6 0; +#X connect 4 0 1 0; +#X connect 5 0 1 0; +#X connect 6 0 0 0; +#X connect 7 0 0 0; +#X restore 551 233 pd gemwin; +#X msg 551 214 create; +#X text 547 193 Create window:; +#X text 38 89 Description: output keyboard events in the GEM window +; +#X text 37 265 USE AT YOUR OWN RISK !!!; +#X text 82 302 none; +#X text 53 344 Inlet 1: non - used; +#X text 488 274 see also:; +#X text 53 34 Synopsis: [gemkeyname]; +#X text 36 108 [gemkeyname] sends out keyboard events which occur in +the GEM window. Such event will give a symbolic description of the +button. The "state"-outlet will be 1 for KEY_DOWN and 0 for KEY_UP. +; +#X text 37 219 Furthermore \, i would like to make this object really +cross-platform one day. Thus the KeyName might change on one system +or another in future times.; +#X text 37 161 It is not guaranteed \, that Windows / Linux / OSX versions +will give the same description for the same key pressed !!! Also \, +there is no guarantee \, that the Pd-object [keyname] will return the +same symbols as [gemkeyname]; +#X text 53 376 Outlet 1: state; +#X text 53 390 Outlet 2: keyName; +#X obj 489 299 gemkeyboard; +#X floatatom 508 160 2 0 0 1 state - -; +#X symbolatom 565 134 10 0 0 0 keyName - -; +#X obj 508 115 gemkeyname; +#X connect 12 0 13 0; +#X connect 13 0 12 0; +#X connect 29 0 27 0; +#X connect 29 1 28 0; -- cgit v1.2.1