1 ///////////////////////////
5 // these are the key numbers that should be passed to Key_Event
12 // normal keys should be passed as lowercased ascii
14 float K_BACKSPACE = 127;
15 float K_UPARROW = 128;
16 float K_DOWNARROW = 129;
17 float K_LEFTARROW = 130;
18 float K_RIGHTARROW = 131;
44 float K_NUMLOCK = 154;
45 float K_CAPSLOCK = 155;
46 float K_SCROLLOCK = 156;
49 float K_KP_INS = 157; // same as K_KP_0
51 float K_KP_END = 158; // same as K_KP_1
53 float K_KP_DOWNARROW = 159; // same as K_KP_2
55 float K_KP_PGDN = 160; // same as K_KP_3
57 float K_KP_LEFTARROW = 161; // same as K_KP_4
60 float K_KP_RIGHTARROW = 163; // same as K_KP_6
62 float K_KP_HOME = 164; // same as K_KP_7
64 float K_KP_UPARROW = 165; // same as K_KP_8
66 float K_KP_PGUP = 166; // same as K_KP_9
67 float K_KP_PERIOD = 167;
68 float K_KP_DEL = 167; // same as K_KP_PERIOD
69 float K_KP_DIVIDE = 168;
70 float K_KP_SLASH = 168; // same as K_KP_DIVIDE
71 float K_KP_MULTIPLY = 169;
72 float K_KP_MINUS = 170;
73 float K_KP_PLUS = 171;
74 float K_KP_ENTER = 172;
75 float K_KP_EQUALS = 173;
77 // mouse buttons generate virtual keys
90 // aux keys are for multi-buttoned joysticks to generate so they can use
91 // the normal binding process
127 // mouse buttons generate virtual keys
129 float K_MOUSE1 = 512;
130 float K_MOUSE2 = 513;
131 float K_MOUSE3 = 514;
132 float K_MWHEELUP = 515;
133 float K_MWHEELDOWN = 516;
134 float K_MOUSE4 = 517;
135 float K_MOUSE5 = 518;
136 float K_MOUSE6 = 519;
137 float K_MOUSE7 = 520;
138 float K_MOUSE8 = 521;
139 float K_MOUSE9 = 522;
140 float K_MOUSE10 = 523;
141 float K_MOUSE11 = 524;
142 float K_MOUSE12 = 525;
143 float K_MOUSE13 = 526;
144 float K_MOUSE14 = 527;
145 float K_MOUSE15 = 528;
146 float K_MOUSE16 = 529;