Always update controller motion input

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

View file

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