mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -143,13 +143,14 @@ namespace entry
|
||||
}
|
||||
|
||||
WindowHandle defaultWindow = { 0 };
|
||||
GamepadHandle handle = { 0 };
|
||||
|
||||
for (uint32_t ii = 0; ii < BX_COUNTOF(m_state); ++ii)
|
||||
{
|
||||
XINPUT_STATE state;
|
||||
DWORD result = XInputGetState(ii, &state);
|
||||
|
||||
GamepadHandle handle = { ii };
|
||||
|
||||
bool connected = ERROR_SUCCESS == result;
|
||||
if (connected != m_connected[ii])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user