multiple fixes, variable typo fixes, adherence to a certain style. Fixed initialization of the new function, defaults to 0
This commit is contained in:
@@ -284,7 +284,7 @@ namespace Ryujinx.Input.HLE
|
||||
{
|
||||
State = gamepad.GetMappedStateSnapshot();
|
||||
|
||||
if (gamepad.spetialExit())
|
||||
if (gamepad.SpecialExit())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace Ryujinx.Input.HLE
|
||||
|
||||
public bool Update(float aspectRatio = 1)
|
||||
{
|
||||
bool spetialExit = false;
|
||||
bool specialExit = false;
|
||||
|
||||
lock (_lock)
|
||||
{
|
||||
@@ -227,7 +227,9 @@ namespace Ryujinx.Input.HLE
|
||||
DriverConfigurationUpdate(ref controller, inputConfig);
|
||||
|
||||
controller.UpdateUserConfiguration(inputConfig);
|
||||
spetialExit = controller.Update(); //hotkey press check
|
||||
|
||||
specialExit = controller.Update(); //hotkey press check
|
||||
|
||||
controller.UpdateRumble(_device.Hid.Npads.GetRumbleQueue(playerIndex));
|
||||
|
||||
inputState = controller.GetHLEInputState();
|
||||
@@ -318,7 +320,7 @@ namespace Ryujinx.Input.HLE
|
||||
_device.TamperMachine.UpdateInput(hleInputStates);
|
||||
}
|
||||
|
||||
return spetialExit;
|
||||
return specialExit;
|
||||
}
|
||||
|
||||
internal InputConfig GetPlayerInputConfigByIndex(int index)
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace Ryujinx.Input
|
||||
/// Gets the state if the minus and plus buttons were pressed on the gamepad.
|
||||
/// </summary>
|
||||
/// <returns>returns true if the buttons were pressed.</returns>
|
||||
bool spetialExit();
|
||||
bool SpecialExit();
|
||||
|
||||
/// <summary>
|
||||
/// Get a snaphost of the state of the gamepad.
|
||||
|
||||
Reference in New Issue
Block a user