aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/oculusvr/oculusvr.cfg
blob: 11e1ee78bafe0fa481764dbceeed0b129d484b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>