diff options
Diffstat (limited to 'make/config/oculusvr/oculusvr.cfg')
-rw-r--r-- | make/config/oculusvr/oculusvr.cfg | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/make/config/oculusvr/oculusvr.cfg b/make/config/oculusvr/oculusvr.cfg new file mode 100644 index 000000000..11e1ee78b --- /dev/null +++ b/make/config/oculusvr/oculusvr.cfg @@ -0,0 +1,18 @@ +# This .cfg file is used to generate the JOAL interface. +Include oculusvr-common.cfg + +Style AllStatic +JavaClass OVR + +Import com.jogamp.oculusvr.* +Import java.security.AccessController +Import java.security.PrivilegedAction + +IncludeAs CustomJavaCode OVR oculusvr-ovr-CustomJavaCode.java +ManualStaticInitCall OVR + +# Provide #includes to native code +CustomCCode typedef struct ovrHmdStruct { +CustomCCode } OvrHmdContext; +CustomCCode #include <OVR_CAPI.h> + |