mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
Wayland: Fix detection of joysticks after init
Closes #2198 This was adapted to 3.3-stable from0b94e1b29band3fa2360720.
This commit is contained in:
committed by
Camilla Löwy
parent
06a2ed38ea
commit
67d722788d
@@ -1127,6 +1127,10 @@ static void inputText(_GLFWwindow* window, uint32_t scancode)
|
||||
|
||||
static void handleEvents(double* timeout)
|
||||
{
|
||||
#if defined(__linux__)
|
||||
_glfwDetectJoystickConnectionLinux();
|
||||
#endif
|
||||
|
||||
GLFWbool event = GLFW_FALSE;
|
||||
struct pollfd fds[4] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user