Class VRControllerAxis

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VRControllerAxis
    extends Struct
    implements NativeResource
    Contains information about one axis on the controller.

    Member documentation

    • x – Ranges from -1.0 to 1.0 for joysticks and track pads. Ranges from 0.0 to 1.0 for triggers were 0 is fully released.
    • y – Ranges from -1.0 to 1.0 for joysticks and track pads. Is always 0.0 for triggers.

    Layout

    
     struct VRControllerAxis_t {
         float x;
         float y;
     }