mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Win32: Fix XInput button bit mask array size
This commit is contained in:
parent
9610d68f19
commit
9bb5e880ae
@ -653,7 +653,7 @@ int _glfwPlatformPollJoystick(int jid, int mode)
|
||||
DWORD result;
|
||||
XINPUT_STATE xis;
|
||||
float axes[6] = { 0.f, 0.f, 0.f, 0.f, -1.f, -1.f };
|
||||
const WORD buttons[14] =
|
||||
const WORD buttons[10] =
|
||||
{
|
||||
XINPUT_GAMEPAD_A,
|
||||
XINPUT_GAMEPAD_B,
|
||||
|
Loading…
Reference in New Issue
Block a user