blob: b2870e59a5ff778b0a282cee84a9f0b5d64df0d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# This .cfg file is used to generate the JOAL interface.
Include oculusvr-common.cfg
Style AllStatic
JavaClass OVR
Import com.jogamp.oculusvr.*
Import com.jogamp.common.util.SecurityUtil
Import java.security.PrivilegedAction
IncludeAs CustomJavaCode OVR oculusvr-ovr-CustomJavaCode.java
ManualStaticInitCall OVR
# Provide #includes to native code
CustomCCode #define HEADLESS_APP 1
CustomCCode typedef struct ovrHmdStruct {
CustomCCode } OvrHmdContext;
CustomCCode #include <OVR_CAPI.h>
|