mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-10 12:49:13 +00:00
Fix more stupid mistakes
This commit is contained in:
parent
a553b090b6
commit
1b037ca33d
1 changed files with 23 additions and 9 deletions
|
@ -533,13 +533,13 @@ namespace Ryujinx.Ava.UI.Models.Input
|
||||||
AltSlot = cemuHook.AltSlot;
|
AltSlot = cemuHook.AltSlot;
|
||||||
MirrorInput = cemuHook.MirrorInput;
|
MirrorInput = cemuHook.MirrorInput;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (controllerInput.Rumble != null)
|
if (controllerInput.Rumble != null)
|
||||||
{
|
{
|
||||||
EnableRumble = controllerInput.Rumble.EnableRumble;
|
EnableRumble = controllerInput.Rumble.EnableRumble;
|
||||||
WeakRumble = controllerInput.Rumble.WeakRumble;
|
WeakRumble = controllerInput.Rumble.WeakRumble;
|
||||||
StrongRumble = controllerInput.Rumble.StrongRumble;
|
StrongRumble = controllerInput.Rumble.StrongRumble;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -598,6 +598,13 @@ namespace Ryujinx.Ava.UI.Models.Input
|
||||||
WeakRumble = WeakRumble,
|
WeakRumble = WeakRumble,
|
||||||
StrongRumble = StrongRumble
|
StrongRumble = StrongRumble
|
||||||
},
|
},
|
||||||
|
Motion = new MotionConfigController
|
||||||
|
{
|
||||||
|
EnableMotion = EnableMotion,
|
||||||
|
MotionBackend = MotionBackend,
|
||||||
|
GyroDeadzone = GyroDeadzone,
|
||||||
|
Sensitivity = Sensitivity,
|
||||||
|
},
|
||||||
Version = InputConfig.CurrentVersion,
|
Version = InputConfig.CurrentVersion,
|
||||||
DeadzoneLeft = DeadzoneLeft,
|
DeadzoneLeft = DeadzoneLeft,
|
||||||
DeadzoneRight = DeadzoneRight,
|
DeadzoneRight = DeadzoneRight,
|
||||||
|
@ -606,9 +613,16 @@ namespace Ryujinx.Ava.UI.Models.Input
|
||||||
TriggerThreshold = TriggerThreshold,
|
TriggerThreshold = TriggerThreshold,
|
||||||
};
|
};
|
||||||
|
|
||||||
config.Motion.Sensitivity = Sensitivity;
|
if (EnableCemuHookMotion)
|
||||||
config.Motion.EnableMotion = EnableMotion;
|
{
|
||||||
config.Motion.GyroDeadzone = GyroDeadzone;
|
var cemuHook = (CemuHookMotionConfigController)config.Motion;
|
||||||
|
cemuHook.DsuServerHost = DsuServerHost;
|
||||||
|
cemuHook.DsuServerPort = DsuServerPort;
|
||||||
|
cemuHook.Slot = Slot;
|
||||||
|
cemuHook.AltSlot = AltSlot;
|
||||||
|
cemuHook.MirrorInput = MirrorInput;
|
||||||
|
config.Motion = cemuHook;
|
||||||
|
}
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue