mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 00:49:48 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user