///////////////////////////
// key constants

//
// these are the key numbers that should be passed to Key_Event
//
float K_TAB			=	9;
float K_ENTER		=	13;
float K_ESCAPE		=	27;
float K_SPACE		=	32;

// normal keys should be passed as lowercased ascii

float K_BACKSPACE	=	127;
float K_UPARROW		=	128;
float K_DOWNARROW	=	129;
float K_LEFTARROW	=	130;
float K_RIGHTARROW	=	131;

float K_ALT		=	132;
float K_CTRL	=	133;
float K_SHIFT	=	134;

float K_F1		=	135;
float K_F2		=	136;
float K_F3		=	137;
float K_F4		=	138;
float K_F5		=	139;
float K_F6		=	140;
float K_F7		=	141;
float K_F8		=	142;
float K_F9		=	143;
float K_F10		=	144;
float K_F11		=	145;
float K_F12		=	146;

float K_INS		=	147;
float K_DEL		=	148;
float K_PGDN	=	149;
float K_PGUP	=	150;
float K_HOME	=	151;
float K_END		=	152;

float K_NUMLOCK		= 154;
float K_CAPSLOCK	= 155;
float K_SCROLLOCK	= 156;

float K_KP_0	=	157;
float K_KP_INS	=	157; // same as K_KP_0
float K_KP_1	=	158;
float K_KP_END	=	158; // same as K_KP_1
float K_KP_2	=	159;
float K_KP_DOWNARROW = 159; // same as K_KP_2
float K_KP_3	=	160;
float K_KP_PGDN = 160; // same as K_KP_3
float K_KP_4	=	161;
float K_KP_LEFTARROW = 161; // same as K_KP_4
float K_KP_5	=	162;
float K_KP_6	=	163;
float K_KP_RIGHTARROW = 163; // same as K_KP_6
float K_KP_7	=	164;
float K_KP_HOME = 164; // same as K_KP_7
float K_KP_8	=	165;
float K_KP_UPARROW = 165; // same as K_KP_8
float K_KP_9	= 166;
float K_KP_PGUP = 166; // same as K_KP_9
float K_KP_PERIOD = 167;
float K_KP_DEL = 167; // same as K_KP_PERIOD
float K_KP_DIVIDE = 168;
float K_KP_SLASH = 168; // same as K_KP_DIVIDE
float K_KP_MULTIPLY = 169;
float K_KP_MINUS	= 170;
float K_KP_PLUS		= 171;
float K_KP_ENTER	= 172;
float K_KP_EQUALS	= 173;

// mouse buttons generate virtual keys
float K_PAUSE	=	153;

//
// joystick buttons
//
float K_JOY1 = 768;
float K_JOY2 = 769;
float K_JOY3 = 770;
float K_JOY4 = 771;

//
//
// aux keys are for multi-buttoned joysticks to generate so they can use
// the normal binding process
//
float K_AUX1	=	772;
float K_AUX2	=	773;
float K_AUX3	=	774;
float K_AUX4	=	775;
float K_AUX5	=	776;
float K_AUX6	=	777;
float K_AUX7	=	778;
float K_AUX8	=	779;
float K_AUX9	=	780;
float K_AUX10	=	781;
float K_AUX11	=	782;
float K_AUX12	=	783;
float K_AUX13	=	784;
float K_AUX14	=	785;
float K_AUX15	=	786;
float K_AUX16	=	787;
float K_AUX17	=	788;
float K_AUX18	=	789;
float K_AUX19	=	790;
float K_AUX20	=	791;
float K_AUX21	=	792;
float K_AUX22	=	793;
float K_AUX23	=	794;
float K_AUX24	=	795;
float K_AUX25	=	796;
float K_AUX26	=	797;
float K_AUX27	=	798;
float K_AUX28	=	799;
float K_AUX29	=	800;
float K_AUX30	=	801;
float K_AUX31	=	802;
float K_AUX32	=	803;

//
// mouse buttons generate virtual keys
//
float K_MOUSE1		=	512;
float K_MOUSE2		=	513;
float K_MOUSE3		=	514;
float K_MWHEELUP	=	515;
float K_MWHEELDOWN	=	516;
float K_MOUSE4		=	517;
float K_MOUSE5		=	518;
float K_MOUSE6		=	519;
float K_MOUSE7		=	520;
float K_MOUSE8		=	521;
float K_MOUSE9		=	522;
float K_MOUSE10		=	523;
float K_MOUSE11		=	524;
float K_MOUSE12		=	525;
float K_MOUSE13		=	526;
float K_MOUSE14		=	527;
float K_MOUSE15		=	528;
float K_MOUSE16		=	529;

