@Override
    public Vector2f getAxisRaw(int controllerIndex, VRInputType forAxis) {
        VRControllerState cs = cStates[LWJGLOpenVRInput.controllerIndex[controllerIndex]];
        switch (forAxis) {
            default:
                return null;
            case ViveTriggerAxis:
                tempAxis.x = cs.rAxis(1).x();
                tempAxis.y = tempAxis.x;
                break;
            case ViveTrackpadAxis:
                tempAxis.x = cs.rAxis(0).x();
                tempAxis.y = cs.rAxis(0).y();
                break;
        }
        return tempAxis;
    }
Create a new
<a href="https://github.com/ValveSoftware/openvr/wiki/API-Documentation">OpenVR</a>
input attached to the given VR environment.

@param environment the VR environment to which the input is attached.
jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVRInput.java