UxrInputButtons Enumeration
Enumerates all buttons in a VR controller. They are flags so that they can be combined when calling different methods.
Namespace: UltimateXR.Devices
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
[FlagsAttribute]
public enum UxrInputButtons
Members
Member name | Value | Description | |
---|---|---|---|
None | 0 | ||
Joystick | 1 | ||
JoystickLeft | 2 | ||
JoystickRight | 4 | ||
JoystickUp | 8 | ||
JoystickDown | 16 | ||
Joystick2 | 32 | ||
Joystick2Left | 64 | ||
Joystick2Right | 128 | ||
Joystick2Up | 256 | ||
Joystick2Down | 512 | ||
DPadLeft | 1024 | ||
DPadRight | 2048 | ||
DPadUp | 4096 | ||
DPadDown | 8192 | ||
Trigger | 16384 | ||
Trigger2 | 32768 | ||
Grip | 65536 | ||
Button1 | 131072 | ||
Button2 | 262144 | ||
Button3 | 524288 | ||
Button4 | 1048576 | ||
Bumper | 2097152 | ||
Bumper2 | 4194304 | ||
Back | 8388608 | ||
Menu | 16777216 | ||
ThumbCapSense | 33554432 | ||
IndexCapSense | 67108864 | ||
MiddleCapSense | 134217728 | ||
RingCapSense | 268435456 | ||
LittleCapSense | 536870912 | ||
Any | -2147483648 | ||
Everything | -1 |