diff --git a/src/controller/deviceindex/ShipDeviceIndexMappingManager.cpp b/src/controller/deviceindex/ShipDeviceIndexMappingManager.cpp index 8fbf3183c..44e721f92 100644 --- a/src/controller/deviceindex/ShipDeviceIndexMappingManager.cpp +++ b/src/controller/deviceindex/ShipDeviceIndexMappingManager.cpp @@ -13,6 +13,9 @@ namespace Ship { ShipDeviceIndexMappingManager::ShipDeviceIndexMappingManager() : mIsInitialized(false) { +#if _WIN32 + SDL_SetHintWithPriority(SDL_HINT_JOYSTICK_WGI, "0", SDL_HINT_DEFAULT); +#endif UpdateControllerNamesFromConfig(); }