aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/5.reference/key.pd
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2002-07-29 17:06:19 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2002-07-29 17:06:19 +0000
commit57045df5fe3ec557e57dc7434ac1a07b5521bffc (patch)
tree7174058b41b73c808107c7090d9a4e93ee202341 /pd/doc/5.reference/key.pd
parentda38b3424229e59f956252c3d89895e43e84e278 (diff)
This commit was generated by cvs2svn to compensate for changes in r58,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=59
Diffstat (limited to 'pd/doc/5.reference/key.pd')
-rw-r--r--pd/doc/5.reference/key.pd19
1 files changed, 19 insertions, 0 deletions
diff --git a/pd/doc/5.reference/key.pd b/pd/doc/5.reference/key.pd
new file mode 100644
index 00000000..ceab4440
--- /dev/null
+++ b/pd/doc/5.reference/key.pd
@@ -0,0 +1,19 @@
+#N canvas 243 41 464 286 12;
+#X obj 21 10 key;
+#X obj 48 10 keyup;
+#X obj 89 9 keyname;
+#X text 157 8 -- grab keyboard;
+#X obj 38 67 key;
+#X floatatom 38 95 3 0 0;
+#X floatatom 75 95 3 0 0;
+#X obj 75 69 keyup;
+#X floatatom 122 97 3 0 0;
+#X obj 122 71 keyname;
+#X symbolatom 166 98 10 0 0;
+#X text 254 256 updated for Pd version 0.32.;
+#X text 32 143 Key and keyup report the (system dependent) numbers of "printing" keys of the keyboard. Keyname gives the symbolic name of the key \, with a 1 or 0 if it's up or down \, and works with non-printing keys like shift or "F1".;
+#X text 33 203 Caveat -- this only works if Pd actually gets the key events which can depend on the stacking order of windows and/or the pointer location \, depending on the system.;
+#X connect 4 0 5 0;
+#X connect 7 0 6 0;
+#X connect 9 0 8 0;
+#X connect 9 1 10 0;