-static const char *joyKeyNames[32] =
-{
- "UP", "DOWN", "LEFT", "RIGHT", "b1", "b2", "b3", "b4",
- "b5", "b6", "b7", "b8", "b9", "b10", "b11", "b12",
- "b13", "b14", "b15", "b16", "b17", "b19", "b19", "b20",
- "b21", "b22", "b23", "b24", "b25", "b26", "b27", "b28"
-};
-
-static void keys_write(FILE *fn, const char *bind_str, const int binds[32],
- const int def_binds[32], const char * const names[32], int no_defaults)
+static void keys_write(FILE *fn, const char *bind_str, int dev_id, const int *binds, int no_defaults)