Corrected Linux joystick things, fixes assertion failure from testjoystick.

This commit is contained in:
Ryan C. Gordon 2012-12-13 22:26:30 -05:00
parent d2b1601539
commit 6b4cb17219
2 changed files with 9 additions and 5 deletions

View file

@ -21,12 +21,13 @@
#include <linux/input.h>
struct SDL_joylist_item;
/* The private structure used to keep track of a joystick */
struct joystick_hwdata
{
int fd;
SDL_bool removed;
struct SDL_joylist_item *item;
SDL_JoystickGUID guid;
char *fname; /* Used in haptic subsystem */