Skip to main content

Variable: DevicePath

const DevicePath: object;

Built-in device input paths.

Type declaration​

LEFT_GRIP​

LEFT_GRIP: string = "XRI Left Interaction/Select Value";

Left grip value in the range [0.0, 1.0].

LEFT_TRIGGER​

LEFT_TRIGGER: string = "XRI Left Interaction/Activate Value";

Left trigger value in the range [0.0, 1.0].

LEFT_PRIMARY_2D_AXIS​

LEFT_PRIMARY_2D_AXIS: string = "XRI Left/Thumbstick";

Left primary 2D axis as a vec2, with each component in the range [-1, 1].

LEFT_PRIMARY_2D_AXIS_BUTTON​

LEFT_PRIMARY_2D_AXIS_BUTTON: string = "KBM/Left Primary 2DAxis Button";

Left primary 2D axis button value, either 0 or 1.

LEFT_PRIMARY_BUTTON​

LEFT_PRIMARY_BUTTON: string = "KBM/Left Primary Button";

Left primary button value, either 0 or 1.

LEFT_SECONDARY_BUTTON​

LEFT_SECONDARY_BUTTON: string = "KBM/Left Secondary Button";

Left secondary button value, either 0 or 1.

RIGHT_GRIP​

RIGHT_GRIP: string = "XRI Right Interaction/Select Value";

Right grip value in the range [0.0, 1.0].

RIGHT_TRIGGER​

RIGHT_TRIGGER: string = "XRI Right Interaction/Activate Value";

Right trigger value in the range [0.0, 1.0].

RIGHT_PRIMARY_2D_AXIS​

RIGHT_PRIMARY_2D_AXIS: string = "XRI Right/Thumbstick";

Right primary 2D axis as a vec2, with each component in the range [-1, 1].

RIGHT_PRIMARY_2D_AXIS_BUTTON​

RIGHT_PRIMARY_2D_AXIS_BUTTON: string = "KBM/Right Primary 2DAxis Button";

Right primary 2D axis button value, either 0 or 1.

RIGHT_PRIMARY_BUTTON​

RIGHT_PRIMARY_BUTTON: string = "KBM/Right Primary Button";

Right primary button value, either 0 or 1.

RIGHT_SECONDARY_BUTTON​

RIGHT_SECONDARY_BUTTON: string = "KBM/Right Secondary Button";

Right secondary button value, either 0 or 1.