]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.h
LoadTGA is now more compliant with the TGA spec regarding colormaps (they can be...
[xonotic/darkplaces.git] / keys.h
diff --git a/keys.h b/keys.h
index 74b84439be85ff305332bd076fa3acd5c3787977..b8eb9dfbcc542f58ea7e00d08fad59ef222864d8 100644 (file)
--- a/keys.h
+++ b/keys.h
@@ -105,7 +105,7 @@ extern enum {
 
        // mouse buttons generate virtual keys
 
-       K_MOUSE1,
+       K_MOUSE1 = 512,
        K_MOUSE2,
        K_MOUSE3,
        K_MOUSE4,
@@ -127,10 +127,22 @@ extern enum {
 //
 // joystick buttons
 //
-       K_JOY1,
+       K_JOY1 = 768,
        K_JOY2,
        K_JOY3,
        K_JOY4,
+       K_JOY5,
+       K_JOY6,
+       K_JOY7,
+       K_JOY8,
+       K_JOY9,
+       K_JOY10,
+       K_JOY11,
+       K_JOY12,
+       K_JOY13,
+       K_JOY14,
+       K_JOY15,
+       K_JOY16,
 
 //
 // aux keys are for multi-buttoned joysticks to generate so they can use
@@ -173,7 +185,7 @@ extern enum {
 
 typedef enum { key_game, key_message, key_menu } keydest_t;
 
-extern char *keybindings[8][256];
+extern char *keybindings[8][1024];
 extern char key_lines[32][256];
 extern int key_linepos;
 extern int edit_line;