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:
Camilla Berglund
2014-03-19 15:27:49 +01:00
parent 6acbfe863d
commit 660034332d
13 changed files with 214 additions and 114 deletions
-2
View File
@@ -36,7 +36,6 @@
#error "The Wayland backend depends on EGL platform support"
#endif
#define _GLFW_LINUX_JOYSTICK_CONTEXT _glfw.wayland.joystick
#include "linux_joystick.h"
#define _GLFW_UNIX_TIME_CONTEXT _glfw.wayland.timer
@@ -76,7 +75,6 @@ typedef struct _GLFWlibraryWayland
int monitorsSize;
_GLFWtimeUNIX timer;
_GLFWjoystickLinux joystick;
} _GLFWlibraryWayland;
typedef struct _GLFWmonitorWayland