[kaffe] bug in clib/awt/qt/keysyms.h
KIM, Seong-beom
sbkim at mail.marusys.com
Wed Apr 9 04:03:01 PDT 2003
Hi all,
I think there are missing key mappings between QT and Java.
Please let me know if there are any special reasons of doing this.
In clib/awt/qt/keysyms.h,
signed char QFKeyCode[256] = {
0x1b, //Key_Escape = 0x1000, // misc keys
-'\t', //Key_Tab = 0x1001,
0x00, //Key_Backtab = 0x1002, //Key_BackTab = //Key_Backtab,
-'\b', //Key_Backspace = 0x1003, //Key_BackSpace = //Key_Backspace,
-'\n', //Key_Return = 0x1004,
-'\n', //Key_Enter = 0x1005,
0x9b, //Key_Insert = 0x1006,
0x7f, //Key_Delete = 0x1007,
0x00, //Key_Pause = 0x1008,
0x9a, //Key_Print = 0x1009,
0x00, //Key_SysReq = 0x100a,
<---------------------------------------------0x100b~0x100f missing
0x24, //Key_Home = 0x1010, // cursor movement
0x23, //Key_End = 0x1011,
0x25, //Key_Left = 0x1012,
0x26, //Key_Up = 0x1013,
0x27, //Key_Right = 0x1014,
0x28, //Key_Down = 0x1015,
0x21, //Key_Prior = 0x1016, //Key_PageUp = //Key_Prior,
0x22, //Key_Next = 0x1017, //Key_PageDown = //Key_Next,
<---------------------------------------------0x1018~0x101f missing
0x10, //Key_Shift = 0x1020, // modifiers
0x11, //Key_Control = 0x1021,
0x9d, //Key_Meta = 0x1022,
0x12, //Key_Alt = 0x1023,
0x14, //Key_CapsLock = 0x1024,
0x90, //Key_NumLock = 0x1025,
0x91, //Key_ScrollLock = 0x1026,
.
.
.
};
signed char QLKeyCode[256] = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0x20, //Key_Space = 0x20, // 7 bit printable ASCII
//Key_Any = //Key_Space,
0x00, //Key_Exclam = 0x21,
0x00, //Key_QuoteDbl = 0x22,
0x00, //Key_NumberSign = 0x23,
0x00, //Key_Dollar = 0x24,
.
.
.
0x5b, //Key_BracketLeft = 0x5b,
0x5c, //Key_Backslash = 0x5c,
0x5d, //Key_BracketRight = 0x5d,
0x00, //Key_AsciiCircum = 0x5e,
0x00, //Key_Underscore = 0x5f,
0x00, //Key_QuoteLeft = 0x60,
<---------------------------------------------0x61~0x7a
missing
0x00, //Key_BraceLeft = 0x7b,
0x00, //Key_Bar = 0x7c,
0x00, //Key_BraceRight = 0x7d,
0x00, //Key_AsciiTilde = 0x7e,
.
.
.
};
Thanks~
-----------------------------------
Seong-beom Kim
Research Engineer
Marusys, Co. Ltd.
Seoul, Korea
+82-2-3445-3999 (117)
More information about the kaffe
mailing list