mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 12:28:07 +01:00
Don't support gamepad (remove directinput dependency)
This commit is contained in:
parent
faf13e77b6
commit
cb28b22fd3
1 changed files with 3 additions and 1 deletions
|
@ -146,6 +146,7 @@ static void ImGui_ImplWin32_UpdateMousePos()
|
||||||
io.MousePos = ImVec2((float)pos.x, (float)pos.y);
|
io.MousePos = ImVec2((float)pos.x, (float)pos.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma comment(lib, "xinput")
|
#pragma comment(lib, "xinput")
|
||||||
#endif
|
#endif
|
||||||
|
@ -196,6 +197,7 @@ static void ImGui_ImplWin32_UpdateGamepads()
|
||||||
#undef MAP_ANALOG
|
#undef MAP_ANALOG
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
void ImGui_ImplWin32_NewFrame()
|
void ImGui_ImplWin32_NewFrame()
|
||||||
{
|
{
|
||||||
|
@ -232,7 +234,7 @@ void ImGui_ImplWin32_NewFrame()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update game controllers (if enabled and available)
|
// Update game controllers (if enabled and available)
|
||||||
ImGui_ImplWin32_UpdateGamepads();
|
//ImGui_ImplWin32_UpdateGamepads();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allow compilation with old Windows SDK. MinGW doesn't have default _WIN32_WINNT/WINVER versions.
|
// Allow compilation with old Windows SDK. MinGW doesn't have default _WIN32_WINNT/WINVER versions.
|
||||||
|
|
Loading…
Reference in a new issue