--
KEYCATCH_CONSOLE	= 0x0001
KEYCATCH_UI			= 0x0002
KEYCATCH_MESSAGE	= 0x0004
KEYCATCH_CGAME		= 0x0008

-- uiMenuCommand_t
UIMENU_NONE				= 0
UIMENU_MAIN				= 1
UIMENU_INGAME			= 2
UIMENU_NEED_CD			= 3
UIMENU_BAD_CD_KEY		= 4
UIMENU_TEAM				= 5
UIMENU_POSTGAME			= 6
UIMENU_DEATH			= 7
UIMENU_CHAMPIONS		= 8
UIMENU_CHAMPIONS_INGAME	= 9

-- keyNum_t
K_TAB			= 9
K_ENTER			= 13
K_ESCAPE		= 27
K_SPACE			= 32
K_BACKSPACE		= 127
K_COMMAND		= 128
K_CAPSLOCK  	= 129
K_POWER			= 130
K_PAUSE			= 131
K_UPARROW		= 132
K_DOWNARROW		= 133
K_LEFTARROW		= 134
K_RIGHTARROW	= 135
K_ALT			= 136
K_CTRL			= 137
K_SHIFT			= 138
K_INS			= 139
K_DEL			= 140
K_PGDN			= 141
K_PGUP			= 142
K_HOME			= 143
K_END			= 144
K_F1			= 145
K_F2			= 146
K_F3			= 147
K_F4			= 148
K_F5			= 149
K_F6			= 150
K_F7			= 151
K_F8			= 152
K_F9			= 153
K_F10			= 154
K_F11			= 155
K_F12			= 156
K_F13			= 157
K_F14			= 158
K_F15			= 159
K_KP_HOME		= 160
K_KP_UPARROW	= 161
K_KP_PGUP		= 162
K_KP_LEFTARROW	= 163
K_KP_5			= 164
K_KP_RIGHTARROW	= 165
K_KP_END		= 166
K_KP_DOWNARROW	= 167
K_KP_PGDN		= 168
K_KP_ENTER		= 169
K_KP_INS		= 170
K_KP_DEL		= 171
K_KP_SLASH		= 172
K_KP_MINUS		= 173
K_KP_PLUS		= 174
K_KP_NUMLOCK	= 175
K_KP_STAR		= 176
K_KP_EQUALS		= 177
K_MOUSE1		= 178
K_MOUSE2		= 179
K_MOUSE3		= 180
K_MOUSE4		= 181
K_MOUSE5		= 182
K_MWHEELDOWN	= 183
K_MWHEELUP		= 184
K_JOY1			= 185
K_JOY2			= 186
K_JOY3			= 187
K_JOY4			= 188
K_JOY5			= 189
K_JOY6			= 190
K_JOY7			= 191
K_JOY8			= 192
K_JOY9			= 193
K_JOY10			= 194
K_JOY11			= 195
K_JOY12			= 196
K_JOY13			= 197
K_JOY14			= 198
K_JOY15			= 199
K_JOY16			= 200
K_JOY17			= 201
K_JOY18			= 202
K_JOY19			= 203
K_JOY20			= 204
K_JOY21			= 205
K_JOY22			= 206
K_JOY23			= 207
K_JOY24			= 208
K_JOY25			= 209
K_JOY26			= 210
K_JOY27			= 211
K_JOY28			= 212
K_JOY29			= 213
K_JOY30			= 214
K_JOY31			= 215
K_JOY32			= 216
K_AUX1			= 217
K_AUX2			= 218
K_AUX3			= 219
K_AUX4			= 220
K_AUX5			= 221
K_AUX6			= 222
K_AUX7			= 223
K_AUX8			= 224
K_AUX9			= 225
K_AUX10			= 226
K_AUX11			= 227
K_AUX12			= 228
K_AUX13			= 229
K_AUX14			= 230
K_AUX15			= 231
K_AUX16			= 232
-- never change anything above as it will mess up mod code
-- what follows is new in CNQ3
K_MOUSE6		= 233
K_MOUSE7		= 234
K_MOUSE8		= 235
K_MOUSE9		= 236
K_WIN			= 237
K_MENU			= 238
K_BACKSLASH		= 239
K_F16			= 240
K_F17			= 241
K_F18			= 242
K_F19			= 243
K_F20			= 244
K_F21			= 245
K_F22			= 246
K_F23			= 247
K_F24			= 248
K_LAST_KEY		= 249
K_CHAR_FLAG		= 1024
--
EXEC_NOW		= 0		-- don't return until completed, a VM should NEVER use this,
						-- because some commands might cause the VM to be unloaded...
EXEC_INSERT		= 1		-- insert at current position, but don't run yet
EXEC_APPEND		= 2		-- add to end of the command buffer (normal case)
--
