fixed joystick naming convention from file descriptor to joystick number
[rocksndiamonds.git] / src / libgame / system.h
index 3fc4eb6cd0eb43cbf1b92f6a94713ab2d53bdb4a..ca25b287ff43c9d07bc09d77ddd6370284628718 100644 (file)
 #define TAPEFILE_EXTENSION     "tape"
 #define SCOREFILE_EXTENSION    "score"
 
+#define GAMECONTROLLER_BASENAME        "gamecontrollerdb.txt"
+
 #define LOG_OUT_BASENAME       "stdout.txt"
 #define LOG_ERR_BASENAME       "stderr.txt"
 
@@ -945,7 +947,7 @@ struct OverlayInfo
 struct JoystickInfo
 {
   int status;
-  int fd[MAX_PLAYERS];         /* file descriptor of player's joystick */
+  int nr[MAX_PLAYERS];         /* joystick number for each player */
 };
 
 struct SetupJoystickInfo