Pass this to XInputOpen

This commit is contained in:
twinaphex 2018-01-19 06:56:44 +01:00
parent f71bbeae9f
commit 0731a79a4f

View File

@ -187,7 +187,7 @@ static void xdk_joypad_poll(void)
m_pollingParameters.bInputInterval = 8;
m_pollingParameters.bOutputInterval = 8;
gamepads[port] = XInputOpen(XDEVICE_TYPE_GAMEPAD, port,
XDEVICE_NO_SLOT, NULL);
XDEVICE_NO_SLOT, &m_pollingParameters);
xdk_joypad_autodetect_add(port);
}