New joystick API.

This commit is contained in:
Camilla Berglund
2013-04-24 19:25:42 +02:00
parent c4d856bcb2
commit 7f2eb7b15b
10 changed files with 280 additions and 461 deletions
+4 -4
View File
@@ -189,10 +189,10 @@ typedef struct _GLFWlibraryX11
struct {
int present;
int fd;
int numAxes;
int numButtons;
float* axis;
unsigned char* button;
float* axes;
int axisCount;
unsigned char* buttons;
int buttonCount;
char* name;
} joystick[GLFW_JOYSTICK_LAST + 1];