forked from MoonsideGames/MoonWorks
fix controller double open
parent
86322e9373
commit
515c2ebbca
|
@ -95,7 +95,7 @@ namespace MoonWorks.Input
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gamepads[slot].Handle = SDL.SDL_GameControllerOpen(index);
|
gamepads[slot].Handle = openResult;
|
||||||
System.Console.WriteLine($"Gamepad added to slot {slot}!");
|
System.Console.WriteLine($"Gamepad added to slot {slot}!");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue