⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

enum InputButton

Index values for binary button inputs from controllers. These are on/off inputs that provide button_state_ information.

Enum Values

   
LAimReady Is the left hand ready to interact at a distance? This maps to the pinch_ext/ready_ext binding from the hand interaction extension, and factors in facing direction and pinch readiness.
LMenu The menu or settings button on the left controller.
LStick The left controller’s thumbstick button, pressed by clicking the stick inward. This has nothing to do with the stick’s XY position.
LX1 The lower of the two left thumb buttons, sometimes labelled X, and sometimes A.
LX2 The upper of the two left thumb buttons, sometimes labelled Y, and sometimes B.
Max Total number of input button types.
RAimReady Is the right hand ready to interact at a distance? This maps to the pinch_ext/ready_ext binding from the hand interaction extension, and factors in facing direction and pinch readiness.
RMenu The menu or settings button on the right controller.
RStick The right controller’s thumbstick button, pressed by clicking the stick inward. This has nothing to do with the stick’s XY position.
RX1 The lower of the two right thumb buttons, sometimes labelled X, and sometimes A.
RX2 The upper of the two right thumb buttons, sometimes labelled Y, and sometimes B.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!