From 9c0e19a3be2288db79e2502e5fa450c3e20a668d Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Fri, 9 May 2003 16:04:00 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r610, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=611 --- pd/doc/5.reference/key-help.pd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pd/doc/5.reference/key-help.pd (limited to 'pd/doc/5.reference/key-help.pd') diff --git a/pd/doc/5.reference/key-help.pd b/pd/doc/5.reference/key-help.pd new file mode 100644 index 00000000..1ab0337c --- /dev/null +++ b/pd/doc/5.reference/key-help.pd @@ -0,0 +1,24 @@ +#N canvas 146 45 546 288 12; +#X obj 21 10 key; +#X obj 54 9 keyup; +#X obj 105 9 keyname; +#X text 173 8 -- grab keyboard; +#X obj 38 67 key; +#X floatatom 38 95 3 0 0 0 - - -; +#X floatatom 77 93 3 0 0 0 - - -; +#X obj 77 67 keyup; +#X floatatom 128 93 3 0 0 0 - - -; +#X obj 128 67 keyname; +#X symbolatom 172 94 10 0 0 0 - - -; +#X text 280 262 updated for Pd version 0.32.; +#X text 26 133 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 18 200 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; -- cgit v1.2.1