set SDL_HINT_JOYSTICK_WGI to 0 to address some controller duping issues (#780)

* try no wgi

* windows only
This commit is contained in:
briaguya
2025-01-04 12:13:19 -05:00
committed by GitHub
parent 78d951e413
commit b1447cdd71
@@ -13,6 +13,9 @@
namespace Ship {
ShipDeviceIndexMappingManager::ShipDeviceIndexMappingManager() : mIsInitialized(false) {
#if _WIN32
SDL_SetHintWithPriority(SDL_HINT_JOYSTICK_WGI, "0", SDL_HINT_DEFAULT);
#endif
UpdateControllerNamesFromConfig();
}