Package com.jogamp.oculusvr # Specify output directories HierarchicalNativeOutput false JavaOutputDir gensrc/classes NativeOutputDir gensrc/native/oculusvr # Raise OVRException instead of RuntimeException in glue code RuntimeExceptionType OVRException # We utilize OvrHmdContext as specified below as a 'typesafe' opaque instance, # which is typedefed to ovrHmd - hence no type-unsafe opaque 'long' is required. # typedef struct ovrHmdStruct { # } OvrHmdContext; #Opaque long ovrHmd # Mappings for data types Opaque boolean ovrBool # Not implemented in SDK !? Ignore ovrHmd_ProcessLatencyTest # Not native sized: CType['uintptr_t *', size [fixed false, lnx64 64], [array*1]] Ignore ovrRenderAPIConfig.PlatformData # Not native sized: CType['uintptr_t *', size [fixed false, lnx64 64], [array*1]] Ignore ovrTexture.PlatformData # These routines use or return strings ReturnsString ovrHmd_GetLastError ReturnsString ovrHmd_GetLatencyTestResult ReturnsString ovrHmd_GetString ReturnsString ovrHmdDesc.ProductName ReturnsString ovrHmdDesc.Manufacturer ReturnsString ovrHmdDesc.DisplayDeviceName ReturnsString ovrSensorDesc.SerialNumber ReturnedArrayLength ovrHmdDesc.Handle 1 ReturnedArrayLength ovrDistortionMesh.pVertexData getVertexCount() ReturnedArrayLength ovrDistortionMesh.pIndexData getIndexCount() ReturnValueCapacity ovrHmd_Create sizeof(ovrHmd) ReturnValueCapacity ovrHmd_CreateDebug sizeof(ovrHmd) JavaPrologue ovr_Initialize if( !isAvailable() ) { return false; } JavaPrologue ovrHmd_Create if( !isAvailable() ) { return null; } JavaPrologue ovrHmd_CreateDebug if( !isAvailable() ) { return null; } ArgumentIsString ovrHmd_GetFloat 1 ArgumentIsString ovrHmd_SetFloat 1 ArgumentIsString ovrHmd_GetFloatArray 1 ArgumentIsString ovrHmd_SetFloatArray 1 ArgumentIsString ovrHmd_GetArraySize 1