Always update controller motion input

This commit is contained in:
Luke44565 2024-04-10 17:32:45 -04:00
parent e7f2342eba
commit 18923ab439

View file

@ -245,14 +245,7 @@ namespace Ryujinx.Input.HLE
{
if (config is StandardControllerInputConfig controllerConfig)
{
bool needsMotionInputUpdate = _config == null || (_config is StandardControllerInputConfig oldControllerConfig &&
(oldControllerConfig.Motion.EnableMotion != controllerConfig.Motion.EnableMotion) &&
(oldControllerConfig.Motion.MotionBackend != controllerConfig.Motion.MotionBackend));
if (needsMotionInputUpdate)
{
UpdateMotionInput(controllerConfig.Motion);
}
UpdateMotionInput(controllerConfig.Motion);
}
else
{