summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXKeyboard.c
diff options
context:
space:
mode:
authorculler <culler>2020-04-27 18:54:22 (GMT)
committerculler <culler>2020-04-27 18:54:22 (GMT)
commitd085039112bdde005d6f6b3e43145b428c53ca70 (patch)
tree29c6f64fb8b4ba9511502d0cda0d6813f87e6f6c /macosx/tkMacOSXKeyboard.c
parent1f578eda91cddbe705333692cdb369a6c502aa70 (diff)
downloadtk-d085039112bdde005d6f6b3e43145b428c53ca70.zip
tk-d085039112bdde005d6f6b3e43145b428c53ca70.tar.gz
tk-d085039112bdde005d6f6b3e43145b428c53ca70.tar.bz2
Edit a comment
Diffstat (limited to 'macosx/tkMacOSXKeyboard.c')
-rw-r--r--macosx/tkMacOSXKeyboard.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/macosx/tkMacOSXKeyboard.c b/macosx/tkMacOSXKeyboard.c
index 90f7c25..110f9dd 100644
--- a/macosx/tkMacOSXKeyboard.c
+++ b/macosx/tkMacOSXKeyboard.c
@@ -39,8 +39,9 @@
* key identifier as a "virtual keycode", usually the value of a variable named
* "virtual".
*
- * Some of the keys on a keyboard are "modifier" keys. The effect of
- * pressing or releasing a key depends on three quantities:
+ * Some of the keys on a keyboard, such as the Shift, Option, Command or
+ * Control keys, are "modifier" keys. The effect of pressing or releasing a
+ * key depends on three quantities:
* - which key is being pressed or released
* - which modifier keys are being held down at the moment
* - the current keyboard layout
@@ -54,7 +55,7 @@
* value known as a keysym. Every keysym has an associated string name, also
* known as a keysym. The Tk bind command uses the X11 keysym string to
* specify a key event which should invoke a certain action and it provides the
- * numeric and symbolic keysyms to the bound proc as %K and %N respectively.
+ * numeric and symbolic keysyms to the bound proc as %N and %K respectively.
* An X11 XEvent which reports a KeyPress or KeyRelease does not include the
* keysym. Instead it includes a platform-specific numerical value called a
* keycode which is available to the bound procedure as %k. A platform port of