Skip to content

Commit 8c62bba

Browse files
committed
Update InputSimulator.cs
1 parent ac6a607 commit 8c62bba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org.mixedrealitytoolkit.input/Simulation/InputSimulator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ private void UpdateSimulatedController(Handedness handedness)
551551
#endif // LATER
552552

553553
// Buttons available to hands and controllers
554-
controls.TriggerButton = controls.TriggerAxis >= 1.0f;
554+
controls.TriggerButton = ctrlSettings.TriggerButton.action.IsPressed();
555555
controls.GripButton = ctrlSettings.GripButton.action.IsPressed();
556556

557557
if (ctrlSettings.SimulationMode == ControllerSimulationMode.MotionController)

0 commit comments

Comments
 (0)