@Override
    public VRTrackedController getTrackedController(int index){
        if (trackedControllers != null){
            if ((trackedControllers.size() > 0) && (index < trackedControllers.size())){
                return trackedControllers.get(index);
            }
        }

        return null;
    }
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/openvr/OpenVRInput.java