Skip to content

Commit 035b56c

Browse files
author
lawwong
committed
Now WristTracker button mapping to ApplicationMenu/B
1 parent ecededf commit 035b56c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Assets/HTC.UnityPlugin/VRModule/Modules/UnityXRModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ private void UpdateViveWristTrackerState(IVRModuleDeviceStateRW state, InputDevi
603603
bool primaryButton = GetDeviceFeatureValueOrDefault(device, CommonUsages.primaryButton);
604604
bool menuButton = GetDeviceFeatureValueOrDefault(device, CommonUsages.menuButton);
605605

606-
state.SetButtonPress(VRModuleRawButton.A, primaryButton);
606+
state.SetButtonPress(VRModuleRawButton.ApplicationMenu, primaryButton);
607607
state.SetButtonPress(VRModuleRawButton.System, menuButton);
608608
}
609609

0 commit comments

Comments
 (0)