mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Separated joystick state from window system state.
This is partially in preparation for pending support for additional joystick APIs like XInput, DirectInput and IOHID.
This commit is contained in:
@@ -65,7 +65,6 @@
|
||||
#define _GLFW_UNIX_TIME_CONTEXT _glfw.x11.timer
|
||||
#include "unix_time.h"
|
||||
|
||||
#define _GLFW_LINUX_JOYSTICK_CONTEXT _glfw.x11.joystick
|
||||
#include "linux_joystick.h"
|
||||
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 x11
|
||||
@@ -215,8 +214,6 @@ typedef struct _GLFWlibraryX11
|
||||
Window source;
|
||||
} xdnd;
|
||||
|
||||
_GLFWjoystickLinux joystick;
|
||||
|
||||
} _GLFWlibraryX11;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user