Skip to main content

InputMap.IPlayingPicoActions

An interface in Root.Township, the global namespace.

Callback receiver for every action in InputMap's PlayingPico map. Register one with PlayingPico.SetCallbacks; each method gets the action's started, performed and cancelled callbacks.

Methods​

MemberWhat it is
void OnAngularVelocity(InputAction.CallbackContext context)Called for the controller's angular velocity.
void OnGestures(InputAction.CallbackContext context)Called for the thumbstick, as read for hand gestures.
void OnInteract(InputAction.CallbackContext context)Called for the grip button (the game's grab and interact).
void OnMetaMenu(InputAction.CallbackContext context)Called for the secondary face button (the menu).
void OnPicoAssistGrab(InputAction.CallbackContext context)Called for the Pico controller's trigger axis, used for grab assist.
void OnPose(InputAction.CallbackContext context)Called for the controller's full tracked pose.
void OnPosition(InputAction.CallbackContext context)Called for the controller's tracked position.
void OnReleaseToggleGrab(InputAction.CallbackContext context)Called for the release toggle grab action. It has no binding in this map.
void OnRotation(InputAction.CallbackContext context)Called for the controller's tracked rotation.
void OnSmoothLocomotion(InputAction.CallbackContext context)Called for the thumbstick, as read for smooth movement.
void OnSmoothRotation(InputAction.CallbackContext context)Called for the thumbstick, as read for smooth turning.
void OnSqueeze(InputAction.CallbackContext context)Called for the grip axis (how far the grip is squeezed).
void OnTakeScreenShotLong(InputAction.CallbackContext context)Called for the trigger press, as read for the long-press photo.
void OnTeleport(InputAction.CallbackContext context)Called for the primary face button.
void OnToggleGrab(InputAction.CallbackContext context)Called for the trigger press, as read for toggle grab.
void OnToggleRun(InputAction.CallbackContext context)Called for a thumbstick click (run toggle).
void OnTouchingThumb(InputAction.CallbackContext context)Called when the thumb touches a face button or the thumbstick.
void OnTouchingTriggerButton(InputAction.CallbackContext context)Called when the finger touches the trigger.
void OnTriggerAxis(InputAction.CallbackContext context)Called for the Pico controller's trigger axis.
void OnVelocity(InputAction.CallbackContext context)Called for the controller's linear velocity.

Used in​

Members of other types that take, return or hold a IPlayingPicoActions: