#N canvas 64 61 679 445 10; #X declare -lib Gem; #X obj 27 85 cnv 15 450 170 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 28 303 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 29 308 Inlets:; #X obj 28 265 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 37 264 Arguments:; #X text 472 28 GEM object; #X text 29 337 Outlets:; #X text 485 69 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 53 34 Synopsis: [gemkeyboard]; #X text 27 89 Description: output keyboard events in the GEM window ; #X text 36 106 [gemkeyboard] sends out keyboard events which occur in the GEM window. Such event will appear on KEY_DOWN and will give the KeyCode of the button.; #X text 34 181 Furthermore \, i would like to make this object really cross-platform one day. Thus the KeyCode might change on one system or another in future times.; #X text 34 228 USE AT YOUR OWN RISK !!!; #X text 35 148 It is not guaranteed \, that Windows / Linux / OSX versions will give the same KeyCode for the same key pressed !!!; #X text 83 275 none; #X text 47 320 Inlet 1: non - used; #X text 41 350 Outlet 1: keyCode; #X obj 508 115 gemkeyboard; #X floatatom 508 153 5 0 0 1 keyCode - -; #X text 488 274 see also:; #X obj 489 299 gemkeyname; #X obj 556 30 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 24 0 25 0;