public long getOrFetchInputHandle( String inputName ){
        if(!inputHandles.containsKey(inputName)){
            LongBuffer longBuffer = BufferUtils.createLongBuffer(1);

            int errorCode = VRInput.VRInput_GetInputSourceHandle(inputName, longBuffer);
            if (errorCode !=0 ){
                logger.warning( "An error code of " + errorCode + " was reported while fetching an input manifest" );
            }
            long handle = longBuffer.get(0);
            inputHandles.put(inputName, handle);
        }

        return inputHandles.get(inputName);
    }
Given an input name returns the handle to address it.

If a cached handle is available it is returned, if not it is fetched from openVr

@param inputName the input name, e.g. /user/hand/right. Or null, which means "any input"
@return the input handle
jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVRInput.java