summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcc_benny <cc_benny@noemail.net>2003-11-20 12:40:15 (GMT)
committercc_benny <cc_benny@noemail.net>2003-11-20 12:40:15 (GMT)
commit064d7413100d823f2b1eab0f7541942c882c4c19 (patch)
tree533b7d7753989ca0d4eef6238593a1b851dfb503
parent39576a436b5ac72a32935b952b18e412d035397a (diff)
downloadtk-064d7413100d823f2b1eab0f7541942c882c4c19.zip
tk-064d7413100d823f2b1eab0f7541942c882c4c19.tar.gz
tk-064d7413100d823f2b1eab0f7541942c882c4c19.tar.bz2
* keyArray: Add 0x34 as <Return>. Add notes.
FossilOrigin-Name: 2cf3c88cf453f06130018e2af0d56b7b65a551cb
-rw-r--r--macosx/tkMacOSXKeyboard.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/macosx/tkMacOSXKeyboard.c b/macosx/tkMacOSXKeyboard.c
index d20fae7..e1e6cda 100644
--- a/macosx/tkMacOSXKeyboard.c
+++ b/macosx/tkMacOSXKeyboard.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXKeyboard.c,v 1.5 2003/02/19 19:27:47 wolfsuit Exp $
+ * RCS: @(#) $Id: tkMacOSXKeyboard.c,v 1.6 2003/11/20 12:40:15 cc_benny Exp $
*/
#include "tkInt.h"
@@ -25,9 +25,21 @@ typedef struct {
KeySym keysym; /* X windows Keysym */
} KeyInfo;
+/*
+ * Notes on keyArray:
+ *
+ * 0x34, XK_Return - Powerbooks use this and some keymaps define it.
+ *
+ * 0x47, XK_Clear - This key is NumLock when used on PCs, but Mac
+ * applications don't use it like that.
+ *
+ * All other keycodes are taken from the published ADB keyboard layouts.
+ */
+
static KeyInfo keyArray[] = {
{0x4C, XK_Return},
{0x24, XK_Return},
+ {0x34, XK_Return},
{0x33, XK_BackSpace},
{0x75, XK_Delete},
{0x30, XK_Tab},