aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/oculusvr/oculusvr.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/oculusvr/oculusvr.cfg')
-rw-r--r--make/config/oculusvr/oculusvr.cfg16
1 files changed, 16 insertions, 0 deletions
diff --git a/make/config/oculusvr/oculusvr.cfg b/make/config/oculusvr/oculusvr.cfg
new file mode 100644
index 000000000..aa439772b
--- /dev/null
+++ b/make/config/oculusvr/oculusvr.cfg
@@ -0,0 +1,16 @@
+# 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 #include <OVR_CAPI.h>
+