Corrected Linux joystick things, fixes assertion failure from testjoystick.
This commit is contained in:
parent
d2b1601539
commit
6b4cb17219
2 changed files with 9 additions and 5 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue