mirror of
https://github.com/izzy2lost/libultraship.git
synced 2026-06-19 01:16:13 -07:00
set SDL_HINT_JOYSTICK_WGI to 0 to address some controller duping issues (#780)
* try no wgi * windows only
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
|
||||
namespace Ship {
|
||||
ShipDeviceIndexMappingManager::ShipDeviceIndexMappingManager() : mIsInitialized(false) {
|
||||
#if _WIN32
|
||||
SDL_SetHintWithPriority(SDL_HINT_JOYSTICK_WGI, "0", SDL_HINT_DEFAULT);
|
||||
#endif
|
||||
UpdateControllerNamesFromConfig();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user