⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keysyms.h

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 H
📖 第 1 页 / 共 3 页
字号:
/** * keysyms.h - X keycode -> Java keycode mapping * * Copyright (c) 1998 *      Transvirtual Technologies, Inc.  All rights reserved. * * Copyright (c) 2002, 2003, 2004 *	Kaffe.org contributors, see ChangeLog for details.  All rights reserved. * * See the file "license.terms" for information on usage and redistribution  * of this file.  */#ifndef __keysyms_h#define __keysyms_hsigned 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,0,0,0,0,0,			// 0x100b~0x100f,0x24,	//Key_Home = 0x1010,		// cursor movement0x23,	//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,0,0,0,0,0,0,0,0,	// 0x1018~0x101f,0x10,	//Key_Shift = 0x1020,		// modifiers0x11,	//Key_Control = 0x1021,0x9d,	//Key_Meta = 0x1022,0x12,	//Key_Alt = 0x1023,0x14,	//Key_CapsLock = 0x1024,0x90,	//Key_NumLock = 0x1025,0x91,	//Key_ScrollLock = 0x1026,0,0,0,0,0,0,0,0,0,0x70,	//Key_F1 = 0x1030,		// function keys0x71,	//Key_F2 = 0x1031,0x72,	//Key_F3 = 0x1032,0x73,	//Key_F4 = 0x1033,0x74,	//Key_F5 = 0x1034,0x75,	//Key_F6 = 0x1035,0x76,	//Key_F7 = 0x1036,0x77,	//Key_F8 = 0x1037,0x78,	//Key_F9 = 0x1038,0x79,	//Key_F10 = 0x1039,0x7a,	//Key_F11 = 0x103a,0x7b,	//Key_F12 = 0x103b,0x00,	//Key_F13 = 0x103c,0x00,	//Key_F14 = 0x103d,0x00,	//Key_F15 = 0x103e,0x00,	//Key_F16 = 0x103f,0x00,	//Key_F17 = 0x1040,0x00,	//Key_F18 = 0x1041,0x00,	//Key_F19 = 0x1042,0x00,	//Key_F20 = 0x1043,0x00,	//Key_F21 = 0x1044,0x00,	//Key_F22 = 0x1045,0x00,	//Key_F23 = 0x1046,0x00,	//Key_F24 = 0x1047,0x00,	//Key_F25 = 0x1048,		// F25 .. F35 only on X110x00,	//Key_F26 = 0x1049,0x00,	//Key_F27 = 0x104a,0x00,	//Key_F28 = 0x104b,0x00,	//Key_F29 = 0x104c,0x00,	//Key_F30 = 0x104d,0x00,	//Key_F31 = 0x104e,0x00,	//Key_F32 = 0x104f,0x00,	//Key_F33 = 0x1050,0x00,	//Key_F34 = 0x1051,0x00,	//Key_F35 = 0x1052,0x00 ,	//Key_Super_L = 0x1053, 		// extra keys0x00,	//Key_Super_R = 0x1054,0x00,	//Key_Menu = 0x1055,0x00,	//Key_Hyper_L = 0x1056,0x00,	//Key_Hyper_R = 0x1057,0x9c,	//Key_Help = 0x1058,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,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,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,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,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,0,0,0,0,0,0,0};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,0x00,	//Key_Percent = 0x25,0x00,	//Key_Ampersand = 0x26,0x00,	//Key_Apostrophe = 0x27,0x00,	//Key_ParenLeft = 0x28,0x00,	//Key_ParenRight = 0x29,0x6a,	//Key_Asterisk = 0x2a,0x6b,	//Key_Plus = 0x2b,0x2c,	//Key_Comma = 0x2c,0x6d,	//Key_Minus = 0x2d,0x2e,	//Key_Period = 0x2e,0x2f,	//Key_Slash = 0x2f,0x30,	//Key_0 = 0x30,0x31,	//Key_1 = 0x31,0x32,	//Key_2 = 0x32,0x33,	//Key_3 = 0x33,0x34,	//Key_4 = 0x34,0x35,	//Key_5 = 0x35,0x36,	//Key_6 = 0x36,0x37,	//Key_7 = 0x37,0x38,	//Key_8 = 0x38,0x39,	//Key_9 = 0x39,0x00,	//Key_Colon = 0x3a,0x3b,	//Key_Semicolon = 0x3b,0x00,	//Key_Less = 0x3c,0x3d,	//Key_Equal = 0x3d,0x00,	//Key_Greater = 0x3e,0x00,	//Key_Question = 0x3f,0x00,	//Key_At = 0x40,0x41,	//Key_A = 0x41,0x42,	//Key_B = 0x42,0x43,	//Key_C = 0x43,0x44,	//Key_D = 0x44,0x45,	//Key_E = 0x45,0x46,	//Key_F = 0x46,0x47,	//Key_G = 0x47,0x48,	//Key_H = 0x48,0x49,	//Key_I = 0x49,0x4a,	//Key_J = 0x4a,0x4b,	//Key_K = 0x4b,0x4c,	//Key_L = 0x4c,0x4d,	//Key_M = 0x4d,0x4e,	//Key_N = 0x4e,0x4f,	//Key_O = 0x4f,0x50,	//Key_P = 0x50,0x51,	//Key_Q = 0x51,0x52,	//Key_R = 0x52,0x53,	//Key_S = 0x53,0x54,	//Key_T = 0x54,0x55,	//Key_U = 0x55,0x56,	//Key_V = 0x56,0x57,	//Key_W = 0x57,0x58,	//Key_X = 0x58,0x59,	//Key_Y = 0x59,0x5a,	//Key_Z = 0x5a,0x5b,	//Key_BracketLeft = 0x5b,0x5c,	//Key_Backslash = 0x5c,0x5d,	//Key_BracketRight = 0x5d,0x00,	//Key_AsciiCircum = 0x5e,0x00,	//Key_Underscore = 0x5f,0x00,	//Key_QuoteLeft = 0x60,0x00,	//Key_BraceLeft = 0x7b,0x00,	//Key_Bar = 0x7c,0x00,	//Key_BraceRight = 0x7d,0x00,	//Key_AsciiTilde = 0x7e,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,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,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,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,0};	//Key_unknown = 0xffff/* * "function" keycodes (keysym values > 0xff) * * The index into this array is the normalized X keysym value (XK_xx & 0xff), the * value is the Java keycode. * Negative values indicate control/function keys which should produce a non-zero * keyChar value (AKA "control-keys"), i.e. which should generate KEY_TYPED * events. * Note that we can't mix in latin keycodes, because even upper case letters would * overlap (XK_P = 0x50, XK_home = 0xff50), we have to keep them in a separate table */signed char FKeyCode [256] = {0,0,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -