mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 04:44:54 +00:00
Added Linux joystick hot-plugging via inotify.
This is a temporary solution until the proper libudev one. Progresses #17.
This commit is contained in:
@@ -42,10 +42,11 @@ typedef struct _GLFWjoystickLinux
|
||||
unsigned char* buttons;
|
||||
int buttonCount;
|
||||
char* name;
|
||||
char* path;
|
||||
} _GLFWjoystickLinux;
|
||||
|
||||
|
||||
void _glfwInitJoysticks(void);
|
||||
int _glfwInitJoysticks(void);
|
||||
void _glfwTerminateJoysticks(void);
|
||||
|
||||
#endif // _linux_joystick_h_
|
||||
|
||||
Reference in New Issue
Block a user