void IGlobalTriggerTouchDownHandler.OnGlobalTriggerTouchDown(VREventData eventData) { if (button == ButtonType.TriggerTouch) { Toggle(); } }
void IGlobalGripPressDownHandler.OnGlobalGripPressDown(VREventData eventData) { if (button == ButtonType.Grip) { Toggle(); } }
void IGlobalTouchpadPressDownHandler.OnGlobalTouchpadPressDown(VREventData eventData) { if (button == ButtonType.TouchpadPress) { Toggle(); } }
void IGlobalApplicationMenuPressDownHandler.OnGlobalApplicationMenuPressDown(VREventData eventData) { if (button == ButtonType.AppMenu) { Toggle(); } }