mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-14 05:18:21 +00:00
Revert "Fix #3461"
This reverts commit 8fbd42d592c22612e18d2c6f9bcef8a107984675.
This commit is contained in:
parent
8fbd42d592
commit
7e5eff8a29
@ -1120,11 +1120,7 @@ void PollInputEvents(void)
|
||||
// NOTE: We do it here in case of disconnection
|
||||
for (int i = 0; i < MAX_GAMEPADS; i++)
|
||||
{
|
||||
if (glfwJoystickPresent(i))
|
||||
{
|
||||
CORE.Input.Gamepad.ready[i] = true;
|
||||
strcpy(CORE.Input.Gamepad.name[i], glfwGetJoystickName(i));
|
||||
}
|
||||
if (glfwJoystickPresent(i)) CORE.Input.Gamepad.ready[i] = true;
|
||||
else CORE.Input.Gamepad.ready[i] = false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user