aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/gemkeyname-help.pd
blob: 4f64539b2462b2fbc5b142a1faee01c5dd01da77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#N canvas 369 20 507 575 10;
#X text 135 37 part of GEM;
#X text 87 100 keyboard events in the GEM window;
#X text 152 70 [gemkeyname];
#X text 51 318 [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 52 383 It is not guaranteed \, that Windows and Linux 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 49 456 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 52 508 USE AT YOUR OWN RISK!!!;
#X obj 79 175 cnv 15 100 40 empty empty empty 20 12 0 14 -24198 -66577
0;
#X floatatom 89 293 2 0 0 1 state - -;
#X obj 348 176 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 0 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 155 70 set create;
#X msg 197 134 destroy;
#X msg 132 112 reset \, 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 353 215 pd gemwin;
#X msg 353 196 create;
#X text 349 175 Create window:;
#X obj 89 185 gemkeyname;
#X symbolatom 154 239 10 0 0 0 keyName - -;
#X connect 10 0 11 0;
#X connect 11 0 10 0;
#X connect 13 0 8 0;
#X connect 13 1 14 0;