mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-19 06:20:53 -05:00
misc: Code cleanups.
This commit is contained in:
@@ -119,12 +119,10 @@ namespace Ryujinx.Headless.SDL2
|
||||
}
|
||||
}
|
||||
|
||||
IGamepad gamepad;
|
||||
IGamepad gamepad = _inputManager.KeyboardDriver.GetGamepad(inputId);
|
||||
|
||||
bool isKeyboard = true;
|
||||
|
||||
gamepad = _inputManager.KeyboardDriver.GetGamepad(inputId);
|
||||
|
||||
if (gamepad == null)
|
||||
{
|
||||
gamepad = _inputManager.GamepadDriver.GetGamepad(inputId);
|
||||
|
||||
Reference in New Issue
Block a user