mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-17 23:16:38 +00:00
Fixed whitespace issues
This commit is contained in:
parent
89c2c6c76b
commit
3f6fca2921
1 changed files with 13 additions and 6 deletions
|
@ -315,7 +315,7 @@ namespace Ryujinx.Input.SDL2
|
|||
|
||||
private JoyconConfigControllerStick<GamepadInputId, Common.Configuration.Hid.Controller.StickInputId> GetLogicalJoyStickConfig(StickInputId inputId)
|
||||
{
|
||||
switch(inputId)
|
||||
switch (inputId)
|
||||
{
|
||||
case StickInputId.Left:
|
||||
if (_configuration.RightJoyconStick.Joystick == Common.Configuration.Hid.Controller.StickInputId.Left)
|
||||
|
@ -374,8 +374,15 @@ namespace Ryujinx.Input.SDL2
|
|||
|
||||
if (joyconStickConfig != null)
|
||||
{
|
||||
if (joyconStickConfig.InvertStickX) resultX = -resultX;
|
||||
if (joyconStickConfig.InvertStickY) resultY = -resultY;
|
||||
if (joyconStickConfig.InvertStickX)
|
||||
{
|
||||
resultX = -resultX;
|
||||
}
|
||||
|
||||
if (joyconStickConfig.InvertStickY)
|
||||
{
|
||||
resultY = -resultY;
|
||||
}
|
||||
|
||||
if (joyconStickConfig.Rotate90CW)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue