InteractionSourcePressType

enumeration

Cambiar al Manual

Descripción

The type of button or controller feature pressed, if any.

Variables

SelectDepending on the InteractionSourceType of the interaction source, this could be a number of equivalent things: main button on a blicker, air-tap on a hand, and the trigger on a motion controller.
MenuThis button is marked with three horizontal lines, same as you would fine on an Xbox One controller.
GraspThese buttons are generally found on the side of the controller. Some hardware has more than one grasp button.
TouchpadA touchpad only counts as pressed when it's held down enough - otherwise, it's just touched, and will give a reading of the position through InteractionSourceState.touchpadPosition.
ThumbstickSimilar to the touchpad, moving the thumbstick won't count as pressing it - a press will occur when pressing down on the thumbstick enough.