mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 15:25:50 +00:00
New joystick API.
This commit is contained in:
@@ -200,6 +200,8 @@ typedef struct _GLFWlibraryWin32
|
||||
} dwmapi;
|
||||
|
||||
struct {
|
||||
float axes[6];
|
||||
unsigned char buttons[36]; // 32 buttons plus one hat
|
||||
char* name;
|
||||
} joystick[GLFW_JOYSTICK_LAST + 1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user