Vive手柄按钮

来源:互联网 发布:apache 截断文件名 编辑:程序博客网 时间:2024/06/10 03:14
 DeviceInfo.isMenuPointerPressed = ViveInput.GetPressDown(HandRole.RightHand, ControllerButton.Menu)| ViveInput.GetPressDown(HandRole.LeftHand, ControllerButton.Menu);  DeviceInfo.isPointerDown = device.GetTouchDown(SteamVR_Controller.ButtonMask.Trigger);
Menu是菜单键,Trigger是扳机,Pad是触摸键