blob: c1e4d9cfd9dbba2c247297a688da6bf9df6a5ad7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
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
# 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)
ArgumentIsString ovrHmd_GetFloat 1
ArgumentIsString ovrHmd_SetFloat 1
ArgumentIsString ovrHmd_GetFloatArray 1
ArgumentIsString ovrHmd_SetFloatArray 1
ArgumentIsString ovrHmd_GetArraySize 1
|