Looks like certain namespaces are overlapping.. You were right 🤣

This commit is contained in:
reggie 2024-10-08 21:02:13 -05:00
parent c037fc36a9
commit 3b3c0b99dc

View File

@ -313,12 +313,12 @@ namespace Ryujinx.Input.SDL2
return value * ConvertRate; return value * ConvertRate;
} }
private JoyconConfigControllerStick<GamepadInputId, Controller.StickInputId> GetLogicalJoyStickConfig(StickInputId inputId) private JoyconConfigControllerStick<GamepadInputId, Common.Configuration.Hid.Controller.StickInputId> GetLogicalJoyStickConfig(StickInputId inputId)
{ {
switch (inputId) switch (inputId)
{ {
case StickInputId.Left: case StickInputId.Left:
if (_configuration.RightJoyconStick.Joystick == Controller.StickInputId.Left) if (_configuration.RightJoyconStick.Joystick == Common.Configuration.Hid.Controller.StickInputId.Left)
{ {
return _configuration.RightJoyconStick; return _configuration.RightJoyconStick;
} }
@ -327,7 +327,7 @@ namespace Ryujinx.Input.SDL2
return _configuration.LeftJoyconStick; return _configuration.LeftJoyconStick;
} }
case StickInputId.Right: case StickInputId.Right:
if (_configuration.LeftJoyconStick.Joystick == Controller.StickInputId.Right) if (_configuration.LeftJoyconStick.Joystick == Common.Configuration.Hid.Controller.StickInputId.Right)
{ {
return _configuration.LeftJoyconStick; return _configuration.LeftJoyconStick;
} }