00001
00002
00003
00004
00005 #ifndef __IRR_KEY_CODES_H_INCLUDED__
00006 #define __IRR_KEY_CODES_H_INCLUDED__
00007
00008 namespace irr
00009 {
00010
00011 enum EKEY_CODE
00012 {
00013 KEY_LBUTTON = 0x01,
00014 KEY_RBUTTON = 0x02,
00015 KEY_CANCEL = 0x03,
00016 KEY_MBUTTON = 0x04,
00017 KEY_XBUTTON1 = 0x05,
00018 KEY_XBUTTON2 = 0x06,
00019 KEY_BACK = 0x08,
00020 KEY_TAB = 0x09,
00021 KEY_CLEAR = 0x0C,
00022 KEY_RETURN = 0x0D,
00023 KEY_SHIFT = 0x10,
00024 KEY_CONTROL = 0x11,
00025 KEY_MENU = 0x12,
00026 KEY_PAUSE = 0x13,
00027 KEY_CAPITAL = 0x14,
00028 KEY_KANA = 0x15,
00029 KEY_HANGUEL = 0x15,
00030 KEY_HANGUL = 0x15,
00031 KEY_JUNJA = 0x17,
00032 KEY_FINAL = 0x18,
00033 KEY_HANJA = 0x19,
00034 KEY_KANJI = 0x19,
00035 KEY_ESCAPE = 0x1B,
00036 KEY_CONVERT = 0x1C,
00037 KEY_NONCONVERT = 0x1D,
00038 KEY_ACCEPT = 0x1E,
00039 KEY_MODECHANGE = 0x1F,
00040 KEY_SPACE = 0x20,
00041 KEY_PRIOR = 0x21,
00042 KEY_NEXT = 0x22,
00043 KEY_END = 0x23,
00044 KEY_HOME = 0x24,
00045 KEY_LEFT = 0x25,
00046 KEY_UP = 0x26,
00047 KEY_RIGHT = 0x27,
00048 KEY_DOWN = 0x28,
00049 KEY_SELECT = 0x29,
00050 KEY_PRINT = 0x2A,
00051 KEY_EXECUT = 0x2B,
00052 KEY_SNAPSHOT = 0x2C,
00053 KEY_INSERT = 0x2D,
00054 KEY_DELETE = 0x2E,
00055 KEY_HELP = 0x2F,
00056 KEY_KEY_0 = 0x30,
00057 KEY_KEY_1 = 0x31,
00058 KEY_KEY_2 = 0x32,
00059 KEY_KEY_3 = 0x33,
00060 KEY_KEY_4 = 0x34,
00061 KEY_KEY_5 = 0x35,
00062 KEY_KEY_6 = 0x36,
00063 KEY_KEY_7 = 0x37,
00064 KEY_KEY_8 = 0x38,
00065 KEY_KEY_9 = 0x39,
00066 KEY_KEY_A = 0x41,
00067 KEY_KEY_B = 0x42,
00068 KEY_KEY_C = 0x43,
00069 KEY_KEY_D = 0x44,
00070 KEY_KEY_E = 0x45,
00071 KEY_KEY_F = 0x46,
00072 KEY_KEY_G = 0x47,
00073 KEY_KEY_H = 0x48,
00074 KEY_KEY_I = 0x49,
00075 KEY_KEY_J = 0x4A,
00076 KEY_KEY_K = 0x4B,
00077 KEY_KEY_L = 0x4C,
00078 KEY_KEY_M = 0x4D,
00079 KEY_KEY_N = 0x4E,
00080 KEY_KEY_O = 0x4F,
00081 KEY_KEY_P = 0x50,
00082 KEY_KEY_Q = 0x51,
00083 KEY_KEY_R = 0x52,
00084 KEY_KEY_S = 0x53,
00085 KEY_KEY_T = 0x54,
00086 KEY_KEY_U = 0x55,
00087 KEY_KEY_V = 0x56,
00088 KEY_KEY_W = 0x57,
00089 KEY_KEY_X = 0x58,
00090 KEY_KEY_Y = 0x59,
00091 KEY_KEY_Z = 0x5A,
00092 KEY_LWIN = 0x5B,
00093 KEY_RWIN = 0x5C,
00094 KEY_APPS = 0x5D,
00095 KEY_SLEEP = 0x5F,
00096 KEY_NUMPAD0 = 0x60,
00097 KEY_NUMPAD1 = 0x61,
00098 KEY_NUMPAD2 = 0x62,
00099 KEY_NUMPAD3 = 0x63,
00100 KEY_NUMPAD4 = 0x64,
00101 KEY_NUMPAD5 = 0x65,
00102 KEY_NUMPAD6 = 0x66,
00103 KEY_NUMPAD7 = 0x67,
00104 KEY_NUMPAD8 = 0x68,
00105 KEY_NUMPAD9 = 0x69,
00106 KEY_MULTIPLY = 0x6A,
00107 KEY_ADD = 0x6B,
00108 KEY_SEPARATOR = 0x6C,
00109 KEY_SUBTRACT = 0x6D,
00110 KEY_DECIMAL = 0x6E,
00111 KEY_DIVIDE = 0x6F,
00112 KEY_F1 = 0x70,
00113 KEY_F2 = 0x71,
00114 KEY_F3 = 0x72,
00115 KEY_F4 = 0x73,
00116 KEY_F5 = 0x74,
00117 KEY_F6 = 0x75,
00118 KEY_F7 = 0x76,
00119 KEY_F8 = 0x77,
00120 KEY_F9 = 0x78,
00121 KEY_F10 = 0x79,
00122 KEY_F11 = 0x7A,
00123 KEY_F12 = 0x7B,
00124 KEY_F13 = 0x7C,
00125 KEY_F14 = 0x7D,
00126 KEY_F15 = 0x7E,
00127 KEY_F16 = 0x7F,
00128 KEY_F17 = 0x80,
00129 KEY_F18 = 0x81,
00130 KEY_F19 = 0x82,
00131 KEY_F20 = 0x83,
00132 KEY_F21 = 0x84,
00133 KEY_F22 = 0x85,
00134 KEY_F23 = 0x86,
00135 KEY_F24 = 0x87,
00136 KEY_NUMLOCK = 0x90,
00137 KEY_SCROLL = 0x91,
00138 KEY_LSHIFT = 0xA0,
00139 KEY_RSHIFT = 0xA1,
00140 KEY_LCONTROL = 0xA2,
00141 KEY_RCONTROL = 0xA3,
00142 KEY_LMENU = 0xA4,
00143 KEY_RMENU = 0xA5,
00144 KEY_OEM_1 = 0xBA,
00145 KEY_PLUS = 0xBB,
00146 KEY_COMMA = 0xBC,
00147 KEY_MINUS = 0xBD,
00148 KEY_PERIOD = 0xBE,
00149 KEY_OEM_2 = 0xBF,
00150 KEY_OEM_3 = 0xC0,
00151 KEY_OEM_4 = 0xDB,
00152 KEY_OEM_5 = 0xDC,
00153 KEY_OEM_6 = 0xDD,
00154 KEY_OEM_7 = 0xDE,
00155 KEY_OEM_8 = 0xDF,
00156 KEY_OEM_AX = 0xE1,
00157 KEY_OEM_102 = 0xE2,
00158 KEY_ATTN = 0xF6,
00159 KEY_CRSEL = 0xF7,
00160 KEY_EXSEL = 0xF8,
00161 KEY_EREOF = 0xF9,
00162 KEY_PLAY = 0xFA,
00163 KEY_ZOOM = 0xFB,
00164 KEY_PA1 = 0xFD,
00165 KEY_OEM_CLEAR = 0xFE,
00166
00167 KEY_KEY_CODES_COUNT = 0xFF
00168 };
00169
00170 }
00171
00172 #endif
00173