Always update controller motion input
This commit is contained in:
parent
e7f2342eba
commit
18923ab439
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue