From 2d6c6f164e05ff0894578151d2b8f97664da269a Mon Sep 17 00:00:00 2001 From: cc_benny Date: Fri, 21 Nov 2003 13:05:09 +0000 Subject: * keyArray: Add 0x34 as . Add notes. (Merge from trunk 1.6) --- macosx/tkMacOSXKeyboard.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/macosx/tkMacOSXKeyboard.c b/macosx/tkMacOSXKeyboard.c index d20fae7..e568e9f 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.5.2.1 2003/11/21 13:05:09 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}, -- cgit v0.12