diff --git a/.gitmodules b/.gitmodules index 099fbfbb..5adb42ee 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,6 +10,3 @@ [submodule "JMumbleLink"] path = JMumbleLink url = https://github.com/StellaArtois/java-mumble-link.git -[submodule "JOpenVR"] - path = JOpenVR - url = https://github.com/StellaArtois/JOpenVR.git diff --git a/JOpenVR b/JOpenVR deleted file mode 160000 index ba891c95..00000000 --- a/JOpenVR +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ba891c95051dad617d33e057a9c6433b0981511d diff --git a/idea.py b/idea.py index 30c93869..85cc4354 100644 --- a/idea.py +++ b/idea.py @@ -9,8 +9,9 @@ def createIdeaProject(project_root_dir, version, mcpDirName, are32bitNatives): # generate IML xml - srcPaths = [os.path.join(project_root_dir, 'JOpenVR', 'JOpenVR', 'src'), \ - os.path.join(project_root_dir, 'JRift', 'JRift', 'src'), \ + # VIVE - removed + #os.path.join(project_root_dir, 'JOpenVR', 'JOpenVR', 'src'), + srcPaths = [os.path.join(project_root_dir, 'JRift', 'JRift', 'src'), \ os.path.join(project_root_dir, 'JMumbleLink', 'JMumble', 'src'), \ os.path.join(project_root_dir, 'Sixense-Java', 'SixenseJava', 'src'), \ os.path.join(project_root_dir, mcpDirName, 'src', 'minecraft')] @@ -44,8 +45,9 @@ def createIdeaProject(project_root_dir, version, mcpDirName, are32bitNatives): platform = 'windows' mainClass = 'Start' - nativesPaths = [os.path.join(project_root_dir, 'JOpenVR', 'JOpenVRLibrary', 'natives', platformbits), \ - os.path.join(project_root_dir, 'JRift', 'JRiftLibrary', 'natives', platform), \ + # VIVE removed + # os.path.join(project_root_dir, 'JOpenVR', 'JOpenVRLibrary', 'natives', platformbits), + nativesPaths = [os.path.join(project_root_dir, 'JRift', 'JRiftLibrary', 'natives', platform), \ os.path.join(project_root_dir, 'JMumbleLink', 'JMumbleLibrary', 'natives', platform), \ os.path.join(project_root_dir, 'Sixense-Java', 'SixenseJavaLibrary', 'natives', platform), \ os.path.join(project_root_dir, 'lib', version, 'natives', platform)] diff --git a/installer/1.7.10-forge-nohydra.json b/installer/1.7.10-forge-nohydra.json index d0fa9e96..73dacbe7 100644 --- a/installer/1.7.10-forge-nohydra.json +++ b/installer/1.7.10-forge-nohydra.json @@ -1,5 +1,5 @@ { - "id": "1.7.10-minecrift-$VERSION", + "id": "1.7.10-minecrift-Vive-$VERSION", "time": "2015-01-23T05:13:20+00:00", "releaseTime": "1960-01-01T07:00:00+00:00", "type": "release", @@ -148,6 +148,10 @@ { "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1" }, + { + "name": "com.sun:jna:4.2.1", + "url": "http://automat-gh.github.io/minecrift/" + }, { "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1", "natives": { @@ -242,24 +246,6 @@ ] } }, - { - "name": "com.valvesoftware.openvr:JOpenVR:0.9.16.0", - "url": "http://repo.minecraft-vr.com/" - }, - { - "name": "com.valvesoftware.openvr:JOpenVRLibrary:0.9.16.0", - "url": "http://repo.minecraft-vr.com/", - "natives": { - "linux": "natives-linux-${arch}", - "windows": "natives-windows-${arch}", - "osx": "natives-osx-${arch}" - }, - "extract": { - "exclude": [ - "META-INF/" - ] - } - }, { "name": "net.aib42.mumblelink:JMumble:1.11", "url": "http://repo.minecraft-vr.com/" diff --git a/installer/1.7.10-forge.json b/installer/1.7.10-forge.json index d5c89a4a..b8a4993e 100644 --- a/installer/1.7.10-forge.json +++ b/installer/1.7.10-forge.json @@ -1,5 +1,5 @@ { - "id": "1.7.10-minecrift-$VERSION", + "id": "1.7.10-minecrift-Vive-$VERSION", "time": "2015-01-23T05:13:20+00:00", "releaseTime": "1960-01-01T07:00:00+00:00", "type": "release", @@ -148,6 +148,10 @@ { "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1" }, + { + "name": "com.sun:jna:4.2.1", + "url": "http://automat-gh.github.io/minecrift/" + }, { "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1", "natives": { @@ -242,24 +246,6 @@ ] } }, - { - "name": "com.valvesoftware.openvr:JOpenVR:0.9.16.0", - "url": "http://repo.minecraft-vr.com/" - }, - { - "name": "com.valvesoftware.openvr:JOpenVRLibrary:0.9.16.0", - "url": "http://repo.minecraft-vr.com/", - "natives": { - "linux": "natives-linux-${arch}", - "windows": "natives-windows-${arch}", - "osx": "natives-osx-${arch}" - }, - "extract": { - "exclude": [ - "META-INF/" - ] - } - }, { "name": "net.aib42.mumblelink:JMumble:1.11", "url": "http://repo.minecraft-vr.com/" diff --git a/installer/1.7.10-nohydra.json b/installer/1.7.10-nohydra.json index 1edfe9c1..b2171ef9 100644 --- a/installer/1.7.10-nohydra.json +++ b/installer/1.7.10-nohydra.json @@ -1,5 +1,5 @@ { - "id": "1.7.10-minecrift-$VERSION", + "id": "1.7.10-minecrift-Vive-$VERSION", "time": "2014-05-14T18:29:23+01:00", "releaseTime": "2014-05-14T18:29:23+01:00", "type": "release", @@ -99,6 +99,10 @@ { "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1" }, + { + "name": "com.sun:jna:4.2.1", + "url": "http://automat-gh.github.io/minecrift/" + }, { "name": "de.fruitfly.ovr:JRift:0.8.0.0.1", "url": "http://repo.minecraft-vr.com/" @@ -196,25 +200,7 @@ "META-INF/" ] } - }, - { - "name": "com.valvesoftware.openvr:JOpenVR:0.9.16.0", - "url": "http://repo.minecraft-vr.com/" - }, - { - "name": "com.valvesoftware.openvr:JOpenVRLibrary:0.9.16.0", - "url": "http://repo.minecraft-vr.com/", - "natives": { - "linux": "natives-linux-${arch}", - "windows": "natives-windows-${arch}", - "osx": "natives-osx-${arch}" - }, - "extract": { - "exclude": [ - "META-INF/" - ] - } - }, + }, { "name": "net.aib42.mumblelink:JMumbleLibrary:1.11", "url": "http://repo.minecraft-vr.com/", diff --git a/installer/1.7.10.json b/installer/1.7.10.json index 1edfe9c1..1bec0dc4 100644 --- a/installer/1.7.10.json +++ b/installer/1.7.10.json @@ -1,5 +1,5 @@ { - "id": "1.7.10-minecrift-$VERSION", + "id": "1.7.10-minecrift-Vive-$VERSION", "time": "2014-05-14T18:29:23+01:00", "releaseTime": "2014-05-14T18:29:23+01:00", "type": "release", @@ -99,6 +99,10 @@ { "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1" }, + { + "name": "com.sun:jna:4.2.1", + "url": "http://automat-gh.github.io/minecrift/" + }, { "name": "de.fruitfly.ovr:JRift:0.8.0.0.1", "url": "http://repo.minecraft-vr.com/" @@ -196,25 +200,7 @@ "META-INF/" ] } - }, - { - "name": "com.valvesoftware.openvr:JOpenVR:0.9.16.0", - "url": "http://repo.minecraft-vr.com/" - }, - { - "name": "com.valvesoftware.openvr:JOpenVRLibrary:0.9.16.0", - "url": "http://repo.minecraft-vr.com/", - "natives": { - "linux": "natives-linux-${arch}", - "windows": "natives-windows-${arch}", - "osx": "natives-osx-${arch}" - }, - "extract": { - "exclude": [ - "META-INF/" - ] - } - }, + }, { "name": "net.aib42.mumblelink:JMumbleLibrary:1.11", "url": "http://repo.minecraft-vr.com/", diff --git a/installer/Installer.java b/installer/Installer.java index 1a3731a2..6aeee322 100644 --- a/installer/Installer.java +++ b/installer/Installer.java @@ -33,7 +33,7 @@ public class Installer extends JPanel implements PropertyChangeListener private static final long serialVersionUID = -562178983462626162L; private String tempDir = System.getProperty("java.io.tmpdir"); - private static final boolean ALLOW_FORGE_INSTALL = true; + private static final boolean ALLOW_FORGE_INSTALL = false; // VIVE: disabled, forge install isn't working currently private static final boolean ALLOW_HYDRA_INSTALL = false; // TODO: Change to true once Hydra is fixed up private static final boolean NEEDS_2010_REDIST = true; @@ -576,6 +576,24 @@ private boolean EnableHRTF() // Implementation by Zach Jaggi return false; } + + // VIVE START - install openVR dlls + private boolean InstallOpenVR() { + File win32_dir = new File (targetDir, "win32" ); + File win64_dir = new File (targetDir, "win64" ); + win32_dir.mkdirs(); + win64_dir.mkdirs(); + + InputStream openvrdll = Installer.class.getResourceAsStream("win64/openvr_api.dll"); + File dll_out = new File (targetDir, "win64/openvr_api.dll"); + if (!copyInputStreamToFile(openvrdll, dll_out)) + return false; + + openvrdll = Installer.class.getResourceAsStream("win32/openvr_api.dll"); + dll_out = new File (targetDir, "win32/openvr_api.dll"); + return copyInputStreamToFile(openvrdll, dll_out); + } + // VIVE END - install openVR dll private void sleep(int millis) { @@ -786,6 +804,17 @@ public Void doInBackground() monitor.close(); return null; } + // VIVE START - install openVR + monitor.setProgress(52); + monitor.setNote("Installing OpenVR..."); + finalMessage = "Failed: Couldn't extract openvr_api.dll to .minecraft folder."; + if(!InstallOpenVR()) + { + monitor.close(); + return null; + } + // VIVE END - install openVR + // Setup forge if necessary if (useForge.isSelected() && !forgeVersionInstalled) { monitor.setProgress(55); @@ -1008,7 +1037,7 @@ public Installer(File targetDir) logoLabel.setAlignmentX(CENTER_ALIGNMENT); logoLabel.setAlignmentY(CENTER_ALIGNMENT); logoLabel.setSize(image.getWidth(), image.getHeight()); - if (!QUIET_DEV) + if (!QUIET_DEV && false) // VIVE - hide oculus logo logoSplash.add(logoLabel); } catch (IOException e) { } catch( IllegalArgumentException e) { @@ -1304,10 +1333,10 @@ public void mouseReleased(MouseEvent e) { private String getMinecraftProfileName(boolean usingForge) { if(!usingForge) { - return "Minecrift " + MINECRAFT_VERSION; + return "Minecrift-Vive " + MINECRAFT_VERSION; } else { - return "Minecrift " + MINECRAFT_VERSION + " Forge"; + return "Minecrift-Vive " + MINECRAFT_VERSION + " Forge"; } } diff --git a/installer/installer.jar b/installer/installer.jar index 71bff0de..ee45d580 100644 Binary files a/installer/installer.jar and b/installer/installer.jar differ diff --git a/minecriftversion.py b/minecriftversion.py index 1fcf6b2d..688cc686 100644 --- a/minecriftversion.py +++ b/minecriftversion.py @@ -4,7 +4,7 @@ of_json_name = "1.7.10_HD_U_D1" of_file_md5 = "57c724fe8335c82aef8d54c101043e60" minecrift_version_num = "1.7.10" -minecrift_build = "R2b" +minecrift_build = "R2b-Vive" of_file_extension = ".jar" mcp_version = "mcp908" mcp_uses_generics = False diff --git a/src/jopenvr/COpenVRContext.java b/src/jopenvr/COpenVRContext.java new file mode 100644 index 00000000..99d4851d --- /dev/null +++ b/src/jopenvr/COpenVRContext.java @@ -0,0 +1,113 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +import jopenvr.JOpenVRLibrary.IVRApplications; +import jopenvr.JOpenVRLibrary.IVRChaperone; +import jopenvr.JOpenVRLibrary.IVRChaperoneSetup; +import jopenvr.JOpenVRLibrary.IVRCompositor; +import jopenvr.JOpenVRLibrary.IVRExtendedDisplay; +import jopenvr.JOpenVRLibrary.IVROverlay; +import jopenvr.JOpenVRLibrary.IVRRenderModels; +import jopenvr.JOpenVRLibrary.IVRSettings; +import jopenvr.JOpenVRLibrary.IVRSystem; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class COpenVRContext extends Structure { + /** + * class vr::IVRSystem *
+ * C type : IVRSystem* + */ + public IVRSystem m_pVRSystem; + /** + * class vr::IVRChaperone *
+ * C type : IVRChaperone* + */ + public IVRChaperone m_pVRChaperone; + /** + * class vr::IVRChaperoneSetup *
+ * C type : IVRChaperoneSetup* + */ + public IVRChaperoneSetup m_pVRChaperoneSetup; + /** + * class vr::IVRCompositor *
+ * C type : IVRCompositor* + */ + public IVRCompositor m_pVRCompositor; + /** + * class vr::IVROverlay *
+ * C type : IVROverlay* + */ + public IVROverlay m_pVROverlay; + /** + * class vr::IVRRenderModels *
+ * C type : IVRRenderModels* + */ + public IVRRenderModels m_pVRRenderModels; + /** + * class vr::IVRExtendedDisplay *
+ * C type : IVRExtendedDisplay* + */ + public IVRExtendedDisplay m_pVRExtendedDisplay; + /** + * class vr::IVRSettings *
+ * C type : IVRSettings* + */ + public IVRSettings m_pVRSettings; + /** + * class vr::IVRApplications *
+ * C type : IVRApplications* + */ + public IVRApplications m_pVRApplications; + public COpenVRContext() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("m_pVRSystem", "m_pVRChaperone", "m_pVRChaperoneSetup", "m_pVRCompositor", "m_pVROverlay", "m_pVRRenderModels", "m_pVRExtendedDisplay", "m_pVRSettings", "m_pVRApplications"); + } + /** + * @param m_pVRSystem class vr::IVRSystem *
+ * C type : IVRSystem*
+ * @param m_pVRChaperone class vr::IVRChaperone *
+ * C type : IVRChaperone*
+ * @param m_pVRChaperoneSetup class vr::IVRChaperoneSetup *
+ * C type : IVRChaperoneSetup*
+ * @param m_pVRCompositor class vr::IVRCompositor *
+ * C type : IVRCompositor*
+ * @param m_pVROverlay class vr::IVROverlay *
+ * C type : IVROverlay*
+ * @param m_pVRRenderModels class vr::IVRRenderModels *
+ * C type : IVRRenderModels*
+ * @param m_pVRExtendedDisplay class vr::IVRExtendedDisplay *
+ * C type : IVRExtendedDisplay*
+ * @param m_pVRSettings class vr::IVRSettings *
+ * C type : IVRSettings*
+ * @param m_pVRApplications class vr::IVRApplications *
+ * C type : IVRApplications* + */ + public COpenVRContext(IVRSystem m_pVRSystem, IVRChaperone m_pVRChaperone, IVRChaperoneSetup m_pVRChaperoneSetup, IVRCompositor m_pVRCompositor, IVROverlay m_pVROverlay, IVRRenderModels m_pVRRenderModels, IVRExtendedDisplay m_pVRExtendedDisplay, IVRSettings m_pVRSettings, IVRApplications m_pVRApplications) { + super(); + this.m_pVRSystem = m_pVRSystem; + this.m_pVRChaperone = m_pVRChaperone; + this.m_pVRChaperoneSetup = m_pVRChaperoneSetup; + this.m_pVRCompositor = m_pVRCompositor; + this.m_pVROverlay = m_pVROverlay; + this.m_pVRRenderModels = m_pVRRenderModels; + this.m_pVRExtendedDisplay = m_pVRExtendedDisplay; + this.m_pVRSettings = m_pVRSettings; + this.m_pVRApplications = m_pVRApplications; + } + public COpenVRContext(Pointer peer) { + super(peer); + } + public static class ByReference extends COpenVRContext implements Structure.ByReference { + + }; + public static class ByValue extends COpenVRContext implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/CameraVideoStreamFrame_t.java b/src/jopenvr/CameraVideoStreamFrame_t.java new file mode 100644 index 00000000..12d49408 --- /dev/null +++ b/src/jopenvr/CameraVideoStreamFrame_t.java @@ -0,0 +1,58 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class CameraVideoStreamFrame_t extends Structure { + /** + * @see ECameraVideoStreamFormat
+ * C type : ECameraVideoStreamFormat + */ + public int m_nStreamFormat; + public int m_nWidth; + public int m_nHeight; + public int m_nImageDataSize; + public int m_nFrameSequence; + public int m_nISPFrameTimeStamp; + public int m_nISPReferenceTimeStamp; + public int m_nSyncCounter; + public int m_nExposureTime; + public int m_nBufferIndex; + public int m_nBufferCount; + public double m_flFrameElapsedTime; + public double m_flFrameCaptureTime; + public long m_nFrameCaptureTicks; + public byte m_bPoseIsValid; + /** C type : HmdMatrix34_t */ + public HmdMatrix34_t m_matDeviceToAbsoluteTracking; + /** + * float[4]
+ * C type : float[4] + */ + public float[] m_Pad = new float[4]; + /** + * void *
+ * C type : void* + */ + public Pointer m_pImageData; + public CameraVideoStreamFrame_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("m_nStreamFormat", "m_nWidth", "m_nHeight", "m_nImageDataSize", "m_nFrameSequence", "m_nISPFrameTimeStamp", "m_nISPReferenceTimeStamp", "m_nSyncCounter", "m_nExposureTime", "m_nBufferIndex", "m_nBufferCount", "m_flFrameElapsedTime", "m_flFrameCaptureTime", "m_nFrameCaptureTicks", "m_bPoseIsValid", "m_matDeviceToAbsoluteTracking", "m_Pad", "m_pImageData"); + } + public CameraVideoStreamFrame_t(Pointer peer) { + super(peer); + } + public static class ByReference extends CameraVideoStreamFrame_t implements Structure.ByReference { + + }; + public static class ByValue extends CameraVideoStreamFrame_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/Compositor_FrameTiming.java b/src/jopenvr/Compositor_FrameTiming.java new file mode 100644 index 00000000..f30e80db --- /dev/null +++ b/src/jopenvr/Compositor_FrameTiming.java @@ -0,0 +1,50 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class Compositor_FrameTiming extends Structure { + public int m_nSize; + public int m_nFrameIndex; + public int m_nNumFramePresents; + public int m_nNumDroppedFrames; + public double m_flSystemTimeInSeconds; + public float m_flSceneRenderGpuMs; + public float m_flTotalRenderGpuMs; + public float m_flCompositorRenderGpuMs; + public float m_flCompositorRenderCpuMs; + public float m_flCompositorIdleCpuMs; + public float m_flClientFrameIntervalMs; + public float m_flPresentCallCpuMs; + public float m_flWaitForPresentCpuMs; + public float m_flSubmitFrameMs; + public float m_flWaitGetPosesCalledMs; + public float m_flNewPosesReadyMs; + public float m_flNewFrameReadyMs; + public float m_flCompositorUpdateStartMs; + public float m_flCompositorUpdateEndMs; + public float m_flCompositorRenderStartMs; + /** C type : TrackedDevicePose_t */ + public TrackedDevicePose_t m_HmdPose; + public int m_nFidelityLevel; + public Compositor_FrameTiming() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("m_nSize", "m_nFrameIndex", "m_nNumFramePresents", "m_nNumDroppedFrames", "m_flSystemTimeInSeconds", "m_flSceneRenderGpuMs", "m_flTotalRenderGpuMs", "m_flCompositorRenderGpuMs", "m_flCompositorRenderCpuMs", "m_flCompositorIdleCpuMs", "m_flClientFrameIntervalMs", "m_flPresentCallCpuMs", "m_flWaitForPresentCpuMs", "m_flSubmitFrameMs", "m_flWaitGetPosesCalledMs", "m_flNewPosesReadyMs", "m_flNewFrameReadyMs", "m_flCompositorUpdateStartMs", "m_flCompositorUpdateEndMs", "m_flCompositorRenderStartMs", "m_HmdPose", "m_nFidelityLevel"); + } + public Compositor_FrameTiming(Pointer peer) { + super(peer); + } + public static class ByReference extends Compositor_FrameTiming implements Structure.ByReference { + + }; + public static class ByValue extends Compositor_FrameTiming implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/Compositor_OverlaySettings.java b/src/jopenvr/Compositor_OverlaySettings.java new file mode 100644 index 00000000..794769ae --- /dev/null +++ b/src/jopenvr/Compositor_OverlaySettings.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class Compositor_OverlaySettings extends Structure { + public int size; + public byte curved; + public byte antialias; + public float scale; + public float distance; + public float alpha; + public float uOffset; + public float vOffset; + public float uScale; + public float vScale; + public float gridDivs; + public float gridWidth; + public float gridScale; + /** C type : HmdMatrix44_t */ + public HmdMatrix44_t transform; + public Compositor_OverlaySettings() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("size", "curved", "antialias", "scale", "distance", "alpha", "uOffset", "vOffset", "uScale", "vScale", "gridDivs", "gridWidth", "gridScale", "transform"); + } + public Compositor_OverlaySettings(Pointer peer) { + super(peer); + } + public static class ByReference extends Compositor_OverlaySettings implements Structure.ByReference { + + }; + public static class ByValue extends Compositor_OverlaySettings implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/DistortionCoordinates_t.java b/src/jopenvr/DistortionCoordinates_t.java new file mode 100644 index 00000000..cf19f182 --- /dev/null +++ b/src/jopenvr/DistortionCoordinates_t.java @@ -0,0 +1,62 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class DistortionCoordinates_t extends Structure { + /** + * float[2]
+ * C type : float[2] + */ + public float[] rfRed = new float[2]; + /** + * float[2]
+ * C type : float[2] + */ + public float[] rfGreen = new float[2]; + /** + * float[2]
+ * C type : float[2] + */ + public float[] rfBlue = new float[2]; + public DistortionCoordinates_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("rfRed", "rfGreen", "rfBlue"); + } + /** + * @param rfRed float[2]
+ * C type : float[2]
+ * @param rfGreen float[2]
+ * C type : float[2]
+ * @param rfBlue float[2]
+ * C type : float[2] + */ + public DistortionCoordinates_t(float rfRed[], float rfGreen[], float rfBlue[]) { + super(); + if ((rfRed.length != this.rfRed.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.rfRed = rfRed; + if ((rfGreen.length != this.rfGreen.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.rfGreen = rfGreen; + if ((rfBlue.length != this.rfBlue.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.rfBlue = rfBlue; + } + public DistortionCoordinates_t(Pointer peer) { + super(peer); + } + public static class ByReference extends DistortionCoordinates_t implements Structure.ByReference { + + }; + public static class ByValue extends DistortionCoordinates_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HiddenAreaMesh_t.java b/src/jopenvr/HiddenAreaMesh_t.java new file mode 100644 index 00000000..82c3f601 --- /dev/null +++ b/src/jopenvr/HiddenAreaMesh_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HiddenAreaMesh_t extends Structure { + /** + * const struct vr::HmdVector2_t *
+ * C type : HmdVector2_t* + */ + public jopenvr.HmdVector2_t.ByReference pVertexData; + public int unTriangleCount; + public HiddenAreaMesh_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("pVertexData", "unTriangleCount"); + } + /** + * @param pVertexData const struct vr::HmdVector2_t *
+ * C type : HmdVector2_t* + */ + public HiddenAreaMesh_t(jopenvr.HmdVector2_t.ByReference pVertexData, int unTriangleCount) { + super(); + this.pVertexData = pVertexData; + this.unTriangleCount = unTriangleCount; + } + public HiddenAreaMesh_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HiddenAreaMesh_t implements Structure.ByReference { + + }; + public static class ByValue extends HiddenAreaMesh_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdColor_t.java b/src/jopenvr/HmdColor_t.java new file mode 100644 index 00000000..3c5e9497 --- /dev/null +++ b/src/jopenvr/HmdColor_t.java @@ -0,0 +1,38 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdColor_t extends Structure { + public float r; + public float g; + public float b; + public float a; + public HmdColor_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("r", "g", "b", "a"); + } + public HmdColor_t(float r, float g, float b, float a) { + super(); + this.r = r; + this.g = g; + this.b = b; + this.a = a; + } + public HmdColor_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdColor_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdColor_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdMatrix34_t.java b/src/jopenvr/HmdMatrix34_t.java new file mode 100644 index 00000000..8db4f30b --- /dev/null +++ b/src/jopenvr/HmdMatrix34_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdMatrix34_t extends Structure { + /** + * float[3][4]
+ * C type : float[3][4] + */ + public float[] m = new float[((3) * (4))]; + public HmdMatrix34_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("m"); + } + /** + * @param m float[3][4]
+ * C type : float[3][4] + */ + public HmdMatrix34_t(float m[]) { + super(); + if ((m.length != this.m.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.m = m; + } + public HmdMatrix34_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdMatrix34_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdMatrix34_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdMatrix44_t.java b/src/jopenvr/HmdMatrix44_t.java new file mode 100644 index 00000000..cd79ebdf --- /dev/null +++ b/src/jopenvr/HmdMatrix44_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdMatrix44_t extends Structure { + /** + * float[4][4]
+ * C type : float[4][4] + */ + public float[] m = new float[((4) * (4))]; + public HmdMatrix44_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("m"); + } + /** + * @param m float[4][4]
+ * C type : float[4][4] + */ + public HmdMatrix44_t(float m[]) { + super(); + if ((m.length != this.m.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.m = m; + } + public HmdMatrix44_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdMatrix44_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdMatrix44_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdQuad_t.java b/src/jopenvr/HmdQuad_t.java new file mode 100644 index 00000000..1e4018c4 --- /dev/null +++ b/src/jopenvr/HmdQuad_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdQuad_t extends Structure { + /** + * struct vr::HmdVector3_t[4]
+ * C type : HmdVector3_t[4] + */ + public HmdVector3_t[] vCorners = new HmdVector3_t[4]; + public HmdQuad_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("vCorners"); + } + /** + * @param vCorners struct vr::HmdVector3_t[4]
+ * C type : HmdVector3_t[4] + */ + public HmdQuad_t(HmdVector3_t vCorners[]) { + super(); + if ((vCorners.length != this.vCorners.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.vCorners = vCorners; + } + public HmdQuad_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdQuad_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdQuad_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdQuaternion_t.java b/src/jopenvr/HmdQuaternion_t.java new file mode 100644 index 00000000..c8318ed6 --- /dev/null +++ b/src/jopenvr/HmdQuaternion_t.java @@ -0,0 +1,38 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdQuaternion_t extends Structure { + public double w; + public double x; + public double y; + public double z; + public HmdQuaternion_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("w", "x", "y", "z"); + } + public HmdQuaternion_t(double w, double x, double y, double z) { + super(); + this.w = w; + this.x = x; + this.y = y; + this.z = z; + } + public HmdQuaternion_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdQuaternion_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdQuaternion_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdRect2_t.java b/src/jopenvr/HmdRect2_t.java new file mode 100644 index 00000000..a26e3820 --- /dev/null +++ b/src/jopenvr/HmdRect2_t.java @@ -0,0 +1,40 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdRect2_t extends Structure { + /** C type : HmdVector2_t */ + public HmdVector2_t vTopLeft; + /** C type : HmdVector2_t */ + public HmdVector2_t vBottomRight; + public HmdRect2_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("vTopLeft", "vBottomRight"); + } + /** + * @param vTopLeft C type : HmdVector2_t
+ * @param vBottomRight C type : HmdVector2_t + */ + public HmdRect2_t(HmdVector2_t vTopLeft, HmdVector2_t vBottomRight) { + super(); + this.vTopLeft = vTopLeft; + this.vBottomRight = vBottomRight; + } + public HmdRect2_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdRect2_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdRect2_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdVector2_t.java b/src/jopenvr/HmdVector2_t.java new file mode 100644 index 00000000..11306093 --- /dev/null +++ b/src/jopenvr/HmdVector2_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdVector2_t extends Structure { + /** + * float[2]
+ * C type : float[2] + */ + public float[] v = new float[2]; + public HmdVector2_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("v"); + } + /** + * @param v float[2]
+ * C type : float[2] + */ + public HmdVector2_t(float v[]) { + super(); + if ((v.length != this.v.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.v = v; + } + public HmdVector2_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdVector2_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdVector2_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdVector3_t.java b/src/jopenvr/HmdVector3_t.java new file mode 100644 index 00000000..656a4b27 --- /dev/null +++ b/src/jopenvr/HmdVector3_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdVector3_t extends Structure { + /** + * float[3]
+ * C type : float[3] + */ + public float[] v = new float[3]; + public HmdVector3_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("v"); + } + /** + * @param v float[3]
+ * C type : float[3] + */ + public HmdVector3_t(float v[]) { + super(); + if ((v.length != this.v.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.v = v; + } + public HmdVector3_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdVector3_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdVector3_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdVector3d_t.java b/src/jopenvr/HmdVector3d_t.java new file mode 100644 index 00000000..67a809bf --- /dev/null +++ b/src/jopenvr/HmdVector3d_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdVector3d_t extends Structure { + /** + * double[3]
+ * C type : double[3] + */ + public double[] v = new double[3]; + public HmdVector3d_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("v"); + } + /** + * @param v double[3]
+ * C type : double[3] + */ + public HmdVector3d_t(double v[]) { + super(); + if ((v.length != this.v.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.v = v; + } + public HmdVector3d_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdVector3d_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdVector3d_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/HmdVector4_t.java b/src/jopenvr/HmdVector4_t.java new file mode 100644 index 00000000..aa849dc5 --- /dev/null +++ b/src/jopenvr/HmdVector4_t.java @@ -0,0 +1,42 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class HmdVector4_t extends Structure { + /** + * float[4]
+ * C type : float[4] + */ + public float[] v = new float[4]; + public HmdVector4_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("v"); + } + /** + * @param v float[4]
+ * C type : float[4] + */ + public HmdVector4_t(float v[]) { + super(); + if ((v.length != this.v.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.v = v; + } + public HmdVector4_t(Pointer peer) { + super(peer); + } + public static class ByReference extends HmdVector4_t implements Structure.ByReference { + + }; + public static class ByValue extends HmdVector4_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/JMonkeyHelpers.java b/src/jopenvr/JMonkeyHelpers.java new file mode 100644 index 00000000..d96c6764 --- /dev/null +++ b/src/jopenvr/JMonkeyHelpers.java @@ -0,0 +1,108 @@ +/* + * Copyright (c) 2009-2012 jMonkeyEngine + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * * Neither the name of 'jMonkeyEngine' nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +package jopenvr; + +import de.fruitfly.ovr.structs.Quatf; + +public class JMonkeyHelpers +{ + // from JMonkeyEngine DQuaternion.java + public static Quatf convertMatrix4ftoRotationQuat(float m00, float m01, float m02, + float m10, float m11, float m12, float m20, float m21, float m22) { + // first normalize the forward (F), up (U) and side (S) vectors of the rotation matrix + // so that the scale does not affect the rotation + double lengthSquared = m00 * m00 + m10 * m10 + m20 * m20; + if (lengthSquared != 1f && lengthSquared != 0f) { + lengthSquared = 1.0 / Math.sqrt(lengthSquared); + m00 *= lengthSquared; + m10 *= lengthSquared; + m20 *= lengthSquared; + } + lengthSquared = m01 * m01 + m11 * m11 + m21 * m21; + if (lengthSquared != 1 && lengthSquared != 0f) { + lengthSquared = 1.0 / Math.sqrt(lengthSquared); + m01 *= lengthSquared; + m11 *= lengthSquared; + m21 *= lengthSquared; + } + lengthSquared = m02 * m02 + m12 * m12 + m22 * m22; + if (lengthSquared != 1f && lengthSquared != 0f) { + lengthSquared = 1.0 / Math.sqrt(lengthSquared); + m02 *= lengthSquared; + m12 *= lengthSquared; + m22 *= lengthSquared; + } + + // Use the Graphics Gems code, from + // ftp://ftp.cis.upenn.edu/pub/graphics/shoemake/quatut.ps.Z + // *NOT* the "Matrix and Quaternions FAQ", which has errors! + + // the trace is the sum of the diagonal elements; see + // http://mathworld.wolfram.com/MatrixTrace.html + float t = m00 + m11 + m22; + + // we protect the division by s by ensuring that s>=1 + Quatf quat = new Quatf(); + if (t >= 0) { // |w| >= .5 + double s = Math.sqrt(t + 1); // |s|>=1 ... + quat.w = (float)(0.5f * s); + s = 0.5f / s; // so this division isn't bad + quat.x = (float)((m21 - m12) * s); + quat.y = (float)((m02 - m20) * s); + quat.z = (float)((m10 - m01) * s); + } else if (m00 > m11 && m00 > m22) { + double s = Math.sqrt(1.0 + m00 - m11 - m22); // |s|>=1 + quat.x = (float)(s * 0.5f); // |x| >= .5 + s = 0.5f / s; + quat.y = (float)((m10 + m01) * s); + quat.z = (float)((m02 + m20) * s); + quat.w = (float)((m21 - m12) * s); + } else if (m11 > m22) { + double s = Math.sqrt(1.0 + m11 - m00 - m22); // |s|>=1 + quat.y = (float)(s * 0.5f); // |y| >= .5 + s = 0.5f / s; + quat.x = (float)((m10 + m01) * s); + quat.z = (float)((m21 + m12) * s); + quat.w = (float)((m02 - m20) * s); + } else { + double s = Math.sqrt(1.0 + m22 - m00 - m11); // |s|>=1 + quat.z = (float)(s * 0.5f); // |z| >= .5 + s = 0.5f / s; + quat.x = (float)((m02 + m20) * s); + quat.y = (float)((m21 + m12) * s); + quat.w = (float)((m10 - m01) * s); + } + + return quat; + } +} diff --git a/src/jopenvr/JOpenVRLibrary.java b/src/jopenvr/JOpenVRLibrary.java new file mode 100644 index 00000000..7bd6a252 --- /dev/null +++ b/src/jopenvr/JOpenVRLibrary.java @@ -0,0 +1,2635 @@ +package jopenvr; +import com.sun.jna.Library; +import com.sun.jna.Native; +import com.sun.jna.NativeLibrary; +import com.sun.jna.Pointer; +import com.sun.jna.PointerType; +import com.sun.jna.ptr.FloatByReference; +import com.sun.jna.ptr.IntByReference; +import com.sun.jna.ptr.LongByReference; +import com.sun.jna.ptr.PointerByReference; +import java.nio.ByteBuffer; +import java.nio.FloatBuffer; +import java.nio.IntBuffer; +import java.nio.LongBuffer; +/** + * JNA Wrapper for library JOpenVR
+ * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class JOpenVRLibrary implements Library { + public static final String JNA_LIBRARY_NAME = "openvr_api"; + public static final NativeLibrary JNA_NATIVE_LIB = NativeLibrary.getInstance(JOpenVRLibrary.JNA_LIBRARY_NAME); + static { + Native.register(JOpenVRLibrary.class, JOpenVRLibrary.JNA_NATIVE_LIB); + } + /** enum values */ + public static interface EVREye { + public static final int EVREye_Eye_Left = 0; + public static final int EVREye_Eye_Right = 1; + }; + /** enum values */ + public static interface EGraphicsAPIConvention { + public static final int EGraphicsAPIConvention_API_DirectX = 0; + public static final int EGraphicsAPIConvention_API_OpenGL = 1; + }; + /** enum values */ + public static interface EColorSpace { + public static final int EColorSpace_ColorSpace_Auto = 0; + public static final int EColorSpace_ColorSpace_Gamma = 1; + public static final int EColorSpace_ColorSpace_Linear = 2; + }; + /** enum values */ + public static interface ETrackingResult { + public static final int ETrackingResult_TrackingResult_Uninitialized = 1; + public static final int ETrackingResult_TrackingResult_Calibrating_InProgress = 100; + public static final int ETrackingResult_TrackingResult_Calibrating_OutOfRange = 101; + public static final int ETrackingResult_TrackingResult_Running_OK = 200; + public static final int ETrackingResult_TrackingResult_Running_OutOfRange = 201; + }; + /** enum values */ + public static interface ETrackedDeviceClass { + public static final int ETrackedDeviceClass_TrackedDeviceClass_Invalid = 0; + public static final int ETrackedDeviceClass_TrackedDeviceClass_HMD = 1; + public static final int ETrackedDeviceClass_TrackedDeviceClass_Controller = 2; + public static final int ETrackedDeviceClass_TrackedDeviceClass_TrackingReference = 4; + public static final int ETrackedDeviceClass_TrackedDeviceClass_Other = 1000; + }; + /** enum values */ + public static interface ETrackedControllerRole { + public static final int ETrackedControllerRole_TrackedControllerRole_Invalid = 0; + public static final int ETrackedControllerRole_TrackedControllerRole_LeftHand = 1; + public static final int ETrackedControllerRole_TrackedControllerRole_RightHand = 2; + }; + public static interface ETrackingUniverseOrigin { + public static final int ETrackingUniverseOrigin_TrackingUniverseSeated = 0; + public static final int ETrackingUniverseOrigin_TrackingUniverseStanding = 1; + public static final int ETrackingUniverseOrigin_TrackingUniverseRawAndUncalibrated = 2; + }; + /** enum values */ + public static interface ETrackedDeviceProperty { + public static final int ETrackedDeviceProperty_Prop_TrackingSystemName_String = 1000; + public static final int ETrackedDeviceProperty_Prop_ModelNumber_String = 1001; + public static final int ETrackedDeviceProperty_Prop_SerialNumber_String = 1002; + public static final int ETrackedDeviceProperty_Prop_RenderModelName_String = 1003; + public static final int ETrackedDeviceProperty_Prop_WillDriftInYaw_Bool = 1004; + public static final int ETrackedDeviceProperty_Prop_ManufacturerName_String = 1005; + public static final int ETrackedDeviceProperty_Prop_TrackingFirmwareVersion_String = 1006; + public static final int ETrackedDeviceProperty_Prop_HardwareRevision_String = 1007; + public static final int ETrackedDeviceProperty_Prop_AllWirelessDongleDescriptions_String = 1008; + public static final int ETrackedDeviceProperty_Prop_ConnectedWirelessDongle_String = 1009; + public static final int ETrackedDeviceProperty_Prop_DeviceIsWireless_Bool = 1010; + public static final int ETrackedDeviceProperty_Prop_DeviceIsCharging_Bool = 1011; + public static final int ETrackedDeviceProperty_Prop_DeviceBatteryPercentage_Float = 1012; + public static final int ETrackedDeviceProperty_Prop_StatusDisplayTransform_Matrix34 = 1013; + public static final int ETrackedDeviceProperty_Prop_Firmware_UpdateAvailable_Bool = 1014; + public static final int ETrackedDeviceProperty_Prop_Firmware_ManualUpdate_Bool = 1015; + public static final int ETrackedDeviceProperty_Prop_Firmware_ManualUpdateURL_String = 1016; + public static final int ETrackedDeviceProperty_Prop_HardwareRevision_Uint64 = 1017; + public static final int ETrackedDeviceProperty_Prop_FirmwareVersion_Uint64 = 1018; + public static final int ETrackedDeviceProperty_Prop_FPGAVersion_Uint64 = 1019; + public static final int ETrackedDeviceProperty_Prop_VRCVersion_Uint64 = 1020; + public static final int ETrackedDeviceProperty_Prop_RadioVersion_Uint64 = 1021; + public static final int ETrackedDeviceProperty_Prop_DongleVersion_Uint64 = 1022; + public static final int ETrackedDeviceProperty_Prop_BlockServerShutdown_Bool = 1023; + public static final int ETrackedDeviceProperty_Prop_CanUnifyCoordinateSystemWithHmd_Bool = 1024; + public static final int ETrackedDeviceProperty_Prop_ContainsProximitySensor_Bool = 1025; + public static final int ETrackedDeviceProperty_Prop_DeviceProvidesBatteryStatus_Bool = 1026; + public static final int ETrackedDeviceProperty_Prop_DeviceCanPowerOff_Bool = 1027; + public static final int ETrackedDeviceProperty_Prop_Firmware_ProgrammingTarget_String = 1028; + public static final int ETrackedDeviceProperty_Prop_DeviceClass_Int32 = 1029; + public static final int ETrackedDeviceProperty_Prop_HasCamera_Bool = 1030; + public static final int ETrackedDeviceProperty_Prop_ReportsTimeSinceVSync_Bool = 2000; + public static final int ETrackedDeviceProperty_Prop_SecondsFromVsyncToPhotons_Float = 2001; + public static final int ETrackedDeviceProperty_Prop_DisplayFrequency_Float = 2002; + public static final int ETrackedDeviceProperty_Prop_UserIpdMeters_Float = 2003; + public static final int ETrackedDeviceProperty_Prop_CurrentUniverseId_Uint64 = 2004; + public static final int ETrackedDeviceProperty_Prop_PreviousUniverseId_Uint64 = 2005; + public static final int ETrackedDeviceProperty_Prop_DisplayFirmwareVersion_Uint64 = 2006; + public static final int ETrackedDeviceProperty_Prop_IsOnDesktop_Bool = 2007; + public static final int ETrackedDeviceProperty_Prop_DisplayMCType_Int32 = 2008; + public static final int ETrackedDeviceProperty_Prop_DisplayMCOffset_Float = 2009; + public static final int ETrackedDeviceProperty_Prop_DisplayMCScale_Float = 2010; + public static final int ETrackedDeviceProperty_Prop_EdidVendorID_Int32 = 2011; + public static final int ETrackedDeviceProperty_Prop_DisplayMCImageLeft_String = 2012; + public static final int ETrackedDeviceProperty_Prop_DisplayMCImageRight_String = 2013; + public static final int ETrackedDeviceProperty_Prop_DisplayGCBlackClamp_Float = 2014; + public static final int ETrackedDeviceProperty_Prop_EdidProductID_Int32 = 2015; + public static final int ETrackedDeviceProperty_Prop_CameraToHeadTransform_Matrix34 = 2016; + public static final int ETrackedDeviceProperty_Prop_DisplayGCType_Int32 = 2017; + public static final int ETrackedDeviceProperty_Prop_DisplayGCOffset_Float = 2018; + public static final int ETrackedDeviceProperty_Prop_DisplayGCScale_Float = 2019; + public static final int ETrackedDeviceProperty_Prop_DisplayGCPrescale_Float = 2020; + public static final int ETrackedDeviceProperty_Prop_DisplayGCImage_String = 2021; + public static final int ETrackedDeviceProperty_Prop_LensCenterLeftU_Float = 2022; + public static final int ETrackedDeviceProperty_Prop_LensCenterLeftV_Float = 2023; + public static final int ETrackedDeviceProperty_Prop_LensCenterRightU_Float = 2024; + public static final int ETrackedDeviceProperty_Prop_LensCenterRightV_Float = 2025; + public static final int ETrackedDeviceProperty_Prop_UserHeadToEyeDepthMeters_Float = 2026; + public static final int ETrackedDeviceProperty_Prop_CameraFirmwareVersion_Uint64 = 2027; + public static final int ETrackedDeviceProperty_Prop_CameraFirmwareDescription_String = 2028; + public static final int ETrackedDeviceProperty_Prop_DisplayFPGAVersion_Uint64 = 2029; + public static final int ETrackedDeviceProperty_Prop_DisplayBootloaderVersion_Uint64 = 2030; + public static final int ETrackedDeviceProperty_Prop_DisplayHardwareVersion_Uint64 = 2031; + public static final int ETrackedDeviceProperty_Prop_AudioFirmwareVersion_Uint64 = 2032; + public static final int ETrackedDeviceProperty_Prop_AttachedDeviceId_String = 3000; + public static final int ETrackedDeviceProperty_Prop_SupportedButtons_Uint64 = 3001; + public static final int ETrackedDeviceProperty_Prop_Axis0Type_Int32 = 3002; + public static final int ETrackedDeviceProperty_Prop_Axis1Type_Int32 = 3003; + public static final int ETrackedDeviceProperty_Prop_Axis2Type_Int32 = 3004; + public static final int ETrackedDeviceProperty_Prop_Axis3Type_Int32 = 3005; + public static final int ETrackedDeviceProperty_Prop_Axis4Type_Int32 = 3006; + public static final int ETrackedDeviceProperty_Prop_FieldOfViewLeftDegrees_Float = 4000; + public static final int ETrackedDeviceProperty_Prop_FieldOfViewRightDegrees_Float = 4001; + public static final int ETrackedDeviceProperty_Prop_FieldOfViewTopDegrees_Float = 4002; + public static final int ETrackedDeviceProperty_Prop_FieldOfViewBottomDegrees_Float = 4003; + public static final int ETrackedDeviceProperty_Prop_TrackingRangeMinimumMeters_Float = 4004; + public static final int ETrackedDeviceProperty_Prop_TrackingRangeMaximumMeters_Float = 4005; + public static final int ETrackedDeviceProperty_Prop_ModeLabel_String = 4006; + public static final int ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_Start = 10000; + public static final int ETrackedDeviceProperty_Prop_VendorSpecific_Reserved_End = 10999; + }; + /** enum values */ + public static interface ETrackedPropertyError { + public static final int ETrackedPropertyError_TrackedProp_Success = 0; + public static final int ETrackedPropertyError_TrackedProp_WrongDataType = 1; + public static final int ETrackedPropertyError_TrackedProp_WrongDeviceClass = 2; + public static final int ETrackedPropertyError_TrackedProp_BufferTooSmall = 3; + public static final int ETrackedPropertyError_TrackedProp_UnknownProperty = 4; + public static final int ETrackedPropertyError_TrackedProp_InvalidDevice = 5; + public static final int ETrackedPropertyError_TrackedProp_CouldNotContactServer = 6; + public static final int ETrackedPropertyError_TrackedProp_ValueNotProvidedByDevice = 7; + public static final int ETrackedPropertyError_TrackedProp_StringExceedsMaximumLength = 8; + public static final int ETrackedPropertyError_TrackedProp_NotYetAvailable = 9; + }; + /** enum values */ + public static interface EVRSubmitFlags { + public static final int EVRSubmitFlags_Submit_Default = 0; + public static final int EVRSubmitFlags_Submit_LensDistortionAlreadyApplied = 1; + public static final int EVRSubmitFlags_Submit_GlRenderBuffer = 2; + }; + /** enum values */ + public static interface EVRState { + public static final int EVRState_VRState_Undefined = -1; + public static final int EVRState_VRState_Off = 0; + public static final int EVRState_VRState_Searching = 1; + public static final int EVRState_VRState_Searching_Alert = 2; + public static final int EVRState_VRState_Ready = 3; + public static final int EVRState_VRState_Ready_Alert = 4; + public static final int EVRState_VRState_NotReady = 5; + }; + /** enum values */ + public static interface EVREventType { + public static final int EVREventType_VREvent_None = 0; + public static final int EVREventType_VREvent_TrackedDeviceActivated = 100; + public static final int EVREventType_VREvent_TrackedDeviceDeactivated = 101; + public static final int EVREventType_VREvent_TrackedDeviceUpdated = 102; + public static final int EVREventType_VREvent_TrackedDeviceUserInteractionStarted = 103; + public static final int EVREventType_VREvent_TrackedDeviceUserInteractionEnded = 104; + public static final int EVREventType_VREvent_IpdChanged = 105; + public static final int EVREventType_VREvent_EnterStandbyMode = 106; + public static final int EVREventType_VREvent_LeaveStandbyMode = 107; + public static final int EVREventType_VREvent_TrackedDeviceRoleChanged = 108; + public static final int EVREventType_VREvent_ButtonPress = 200; + public static final int EVREventType_VREvent_ButtonUnpress = 201; + public static final int EVREventType_VREvent_ButtonTouch = 202; + public static final int EVREventType_VREvent_ButtonUntouch = 203; + public static final int EVREventType_VREvent_MouseMove = 300; + public static final int EVREventType_VREvent_MouseButtonDown = 301; + public static final int EVREventType_VREvent_MouseButtonUp = 302; + public static final int EVREventType_VREvent_FocusEnter = 303; + public static final int EVREventType_VREvent_FocusLeave = 304; + public static final int EVREventType_VREvent_Scroll = 305; + public static final int EVREventType_VREvent_TouchPadMove = 306; + public static final int EVREventType_VREvent_InputFocusCaptured = 400; + public static final int EVREventType_VREvent_InputFocusReleased = 401; + public static final int EVREventType_VREvent_SceneFocusLost = 402; + public static final int EVREventType_VREvent_SceneFocusGained = 403; + public static final int EVREventType_VREvent_SceneApplicationChanged = 404; + public static final int EVREventType_VREvent_SceneFocusChanged = 405; + public static final int EVREventType_VREvent_HideRenderModels = 410; + public static final int EVREventType_VREvent_ShowRenderModels = 411; + public static final int EVREventType_VREvent_OverlayShown = 500; + public static final int EVREventType_VREvent_OverlayHidden = 501; + public static final int EVREventType_VREvent_DashboardActivated = 502; + public static final int EVREventType_VREvent_DashboardDeactivated = 503; + public static final int EVREventType_VREvent_DashboardThumbSelected = 504; + public static final int EVREventType_VREvent_DashboardRequested = 505; + public static final int EVREventType_VREvent_ResetDashboard = 506; + public static final int EVREventType_VREvent_RenderToast = 507; + public static final int EVREventType_VREvent_ImageLoaded = 508; + public static final int EVREventType_VREvent_ShowKeyboard = 509; + public static final int EVREventType_VREvent_HideKeyboard = 510; + public static final int EVREventType_VREvent_OverlayGamepadFocusGained = 511; + public static final int EVREventType_VREvent_OverlayGamepadFocusLost = 512; + public static final int EVREventType_VREvent_Notification_Shown = 600; + public static final int EVREventType_VREvent_Notification_Hidden = 601; + public static final int EVREventType_VREvent_Notification_BeginInteraction = 602; + public static final int EVREventType_VREvent_Notification_Destroyed = 603; + public static final int EVREventType_VREvent_Quit = 700; + public static final int EVREventType_VREvent_ProcessQuit = 701; + public static final int EVREventType_VREvent_QuitAborted_UserPrompt = 702; + public static final int EVREventType_VREvent_QuitAcknowledged = 703; + public static final int EVREventType_VREvent_ChaperoneDataHasChanged = 800; + public static final int EVREventType_VREvent_ChaperoneUniverseHasChanged = 801; + public static final int EVREventType_VREvent_ChaperoneTempDataHasChanged = 802; + public static final int EVREventType_VREvent_ChaperoneSettingsHaveChanged = 803; + public static final int EVREventType_VREvent_BackgroundSettingHasChanged = 850; + public static final int EVREventType_VREvent_CameraSettingsHaveChanged = 851; + public static final int EVREventType_VREvent_StatusUpdate = 900; + public static final int EVREventType_VREvent_MCImageUpdated = 1000; + public static final int EVREventType_VREvent_FirmwareUpdateStarted = 1100; + public static final int EVREventType_VREvent_FirmwareUpdateFinished = 1101; + public static final int EVREventType_VREvent_KeyboardClosed = 1200; + public static final int EVREventType_VREvent_KeyboardCharInput = 1201; + public static final int EVREventType_VREvent_KeyboardDone = 1202; + public static final int EVREventType_VREvent_ApplicationTransitionStarted = 1300; + public static final int EVREventType_VREvent_ApplicationTransitionAborted = 1301; + public static final int EVREventType_VREvent_ApplicationTransitionNewAppStarted = 1302; + public static final int EVREventType_VREvent_Compositor_MirrorWindowShown = 1400; + public static final int EVREventType_VREvent_Compositor_MirrorWindowHidden = 1401; + public static final int EVREventType_VREvent_TrackedCamera_StartVideoStream = 1500; + public static final int EVREventType_VREvent_TrackedCamera_StopVideoStream = 1501; + public static final int EVREventType_VREvent_TrackedCamera_PauseVideoStream = 1502; + public static final int EVREventType_VREvent_TrackedCamera_ResumeVideoStream = 1503; + public static final int EVREventType_VREvent_PerformanceTest_EnableCapture = 1600; + public static final int EVREventType_VREvent_PerformanceTest_DisableCapture = 1601; + public static final int EVREventType_VREvent_PerformanceTest_FidelityLevel = 1602; + public static final int EVREventType_VREvent_VendorSpecific_Reserved_Start = 10000; + public static final int EVREventType_VREvent_VendorSpecific_Reserved_End = 19999; + }; + /** enum values */ + public static interface EDeviceActivityLevel { + public static final int EDeviceActivityLevel_k_EDeviceActivityLevel_Unknown = -1; + public static final int EDeviceActivityLevel_k_EDeviceActivityLevel_Idle = 0; + public static final int EDeviceActivityLevel_k_EDeviceActivityLevel_UserInteraction = 1; + public static final int EDeviceActivityLevel_k_EDeviceActivityLevel_UserInteraction_Timeout = 2; + public static final int EDeviceActivityLevel_k_EDeviceActivityLevel_Standby = 3; + }; + /** enum values */ + public static interface EVRButtonId { + public static final int EVRButtonId_k_EButton_System = 0; + public static final int EVRButtonId_k_EButton_ApplicationMenu = 1; + public static final int EVRButtonId_k_EButton_Grip = 2; + public static final int EVRButtonId_k_EButton_DPad_Left = 3; + public static final int EVRButtonId_k_EButton_DPad_Up = 4; + public static final int EVRButtonId_k_EButton_DPad_Right = 5; + public static final int EVRButtonId_k_EButton_DPad_Down = 6; + public static final int EVRButtonId_k_EButton_A = 7; + public static final int EVRButtonId_k_EButton_Axis0 = 32; + public static final int EVRButtonId_k_EButton_Axis1 = 33; + public static final int EVRButtonId_k_EButton_Axis2 = 34; + public static final int EVRButtonId_k_EButton_Axis3 = 35; + public static final int EVRButtonId_k_EButton_Axis4 = 36; + public static final int EVRButtonId_k_EButton_SteamVR_Touchpad = 32; + public static final int EVRButtonId_k_EButton_SteamVR_Trigger = 33; + public static final int EVRButtonId_k_EButton_Dashboard_Back = 2; + public static final int EVRButtonId_k_EButton_Max = 64; + }; + /** enum values */ + public static interface EVRMouseButton { + public static final int EVRMouseButton_VRMouseButton_Left = 1; + public static final int EVRMouseButton_VRMouseButton_Right = 2; + public static final int EVRMouseButton_VRMouseButton_Middle = 4; + }; + /** enum values */ + public static interface EVRControllerAxisType { + public static final int EVRControllerAxisType_k_eControllerAxis_None = 0; + public static final int EVRControllerAxisType_k_eControllerAxis_TrackPad = 1; + public static final int EVRControllerAxisType_k_eControllerAxis_Joystick = 2; + public static final int EVRControllerAxisType_k_eControllerAxis_Trigger = 3; + }; + /** enum values */ + public static interface EVRControllerEventOutputType { + public static final int EVRControllerEventOutputType_ControllerEventOutput_OSEvents = 0; + public static final int EVRControllerEventOutputType_ControllerEventOutput_VREvents = 1; + }; + /** enum values */ + public static interface ECollisionBoundsStyle { + public static final int ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_BEGINNER = 0; + public static final int ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_INTERMEDIATE = 1; + public static final int ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_SQUARES = 2; + public static final int ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_ADVANCED = 3; + public static final int ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_NONE = 4; + public static final int ECollisionBoundsStyle_COLLISION_BOUNDS_STYLE_COUNT = 5; + }; + /** enum values */ + public static interface EVROverlayError { + public static final int EVROverlayError_VROverlayError_None = 0; + public static final int EVROverlayError_VROverlayError_UnknownOverlay = 10; + public static final int EVROverlayError_VROverlayError_InvalidHandle = 11; + public static final int EVROverlayError_VROverlayError_PermissionDenied = 12; + public static final int EVROverlayError_VROverlayError_OverlayLimitExceeded = 13; + public static final int EVROverlayError_VROverlayError_WrongVisibilityType = 14; + public static final int EVROverlayError_VROverlayError_KeyTooLong = 15; + public static final int EVROverlayError_VROverlayError_NameTooLong = 16; + public static final int EVROverlayError_VROverlayError_KeyInUse = 17; + public static final int EVROverlayError_VROverlayError_WrongTransformType = 18; + public static final int EVROverlayError_VROverlayError_InvalidTrackedDevice = 19; + public static final int EVROverlayError_VROverlayError_InvalidParameter = 20; + public static final int EVROverlayError_VROverlayError_ThumbnailCantBeDestroyed = 21; + public static final int EVROverlayError_VROverlayError_ArrayTooSmall = 22; + public static final int EVROverlayError_VROverlayError_RequestFailed = 23; + public static final int EVROverlayError_VROverlayError_InvalidTexture = 24; + public static final int EVROverlayError_VROverlayError_UnableToLoadFile = 25; + public static final int EVROverlayError_VROVerlayError_KeyboardAlreadyInUse = 26; + public static final int EVROverlayError_VROverlayError_NoNeighbor = 27; + }; + /** enum values */ + public static interface EVRApplicationType { + public static final int EVRApplicationType_VRApplication_Other = 0; + public static final int EVRApplicationType_VRApplication_Scene = 1; + public static final int EVRApplicationType_VRApplication_Overlay = 2; + public static final int EVRApplicationType_VRApplication_Background = 3; + public static final int EVRApplicationType_VRApplication_Utility = 4; + }; + /** enum values */ + public static interface EVRFirmwareError { + public static final int EVRFirmwareError_VRFirmwareError_None = 0; + public static final int EVRFirmwareError_VRFirmwareError_Success = 1; + public static final int EVRFirmwareError_VRFirmwareError_Fail = 2; + }; + /** enum values */ + public static interface EVRNotificationError { + public static final int EVRNotificationError_VRNotificationError_OK = 0; + public static final int EVRNotificationError_VRNotificationError_InvalidNotificationId = 100; + public static final int EVRNotificationError_VRNotificationError_NotificationQueueFull = 101; + public static final int EVRNotificationError_VRNotificationError_InvalidOverlayHandle = 102; + }; + /** enum values */ + public static interface EVRInitError { + public static final int EVRInitError_VRInitError_None = 0; + public static final int EVRInitError_VRInitError_Unknown = 1; + public static final int EVRInitError_VRInitError_Init_InstallationNotFound = 100; + public static final int EVRInitError_VRInitError_Init_InstallationCorrupt = 101; + public static final int EVRInitError_VRInitError_Init_VRClientDLLNotFound = 102; + public static final int EVRInitError_VRInitError_Init_FileNotFound = 103; + public static final int EVRInitError_VRInitError_Init_FactoryNotFound = 104; + public static final int EVRInitError_VRInitError_Init_InterfaceNotFound = 105; + public static final int EVRInitError_VRInitError_Init_InvalidInterface = 106; + public static final int EVRInitError_VRInitError_Init_UserConfigDirectoryInvalid = 107; + public static final int EVRInitError_VRInitError_Init_HmdNotFound = 108; + public static final int EVRInitError_VRInitError_Init_NotInitialized = 109; + public static final int EVRInitError_VRInitError_Init_PathRegistryNotFound = 110; + public static final int EVRInitError_VRInitError_Init_NoConfigPath = 111; + public static final int EVRInitError_VRInitError_Init_NoLogPath = 112; + public static final int EVRInitError_VRInitError_Init_PathRegistryNotWritable = 113; + public static final int EVRInitError_VRInitError_Init_AppInfoInitFailed = 114; + public static final int EVRInitError_VRInitError_Init_Retry = 115; + public static final int EVRInitError_VRInitError_Init_InitCanceledByUser = 116; + public static final int EVRInitError_VRInitError_Init_AnotherAppLaunching = 117; + public static final int EVRInitError_VRInitError_Init_SettingsInitFailed = 118; + public static final int EVRInitError_VRInitError_Init_ShuttingDown = 119; + public static final int EVRInitError_VRInitError_Init_TooManyObjects = 120; + public static final int EVRInitError_VRInitError_Init_NoServerForBackgroundApp = 121; + public static final int EVRInitError_VRInitError_Init_NotSupportedWithCompositor = 122; + public static final int EVRInitError_VRInitError_Init_NotAvailableToUtilityApps = 123; + public static final int EVRInitError_VRInitError_Driver_Failed = 200; + public static final int EVRInitError_VRInitError_Driver_Unknown = 201; + public static final int EVRInitError_VRInitError_Driver_HmdUnknown = 202; + public static final int EVRInitError_VRInitError_Driver_NotLoaded = 203; + public static final int EVRInitError_VRInitError_Driver_RuntimeOutOfDate = 204; + public static final int EVRInitError_VRInitError_Driver_HmdInUse = 205; + public static final int EVRInitError_VRInitError_Driver_NotCalibrated = 206; + public static final int EVRInitError_VRInitError_Driver_CalibrationInvalid = 207; + public static final int EVRInitError_VRInitError_Driver_HmdDisplayNotFound = 208; + public static final int EVRInitError_VRInitError_IPC_ServerInitFailed = 300; + public static final int EVRInitError_VRInitError_IPC_ConnectFailed = 301; + public static final int EVRInitError_VRInitError_IPC_SharedStateInitFailed = 302; + public static final int EVRInitError_VRInitError_IPC_CompositorInitFailed = 303; + public static final int EVRInitError_VRInitError_IPC_MutexInitFailed = 304; + public static final int EVRInitError_VRInitError_IPC_Failed = 305; + public static final int EVRInitError_VRInitError_Compositor_Failed = 400; + public static final int EVRInitError_VRInitError_Compositor_D3D11HardwareRequired = 401; + public static final int EVRInitError_VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_But = 1100; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_CantOpenDevice = 1101; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_NoStoredConfig = 1103; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigTooBig = 1104; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigTooSmall = 1105; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToInitZLib = 1106; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion = 1107; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart = 1108; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart = 1109; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext = 1110; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_UserDataAddressRange = 1111; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_UserDataError = 1112; + public static final int EVRInitError_VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113; + public static final int EVRInitError_VRInitError_Steam_SteamInstallationNotFound = 2000; + }; + /** enum values */ + public static interface EVRApplicationError { + public static final int EVRApplicationError_VRApplicationError_None = 0; + public static final int EVRApplicationError_VRApplicationError_AppKeyAlreadyExists = 100; + public static final int EVRApplicationError_VRApplicationError_NoManifest = 101; + public static final int EVRApplicationError_VRApplicationError_NoApplication = 102; + public static final int EVRApplicationError_VRApplicationError_InvalidIndex = 103; + public static final int EVRApplicationError_VRApplicationError_UnknownApplication = 104; + public static final int EVRApplicationError_VRApplicationError_IPCFailed = 105; + public static final int EVRApplicationError_VRApplicationError_ApplicationAlreadyRunning = 106; + public static final int EVRApplicationError_VRApplicationError_InvalidManifest = 107; + public static final int EVRApplicationError_VRApplicationError_InvalidApplication = 108; + public static final int EVRApplicationError_VRApplicationError_LaunchFailed = 109; + public static final int EVRApplicationError_VRApplicationError_ApplicationAlreadyStarting = 110; + public static final int EVRApplicationError_VRApplicationError_LaunchInProgress = 111; + public static final int EVRApplicationError_VRApplicationError_OldApplicationQuitting = 112; + public static final int EVRApplicationError_VRApplicationError_TransitionAborted = 113; + public static final int EVRApplicationError_VRApplicationError_BufferTooSmall = 200; + public static final int EVRApplicationError_VRApplicationError_PropertyNotSet = 201; + public static final int EVRApplicationError_VRApplicationError_UnknownProperty = 202; + }; + /** enum values */ + public static interface EVRApplicationProperty { + public static final int EVRApplicationProperty_VRApplicationProperty_Name_String = 0; + public static final int EVRApplicationProperty_VRApplicationProperty_LaunchType_String = 11; + public static final int EVRApplicationProperty_VRApplicationProperty_WorkingDirectory_String = 12; + public static final int EVRApplicationProperty_VRApplicationProperty_BinaryPath_String = 13; + public static final int EVRApplicationProperty_VRApplicationProperty_Arguments_String = 14; + public static final int EVRApplicationProperty_VRApplicationProperty_URL_String = 15; + public static final int EVRApplicationProperty_VRApplicationProperty_Description_String = 50; + public static final int EVRApplicationProperty_VRApplicationProperty_NewsURL_String = 51; + public static final int EVRApplicationProperty_VRApplicationProperty_ImagePath_String = 52; + public static final int EVRApplicationProperty_VRApplicationProperty_Source_String = 53; + public static final int EVRApplicationProperty_VRApplicationProperty_IsDashboardOverlay_Bool = 60; + public static final int EVRApplicationProperty_VRApplicationProperty_LastLaunchTime_Uint64 = 70; + }; + /** enum values */ + public static interface EVRApplicationTransitionState { + public static final int EVRApplicationTransitionState_VRApplicationTransition_None = 0; + public static final int EVRApplicationTransitionState_VRApplicationTransition_OldAppQuitSent = 10; + public static final int EVRApplicationTransitionState_VRApplicationTransition_WaitingForExternalLaunch = 11; + public static final int EVRApplicationTransitionState_VRApplicationTransition_NewAppLaunched = 20; + }; + /** enum values */ + public static interface ChaperoneCalibrationState { + public static final int ChaperoneCalibrationState_OK = 1; + public static final int ChaperoneCalibrationState_Warning = 100; + public static final int ChaperoneCalibrationState_Warning_BaseStationMayHaveMoved = 101; + public static final int ChaperoneCalibrationState_Warning_BaseStationRemoved = 102; + public static final int ChaperoneCalibrationState_Warning_SeatedBoundsInvalid = 103; + public static final int ChaperoneCalibrationState_Error = 200; + public static final int ChaperoneCalibrationState_Error_BaseStationUninitalized = 201; + public static final int ChaperoneCalibrationState_Error_BaseStationConflict = 202; + public static final int ChaperoneCalibrationState_Error_PlayAreaInvalid = 203; + public static final int ChaperoneCalibrationState_Error_CollisionBoundsInvalid = 204; + }; + /** enum values */ + public static interface EChaperoneConfigFile { + public static final int EChaperoneConfigFile_Live = 1; + public static final int EChaperoneConfigFile_Temp = 2; + }; + /** enum values */ + public static interface EVRCompositorError { + public static final int EVRCompositorError_VRCompositorError_None = 0; + public static final int EVRCompositorError_VRCompositorError_IncompatibleVersion = 100; + public static final int EVRCompositorError_VRCompositorError_DoNotHaveFocus = 101; + public static final int EVRCompositorError_VRCompositorError_InvalidTexture = 102; + public static final int EVRCompositorError_VRCompositorError_IsNotSceneApplication = 103; + public static final int EVRCompositorError_VRCompositorError_TextureIsOnWrongDevice = 104; + public static final int EVRCompositorError_VRCompositorError_TextureUsesUnsupportedFormat = 105; + public static final int EVRCompositorError_VRCompositorError_SharedTexturesNotSupported = 106; + public static final int EVRCompositorError_VRCompositorError_IndexOutOfRange = 107; + }; + /** enum values */ + public static interface VROverlayInputMethod { + public static final int VROverlayInputMethod_None = 0; + public static final int VROverlayInputMethod_Mouse = 1; + }; + /** enum values */ + public static interface VROverlayTransformType { + public static final int VROverlayTransformType_VROverlayTransform_Absolute = 0; + public static final int VROverlayTransformType_VROverlayTransform_TrackedDeviceRelative = 1; + public static final int VROverlayTransformType_VROverlayTransform_SystemOverlay = 2; + public static final int VROverlayTransformType_VROverlayTransform_TrackedComponent = 3; + }; + /** enum values */ + public static interface VROverlayFlags { + public static final int VROverlayFlags_None = 0; + public static final int VROverlayFlags_Curved = 1; + public static final int VROverlayFlags_RGSS4X = 2; + public static final int VROverlayFlags_NoDashboardTab = 3; + public static final int VROverlayFlags_AcceptsGamepadEvents = 4; + public static final int VROverlayFlags_ShowGamepadFocus = 5; + public static final int VROverlayFlags_SendVRScrollEvents = 6; + public static final int VROverlayFlags_SendVRTouchpadEvents = 7; + }; + /** enum values */ + public static interface EGamepadTextInputMode { + public static final int EGamepadTextInputMode_k_EGamepadTextInputModeNormal = 0; + public static final int EGamepadTextInputMode_k_EGamepadTextInputModePassword = 1; + public static final int EGamepadTextInputMode_k_EGamepadTextInputModeSubmit = 2; + }; + /** enum values */ + public static interface EGamepadTextInputLineMode { + public static final int EGamepadTextInputLineMode_k_EGamepadTextInputLineModeSingleLine = 0; + public static final int EGamepadTextInputLineMode_k_EGamepadTextInputLineModeMultipleLines = 1; + }; + /** enum values */ + public static interface EOverlayDirection { + public static final int EOverlayDirection_OverlayDirection_Up = 0; + public static final int EOverlayDirection_OverlayDirection_Down = 1; + public static final int EOverlayDirection_OverlayDirection_Left = 2; + public static final int EOverlayDirection_OverlayDirection_Right = 3; + public static final int EOverlayDirection_OverlayDirection_Count = 4; + }; + /** enum values */ + public static interface EVRRenderModelError { + public static final int EVRRenderModelError_VRRenderModelError_None = 0; + public static final int EVRRenderModelError_VRRenderModelError_Loading = 100; + public static final int EVRRenderModelError_VRRenderModelError_NotSupported = 200; + public static final int EVRRenderModelError_VRRenderModelError_InvalidArg = 300; + public static final int EVRRenderModelError_VRRenderModelError_InvalidModel = 301; + public static final int EVRRenderModelError_VRRenderModelError_NoShapes = 302; + public static final int EVRRenderModelError_VRRenderModelError_MultipleShapes = 303; + public static final int EVRRenderModelError_VRRenderModelError_TooManyIndices = 304; + public static final int EVRRenderModelError_VRRenderModelError_MultipleTextures = 305; + public static final int EVRRenderModelError_VRRenderModelError_InvalidTexture = 400; + }; + public static interface EVRComponentProperty { + public static final int EVRComponentProperty_VRComponentProperty_IsStatic = 1; + public static final int EVRComponentProperty_VRComponentProperty_IsVisible = 2; + public static final int EVRComponentProperty_VRComponentProperty_IsTouched = 4; + public static final int EVRComponentProperty_VRComponentProperty_IsPressed = 8; + public static final int EVRComponentProperty_VRComponentProperty_IsScrolled = 16; + }; + /** enum values */ + public static interface EVRNotificationType { + public static final int EVRNotificationType_Transient = 0; + public static final int EVRNotificationType_Persistent = 1; + }; + /** enum values */ + public static interface EVRNotificationStyle { + public static final int EVRNotificationStyle_None = 0; + public static final int EVRNotificationStyle_Application = 100; + public static final int EVRNotificationStyle_Contact_Disabled = 200; + public static final int EVRNotificationStyle_Contact_Enabled = 201; + public static final int EVRNotificationStyle_Contact_Active = 202; + }; + /** enum values */ + public static interface EVRSettingsError { + public static final int EVRSettingsError_VRSettingsError_None = 0; + public static final int EVRSettingsError_VRSettingsError_IPCFailed = 1; + public static final int EVRSettingsError_VRSettingsError_WriteFailed = 2; + public static final int EVRSettingsError_VRSettingsError_ReadFailed = 3; + }; + /** enum values */ + public static interface ECameraVideoStreamFormat { + public static final int ECameraVideoStreamFormat_CVS_FORMAT_UNKNOWN = 0; + public static final int ECameraVideoStreamFormat_CVS_FORMAT_RAW10 = 1; + public static final int ECameraVideoStreamFormat_CVS_FORMAT_NV12 = 2; + public static final int ECameraVideoStreamFormat_CVS_FORMAT_RGB24 = 3; + public static final int ECameraVideoStreamFormat_CVS_MAX_FORMATS = 4; + }; + /** + * Original signature : void VR_IVRSystem_GetRecommendedRenderTargetSize(intptr_t, uint32_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetRecommendedRenderTargetSize(java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetRecommendedRenderTargetSize(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSystem_GetRecommendedRenderTargetSize(IntByReference instancePtr, IntByReference pnWidth, IntByReference pnHeight); + /** Original signature : void VR_IVRSystem_GetRecommendedRenderTargetSize(intptr_t, uint32_t*, uint32_t*) */ + public static native void VR_IVRSystem_GetRecommendedRenderTargetSize(Pointer instancePtr, IntBuffer pnWidth, IntBuffer pnHeight); + /** + * Original signature : HmdMatrix44_t VR_IVRSystem_GetProjectionMatrix(intptr_t, EVREye, float, float, EGraphicsAPIConvention)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetProjectionMatrix(java.nio.IntBuffer, int, float, float, int)} and {@link #VR_IVRSystem_GetProjectionMatrix(com.sun.jna.ptr.IntByReference, int, float, float, int)} instead + */ + @Deprecated + public static native HmdMatrix44_t.ByValue VR_IVRSystem_GetProjectionMatrix(IntByReference instancePtr, int eEye, float fNearZ, float fFarZ, int eProjType); + /** Original signature : HmdMatrix44_t VR_IVRSystem_GetProjectionMatrix(intptr_t, EVREye, float, float, EGraphicsAPIConvention) */ + public static native HmdMatrix44_t.ByValue VR_IVRSystem_GetProjectionMatrix(Pointer instancePtr, int eEye, float fNearZ, float fFarZ, int eProjType); + /** + * Original signature : void VR_IVRSystem_GetProjectionRaw(intptr_t, EVREye, float*, float*, float*, float*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetProjectionRaw(java.nio.IntBuffer, int, java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer)} and {@link #VR_IVRSystem_GetProjectionRaw(com.sun.jna.ptr.IntByReference, int, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native void VR_IVRSystem_GetProjectionRaw(IntByReference instancePtr, int eEye, FloatByReference pfLeft, FloatByReference pfRight, FloatByReference pfTop, FloatByReference pfBottom); + /** Original signature : void VR_IVRSystem_GetProjectionRaw(intptr_t, EVREye, float*, float*, float*, float*) */ + public static native void VR_IVRSystem_GetProjectionRaw(Pointer instancePtr, int eEye, FloatBuffer pfLeft, FloatBuffer pfRight, FloatBuffer pfTop, FloatBuffer pfBottom); + /** + * Original signature : DistortionCoordinates_t VR_IVRSystem_ComputeDistortion(intptr_t, EVREye, float, float)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_ComputeDistortion(java.nio.IntBuffer, int, float, float)} and {@link #VR_IVRSystem_ComputeDistortion(com.sun.jna.ptr.IntByReference, int, float, float)} instead + */ + @Deprecated + public static native jopenvr.DistortionCoordinates_t.ByValue VR_IVRSystem_ComputeDistortion(IntByReference instancePtr, int eEye, float fU, float fV); + /** Original signature : DistortionCoordinates_t VR_IVRSystem_ComputeDistortion(intptr_t, EVREye, float, float) */ + public static native jopenvr.DistortionCoordinates_t.ByValue VR_IVRSystem_ComputeDistortion(Pointer instancePtr, int eEye, float fU, float fV); + /** + * Original signature : HmdMatrix34_t VR_IVRSystem_GetEyeToHeadTransform(intptr_t, EVREye)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetEyeToHeadTransform(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetEyeToHeadTransform(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetEyeToHeadTransform(IntByReference instancePtr, int eEye); + /** Original signature : HmdMatrix34_t VR_IVRSystem_GetEyeToHeadTransform(intptr_t, EVREye) */ + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetEyeToHeadTransform(Pointer instancePtr, int eEye); + /** + * Original signature : bool VR_IVRSystem_GetTimeSinceLastVsync(intptr_t, float*, uint64_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetTimeSinceLastVsync(java.nio.IntBuffer, java.nio.FloatBuffer, java.nio.LongBuffer)} and {@link #VR_IVRSystem_GetTimeSinceLastVsync(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.LongByReference)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_GetTimeSinceLastVsync(IntByReference instancePtr, FloatByReference pfSecondsSinceLastVsync, LongByReference pulFrameCounter); + /** Original signature : bool VR_IVRSystem_GetTimeSinceLastVsync(intptr_t, float*, uint64_t*) */ + public static native byte VR_IVRSystem_GetTimeSinceLastVsync(Pointer instancePtr, FloatBuffer pfSecondsSinceLastVsync, LongBuffer pulFrameCounter); + /** + * Original signature : int32_t VR_IVRSystem_GetD3D9AdapterIndex(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetD3D9AdapterIndex(java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetD3D9AdapterIndex(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetD3D9AdapterIndex(IntByReference instancePtr); + /** Original signature : int32_t VR_IVRSystem_GetD3D9AdapterIndex(intptr_t) */ + public static native int VR_IVRSystem_GetD3D9AdapterIndex(Pointer instancePtr); + /** + * Original signature : void VR_IVRSystem_GetDXGIOutputInfo(intptr_t, int32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetDXGIOutputInfo(java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetDXGIOutputInfo(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSystem_GetDXGIOutputInfo(IntByReference instancePtr, IntByReference pnAdapterIndex); + /** Original signature : void VR_IVRSystem_GetDXGIOutputInfo(intptr_t, int32_t*) */ + public static native void VR_IVRSystem_GetDXGIOutputInfo(Pointer instancePtr, IntBuffer pnAdapterIndex); + /** + * Original signature : bool VR_IVRSystem_IsDisplayOnDesktop(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_IsDisplayOnDesktop(java.nio.IntBuffer)} and {@link #VR_IVRSystem_IsDisplayOnDesktop(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_IsDisplayOnDesktop(IntByReference instancePtr); + /** Original signature : bool VR_IVRSystem_IsDisplayOnDesktop(intptr_t) */ + public static native byte VR_IVRSystem_IsDisplayOnDesktop(Pointer instancePtr); + /** + * Original signature : bool VR_IVRSystem_SetDisplayVisibility(intptr_t, bool)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_SetDisplayVisibility(java.nio.IntBuffer, byte)} and {@link #VR_IVRSystem_SetDisplayVisibility(com.sun.jna.ptr.IntByReference, byte)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_SetDisplayVisibility(IntByReference instancePtr, byte bIsVisibleOnDesktop); + /** Original signature : bool VR_IVRSystem_SetDisplayVisibility(intptr_t, bool) */ + public static native byte VR_IVRSystem_SetDisplayVisibility(Pointer instancePtr, byte bIsVisibleOnDesktop); + /** + * Original signature : void VR_IVRSystem_GetDeviceToAbsoluteTrackingPose(intptr_t, ETrackingUniverseOrigin, float, TrackedDevicePose_t*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetDeviceToAbsoluteTrackingPose(java.nio.IntBuffer, int, float, jopenvr.TrackedDevicePose_t, int)} and {@link #VR_IVRSystem_GetDeviceToAbsoluteTrackingPose(com.sun.jna.ptr.IntByReference, int, float, jopenvr.TrackedDevicePose_t, int)} instead + */ + @Deprecated + public static native void VR_IVRSystem_GetDeviceToAbsoluteTrackingPose(IntByReference instancePtr, int eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t pTrackedDevicePoseArray, int unTrackedDevicePoseArrayCount); + /** Original signature : void VR_IVRSystem_GetDeviceToAbsoluteTrackingPose(intptr_t, ETrackingUniverseOrigin, float, TrackedDevicePose_t*, uint32_t) */ + public static native void VR_IVRSystem_GetDeviceToAbsoluteTrackingPose(Pointer instancePtr, int eOrigin, float fPredictedSecondsToPhotonsFromNow, TrackedDevicePose_t pTrackedDevicePoseArray, int unTrackedDevicePoseArrayCount); + /** + * Original signature : void VR_IVRSystem_ResetSeatedZeroPose(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_ResetSeatedZeroPose(java.nio.IntBuffer)} and {@link #VR_IVRSystem_ResetSeatedZeroPose(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSystem_ResetSeatedZeroPose(IntByReference instancePtr); + /** Original signature : void VR_IVRSystem_ResetSeatedZeroPose(intptr_t) */ + public static native void VR_IVRSystem_ResetSeatedZeroPose(Pointer instancePtr); + /** + * Original signature : HmdMatrix34_t VR_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(IntByReference instancePtr); + /** Original signature : HmdMatrix34_t VR_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(intptr_t) */ + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetSeatedZeroPoseToStandingAbsoluteTrackingPose(Pointer instancePtr); + /** + * Original signature : HmdMatrix34_t VR_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(IntByReference instancePtr); + /** Original signature : HmdMatrix34_t VR_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(intptr_t) */ + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetRawZeroPoseToStandingAbsoluteTrackingPose(Pointer instancePtr); + /** + * Original signature : uint32_t VR_IVRSystem_GetSortedTrackedDeviceIndicesOfClass(intptr_t, ETrackedDeviceClass, TrackedDeviceIndex_t*, uint32_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetSortedTrackedDeviceIndicesOfClass(java.nio.IntBuffer, int, java.nio.IntBuffer, int, int)} and {@link #VR_IVRSystem_GetSortedTrackedDeviceIndicesOfClass(com.sun.jna.ptr.IntByReference, int, com.sun.jna.ptr.IntByReference, int, int)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetSortedTrackedDeviceIndicesOfClass(IntByReference instancePtr, int eTrackedDeviceClass, IntByReference punTrackedDeviceIndexArray, int unTrackedDeviceIndexArrayCount, int unRelativeToTrackedDeviceIndex); + /** Original signature : uint32_t VR_IVRSystem_GetSortedTrackedDeviceIndicesOfClass(intptr_t, ETrackedDeviceClass, TrackedDeviceIndex_t*, uint32_t, TrackedDeviceIndex_t) */ + public static native int VR_IVRSystem_GetSortedTrackedDeviceIndicesOfClass(Pointer instancePtr, int eTrackedDeviceClass, IntBuffer punTrackedDeviceIndexArray, int unTrackedDeviceIndexArrayCount, int unRelativeToTrackedDeviceIndex); + /** + * Original signature : EDeviceActivityLevel VR_IVRSystem_GetTrackedDeviceActivityLevel(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetTrackedDeviceActivityLevel(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetTrackedDeviceActivityLevel(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetTrackedDeviceActivityLevel(IntByReference instancePtr, int unDeviceId); + /** Original signature : EDeviceActivityLevel VR_IVRSystem_GetTrackedDeviceActivityLevel(intptr_t, TrackedDeviceIndex_t) */ + public static native int VR_IVRSystem_GetTrackedDeviceActivityLevel(Pointer instancePtr, int unDeviceId); + /** + * Original signature : void VR_IVRSystem_ApplyTransform(intptr_t, TrackedDevicePose_t*, TrackedDevicePose_t*, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_ApplyTransform(java.nio.IntBuffer, jopenvr.TrackedDevicePose_t, jopenvr.TrackedDevicePose_t, jopenvr.HmdMatrix34_t)} and {@link #VR_IVRSystem_ApplyTransform(com.sun.jna.ptr.IntByReference, jopenvr.TrackedDevicePose_t, jopenvr.TrackedDevicePose_t, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native void VR_IVRSystem_ApplyTransform(IntByReference instancePtr, TrackedDevicePose_t pOutputPose, TrackedDevicePose_t pTrackedDevicePose, HmdMatrix34_t pTransform); + /** Original signature : void VR_IVRSystem_ApplyTransform(intptr_t, TrackedDevicePose_t*, TrackedDevicePose_t*, HmdMatrix34_t*) */ + public static native void VR_IVRSystem_ApplyTransform(Pointer instancePtr, TrackedDevicePose_t pOutputPose, TrackedDevicePose_t pTrackedDevicePose, HmdMatrix34_t pTransform); + /** + * Original signature : TrackedDeviceIndex_t VR_IVRSystem_GetTrackedDeviceIndexForControllerRole(intptr_t, ETrackedControllerRole)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetTrackedDeviceIndexForControllerRole(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetTrackedDeviceIndexForControllerRole(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetTrackedDeviceIndexForControllerRole(IntByReference instancePtr, int unDeviceType); + /** Original signature : TrackedDeviceIndex_t VR_IVRSystem_GetTrackedDeviceIndexForControllerRole(intptr_t, ETrackedControllerRole) */ + public static native int VR_IVRSystem_GetTrackedDeviceIndexForControllerRole(Pointer instancePtr, int unDeviceType); + /** + * Original signature : ETrackedControllerRole VR_IVRSystem_GetControllerRoleForTrackedDeviceIndex(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetControllerRoleForTrackedDeviceIndex(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetControllerRoleForTrackedDeviceIndex(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetControllerRoleForTrackedDeviceIndex(IntByReference instancePtr, int unDeviceIndex); + /** Original signature : ETrackedControllerRole VR_IVRSystem_GetControllerRoleForTrackedDeviceIndex(intptr_t, TrackedDeviceIndex_t) */ + public static native int VR_IVRSystem_GetControllerRoleForTrackedDeviceIndex(Pointer instancePtr, int unDeviceIndex); + /** + * Original signature : ETrackedDeviceClass VR_IVRSystem_GetTrackedDeviceClass(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetTrackedDeviceClass(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetTrackedDeviceClass(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetTrackedDeviceClass(IntByReference instancePtr, int unDeviceIndex); + /** Original signature : ETrackedDeviceClass VR_IVRSystem_GetTrackedDeviceClass(intptr_t, TrackedDeviceIndex_t) */ + public static native int VR_IVRSystem_GetTrackedDeviceClass(Pointer instancePtr, int unDeviceIndex); + /** + * Original signature : bool VR_IVRSystem_IsTrackedDeviceConnected(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_IsTrackedDeviceConnected(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_IsTrackedDeviceConnected(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_IsTrackedDeviceConnected(IntByReference instancePtr, int unDeviceIndex); + /** Original signature : bool VR_IVRSystem_IsTrackedDeviceConnected(intptr_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVRSystem_IsTrackedDeviceConnected(Pointer instancePtr, int unDeviceIndex); + /** + * Original signature : bool VR_IVRSystem_GetBoolTrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetBoolTrackedDeviceProperty(java.nio.IntBuffer, int, int, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetBoolTrackedDeviceProperty(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_GetBoolTrackedDeviceProperty(IntByReference instancePtr, int unDeviceIndex, int prop, IntByReference pError); + /** Original signature : bool VR_IVRSystem_GetBoolTrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*) */ + public static native byte VR_IVRSystem_GetBoolTrackedDeviceProperty(Pointer instancePtr, int unDeviceIndex, int prop, IntBuffer pError); + /** + * Original signature : float VR_IVRSystem_GetFloatTrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetFloatTrackedDeviceProperty(java.nio.IntBuffer, int, int, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetFloatTrackedDeviceProperty(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native float VR_IVRSystem_GetFloatTrackedDeviceProperty(IntByReference instancePtr, int unDeviceIndex, int prop, IntByReference pError); + /** Original signature : float VR_IVRSystem_GetFloatTrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*) */ + public static native float VR_IVRSystem_GetFloatTrackedDeviceProperty(Pointer instancePtr, int unDeviceIndex, int prop, IntBuffer pError); + /** + * Original signature : int32_t VR_IVRSystem_GetInt32TrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetInt32TrackedDeviceProperty(java.nio.IntBuffer, int, int, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetInt32TrackedDeviceProperty(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetInt32TrackedDeviceProperty(IntByReference instancePtr, int unDeviceIndex, int prop, IntByReference pError); + /** Original signature : int32_t VR_IVRSystem_GetInt32TrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*) */ + public static native int VR_IVRSystem_GetInt32TrackedDeviceProperty(Pointer instancePtr, int unDeviceIndex, int prop, IntBuffer pError); + /** + * Original signature : uint64_t VR_IVRSystem_GetUint64TrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetUint64TrackedDeviceProperty(java.nio.IntBuffer, int, int, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetUint64TrackedDeviceProperty(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native long VR_IVRSystem_GetUint64TrackedDeviceProperty(IntByReference instancePtr, int unDeviceIndex, int prop, IntByReference pError); + /** Original signature : uint64_t VR_IVRSystem_GetUint64TrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*) */ + public static native long VR_IVRSystem_GetUint64TrackedDeviceProperty(Pointer instancePtr, int unDeviceIndex, int prop, IntBuffer pError); + /** + * Original signature : HmdMatrix34_t VR_IVRSystem_GetMatrix34TrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetMatrix34TrackedDeviceProperty(java.nio.IntBuffer, int, int, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetMatrix34TrackedDeviceProperty(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetMatrix34TrackedDeviceProperty(IntByReference instancePtr, int unDeviceIndex, int prop, IntByReference pError); + /** Original signature : HmdMatrix34_t VR_IVRSystem_GetMatrix34TrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, ETrackedPropertyError*) */ + public static native HmdMatrix34_t.ByValue VR_IVRSystem_GetMatrix34TrackedDeviceProperty(Pointer instancePtr, int unDeviceIndex, int prop, IntBuffer pError); + /** + * Original signature : uint32_t VR_IVRSystem_GetStringTrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, char*, uint32_t, ETrackedPropertyError*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetStringTrackedDeviceProperty(java.nio.IntBuffer, int, int, java.nio.ByteBuffer, int, java.nio.IntBuffer)} and {@link #VR_IVRSystem_GetStringTrackedDeviceProperty(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRSystem_GetStringTrackedDeviceProperty(IntByReference instancePtr, int unDeviceIndex, int prop, Pointer pchValue, int unBufferSize, IntByReference pError); + /** Original signature : uint32_t VR_IVRSystem_GetStringTrackedDeviceProperty(intptr_t, TrackedDeviceIndex_t, ETrackedDeviceProperty, char*, uint32_t, ETrackedPropertyError*) */ + public static native int VR_IVRSystem_GetStringTrackedDeviceProperty(Pointer instancePtr, int unDeviceIndex, int prop, ByteBuffer pchValue, int unBufferSize, IntBuffer pError); + /** + * Original signature : char* VR_IVRSystem_GetPropErrorNameFromEnum(intptr_t, ETrackedPropertyError)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetPropErrorNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetPropErrorNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVRSystem_GetPropErrorNameFromEnum(IntByReference instancePtr, int error); + /** Original signature : char* VR_IVRSystem_GetPropErrorNameFromEnum(intptr_t, ETrackedPropertyError) */ + public static native Pointer VR_IVRSystem_GetPropErrorNameFromEnum(Pointer instancePtr, int error); + /** + * Original signature : bool VR_IVRSystem_PollNextEvent(intptr_t, VREvent_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_PollNextEvent(java.nio.IntBuffer, jopenvr.JOpenVRLibrary.VREvent_t)} and {@link #VR_IVRSystem_PollNextEvent(com.sun.jna.ptr.IntByReference, jopenvr.JOpenVRLibrary.VREvent_t)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_PollNextEvent(IntByReference instancePtr, JOpenVRLibrary.VREvent_t pEvent); + /** Original signature : bool VR_IVRSystem_PollNextEvent(intptr_t, VREvent_t*) */ + public static native byte VR_IVRSystem_PollNextEvent(Pointer instancePtr, JOpenVRLibrary.VREvent_t pEvent); + /** + * Original signature : bool VR_IVRSystem_PollNextEventWithPose(intptr_t, ETrackingUniverseOrigin, VREvent_t*, TrackedDevicePose_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_PollNextEventWithPose(java.nio.IntBuffer, int, jopenvr.JOpenVRLibrary.VREvent_t, jopenvr.TrackedDevicePose_t)} and {@link #VR_IVRSystem_PollNextEventWithPose(com.sun.jna.ptr.IntByReference, int, jopenvr.JOpenVRLibrary.VREvent_t, jopenvr.TrackedDevicePose_t)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_PollNextEventWithPose(IntByReference instancePtr, int eOrigin, JOpenVRLibrary.VREvent_t pEvent, TrackedDevicePose_t pTrackedDevicePose); + /** Original signature : bool VR_IVRSystem_PollNextEventWithPose(intptr_t, ETrackingUniverseOrigin, VREvent_t*, TrackedDevicePose_t*) */ + public static native byte VR_IVRSystem_PollNextEventWithPose(Pointer instancePtr, int eOrigin, JOpenVRLibrary.VREvent_t pEvent, TrackedDevicePose_t pTrackedDevicePose); + /** + * Original signature : char* VR_IVRSystem_GetEventTypeNameFromEnum(intptr_t, EVREventType)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetEventTypeNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetEventTypeNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVRSystem_GetEventTypeNameFromEnum(IntByReference instancePtr, int eType); + /** Original signature : char* VR_IVRSystem_GetEventTypeNameFromEnum(intptr_t, EVREventType) */ + public static native Pointer VR_IVRSystem_GetEventTypeNameFromEnum(Pointer instancePtr, int eType); + /** + * Original signature : HiddenAreaMesh_t VR_IVRSystem_GetHiddenAreaMesh(intptr_t, EVREye)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetHiddenAreaMesh(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetHiddenAreaMesh(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native jopenvr.HiddenAreaMesh_t.ByValue VR_IVRSystem_GetHiddenAreaMesh(IntByReference instancePtr, int eEye); + /** Original signature : HiddenAreaMesh_t VR_IVRSystem_GetHiddenAreaMesh(intptr_t, EVREye) */ + public static native jopenvr.HiddenAreaMesh_t.ByValue VR_IVRSystem_GetHiddenAreaMesh(Pointer instancePtr, int eEye); + /** + * Original signature : bool VR_IVRSystem_GetControllerState(intptr_t, TrackedDeviceIndex_t, VRControllerState_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetControllerState(java.nio.IntBuffer, int, jopenvr.VRControllerState_t)} and {@link #VR_IVRSystem_GetControllerState(com.sun.jna.ptr.IntByReference, int, jopenvr.VRControllerState_t)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_GetControllerState(IntByReference instancePtr, int unControllerDeviceIndex, VRControllerState_t pControllerState); + /** Original signature : bool VR_IVRSystem_GetControllerState(intptr_t, TrackedDeviceIndex_t, VRControllerState_t*) */ + public static native byte VR_IVRSystem_GetControllerState(Pointer instancePtr, int unControllerDeviceIndex, VRControllerState_t pControllerState); + /** + * Original signature : bool VR_IVRSystem_GetControllerStateWithPose(intptr_t, ETrackingUniverseOrigin, TrackedDeviceIndex_t, VRControllerState_t*, TrackedDevicePose_t*)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetControllerStateWithPose(java.nio.IntBuffer, int, int, jopenvr.VRControllerState_t, jopenvr.TrackedDevicePose_t)} and {@link #VR_IVRSystem_GetControllerStateWithPose(com.sun.jna.ptr.IntByReference, int, int, jopenvr.VRControllerState_t, jopenvr.TrackedDevicePose_t)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_GetControllerStateWithPose(IntByReference instancePtr, int eOrigin, int unControllerDeviceIndex, VRControllerState_t pControllerState, TrackedDevicePose_t pTrackedDevicePose); + /** Original signature : bool VR_IVRSystem_GetControllerStateWithPose(intptr_t, ETrackingUniverseOrigin, TrackedDeviceIndex_t, VRControllerState_t*, TrackedDevicePose_t*) */ + public static native byte VR_IVRSystem_GetControllerStateWithPose(Pointer instancePtr, int eOrigin, int unControllerDeviceIndex, VRControllerState_t pControllerState, TrackedDevicePose_t pTrackedDevicePose); + /** + * Original signature : void VR_IVRSystem_TriggerHapticPulse(intptr_t, TrackedDeviceIndex_t, uint32_t, unsigned short)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_TriggerHapticPulse(java.nio.IntBuffer, int, int, short)} and {@link #VR_IVRSystem_TriggerHapticPulse(com.sun.jna.ptr.IntByReference, int, int, short)} instead + */ + @Deprecated + public static native void VR_IVRSystem_TriggerHapticPulse(IntByReference instancePtr, int unControllerDeviceIndex, int unAxisId, short usDurationMicroSec); + /** Original signature : void VR_IVRSystem_TriggerHapticPulse(intptr_t, TrackedDeviceIndex_t, uint32_t, unsigned short) */ + public static native void VR_IVRSystem_TriggerHapticPulse(Pointer instancePtr, int unControllerDeviceIndex, int unAxisId, short usDurationMicroSec); + /** + * Original signature : char* VR_IVRSystem_GetButtonIdNameFromEnum(intptr_t, EVRButtonId)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetButtonIdNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetButtonIdNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVRSystem_GetButtonIdNameFromEnum(IntByReference instancePtr, int eButtonId); + /** Original signature : char* VR_IVRSystem_GetButtonIdNameFromEnum(intptr_t, EVRButtonId) */ + public static native Pointer VR_IVRSystem_GetButtonIdNameFromEnum(Pointer instancePtr, int eButtonId); + /** + * Original signature : char* VR_IVRSystem_GetControllerAxisTypeNameFromEnum(intptr_t, EVRControllerAxisType)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_GetControllerAxisTypeNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_GetControllerAxisTypeNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVRSystem_GetControllerAxisTypeNameFromEnum(IntByReference instancePtr, int eAxisType); + /** Original signature : char* VR_IVRSystem_GetControllerAxisTypeNameFromEnum(intptr_t, EVRControllerAxisType) */ + public static native Pointer VR_IVRSystem_GetControllerAxisTypeNameFromEnum(Pointer instancePtr, int eAxisType); + /** + * Original signature : bool VR_IVRSystem_CaptureInputFocus(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_CaptureInputFocus(java.nio.IntBuffer)} and {@link #VR_IVRSystem_CaptureInputFocus(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_CaptureInputFocus(IntByReference instancePtr); + /** Original signature : bool VR_IVRSystem_CaptureInputFocus(intptr_t) */ + public static native byte VR_IVRSystem_CaptureInputFocus(Pointer instancePtr); + /** + * Original signature : void VR_IVRSystem_ReleaseInputFocus(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_ReleaseInputFocus(java.nio.IntBuffer)} and {@link #VR_IVRSystem_ReleaseInputFocus(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSystem_ReleaseInputFocus(IntByReference instancePtr); + /** Original signature : void VR_IVRSystem_ReleaseInputFocus(intptr_t) */ + public static native void VR_IVRSystem_ReleaseInputFocus(Pointer instancePtr); + /** + * Original signature : bool VR_IVRSystem_IsInputFocusCapturedByAnotherProcess(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_IsInputFocusCapturedByAnotherProcess(java.nio.IntBuffer)} and {@link #VR_IVRSystem_IsInputFocusCapturedByAnotherProcess(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRSystem_IsInputFocusCapturedByAnotherProcess(IntByReference instancePtr); + /** Original signature : bool VR_IVRSystem_IsInputFocusCapturedByAnotherProcess(intptr_t) */ + public static native byte VR_IVRSystem_IsInputFocusCapturedByAnotherProcess(Pointer instancePtr); + /** + * Original signature : uint32_t VR_IVRSystem_DriverDebugRequest(intptr_t, TrackedDeviceIndex_t, const char*, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_DriverDebugRequest(java.nio.IntBuffer, int, java.lang.String, java.nio.ByteBuffer, int)} and {@link #VR_IVRSystem_DriverDebugRequest(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVRSystem_DriverDebugRequest(IntByReference instancePtr, int unDeviceIndex, Pointer pchRequest, Pointer pchResponseBuffer, int unResponseBufferSize); + /** Original signature : uint32_t VR_IVRSystem_DriverDebugRequest(intptr_t, TrackedDeviceIndex_t, const char*, char*, uint32_t) */ + public static native int VR_IVRSystem_DriverDebugRequest(Pointer instancePtr, int unDeviceIndex, String pchRequest, ByteBuffer pchResponseBuffer, int unResponseBufferSize); + /** + * Original signature : EVRFirmwareError VR_IVRSystem_PerformFirmwareUpdate(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_PerformFirmwareUpdate(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_PerformFirmwareUpdate(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native int VR_IVRSystem_PerformFirmwareUpdate(IntByReference instancePtr, int unDeviceIndex); + /** Original signature : EVRFirmwareError VR_IVRSystem_PerformFirmwareUpdate(intptr_t, TrackedDeviceIndex_t) */ + public static native int VR_IVRSystem_PerformFirmwareUpdate(Pointer instancePtr, int unDeviceIndex); + /** + * Original signature : void VR_IVRSystem_AcknowledgeQuit_Exiting(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_AcknowledgeQuit_Exiting(java.nio.IntBuffer)} and {@link #VR_IVRSystem_AcknowledgeQuit_Exiting(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSystem_AcknowledgeQuit_Exiting(IntByReference instancePtr); + /** Original signature : void VR_IVRSystem_AcknowledgeQuit_Exiting(intptr_t) */ + public static native void VR_IVRSystem_AcknowledgeQuit_Exiting(Pointer instancePtr); + /** + * Original signature : void VR_IVRSystem_AcknowledgeQuit_UserPrompt(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_AcknowledgeQuit_UserPrompt(java.nio.IntBuffer)} and {@link #VR_IVRSystem_AcknowledgeQuit_UserPrompt(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSystem_AcknowledgeQuit_UserPrompt(IntByReference instancePtr); + /** Original signature : void VR_IVRSystem_AcknowledgeQuit_UserPrompt(intptr_t) */ + public static native void VR_IVRSystem_AcknowledgeQuit_UserPrompt(Pointer instancePtr); + /** + * Original signature : void VR_IVRSystem_PerformanceTestEnableCapture(intptr_t, bool)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_PerformanceTestEnableCapture(java.nio.IntBuffer, byte)} and {@link #VR_IVRSystem_PerformanceTestEnableCapture(com.sun.jna.ptr.IntByReference, byte)} instead + */ + @Deprecated + public static native void VR_IVRSystem_PerformanceTestEnableCapture(IntByReference instancePtr, byte bEnable); + /** Original signature : void VR_IVRSystem_PerformanceTestEnableCapture(intptr_t, bool) */ + public static native void VR_IVRSystem_PerformanceTestEnableCapture(Pointer instancePtr, byte bEnable); + /** + * Original signature : void VR_IVRSystem_PerformanceTestReportFidelityLevelChange(intptr_t, int)
+ * @deprecated use the safer methods {@link #VR_IVRSystem_PerformanceTestReportFidelityLevelChange(java.nio.IntBuffer, int)} and {@link #VR_IVRSystem_PerformanceTestReportFidelityLevelChange(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native void VR_IVRSystem_PerformanceTestReportFidelityLevelChange(IntByReference instancePtr, int nFidelityLevel); + /** Original signature : void VR_IVRSystem_PerformanceTestReportFidelityLevelChange(intptr_t, int) */ + public static native void VR_IVRSystem_PerformanceTestReportFidelityLevelChange(Pointer instancePtr, int nFidelityLevel); + /** + * Original signature : void VR_IVRExtendedDisplay_GetWindowBounds(intptr_t, int32_t*, int32_t*, uint32_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRExtendedDisplay_GetWindowBounds(java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRExtendedDisplay_GetWindowBounds(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRExtendedDisplay_GetWindowBounds(IntByReference instancePtr, IntByReference pnX, IntByReference pnY, IntByReference pnWidth, IntByReference pnHeight); + /** Original signature : void VR_IVRExtendedDisplay_GetWindowBounds(intptr_t, int32_t*, int32_t*, uint32_t*, uint32_t*) */ + public static native void VR_IVRExtendedDisplay_GetWindowBounds(Pointer instancePtr, IntBuffer pnX, IntBuffer pnY, IntBuffer pnWidth, IntBuffer pnHeight); + /** + * Original signature : void VR_IVRExtendedDisplay_GetEyeOutputViewport(intptr_t, EVREye, uint32_t*, uint32_t*, uint32_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRExtendedDisplay_GetEyeOutputViewport(java.nio.IntBuffer, int, java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRExtendedDisplay_GetEyeOutputViewport(com.sun.jna.ptr.IntByReference, int, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRExtendedDisplay_GetEyeOutputViewport(IntByReference instancePtr, int eEye, IntByReference pnX, IntByReference pnY, IntByReference pnWidth, IntByReference pnHeight); + /** Original signature : void VR_IVRExtendedDisplay_GetEyeOutputViewport(intptr_t, EVREye, uint32_t*, uint32_t*, uint32_t*, uint32_t*) */ + public static native void VR_IVRExtendedDisplay_GetEyeOutputViewport(Pointer instancePtr, int eEye, IntBuffer pnX, IntBuffer pnY, IntBuffer pnWidth, IntBuffer pnHeight); + /** + * Original signature : void VR_IVRExtendedDisplay_GetDXGIOutputInfo(intptr_t, int32_t*, int32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRExtendedDisplay_GetDXGIOutputInfo(java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRExtendedDisplay_GetDXGIOutputInfo(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRExtendedDisplay_GetDXGIOutputInfo(IntByReference instancePtr, IntByReference pnAdapterIndex, IntByReference pnAdapterOutputIndex); + /** Original signature : void VR_IVRExtendedDisplay_GetDXGIOutputInfo(intptr_t, int32_t*, int32_t*) */ + public static native void VR_IVRExtendedDisplay_GetDXGIOutputInfo(Pointer instancePtr, IntBuffer pnAdapterIndex, IntBuffer pnAdapterOutputIndex); + /** + * Original signature : EVRApplicationError VR_IVRApplications_AddApplicationManifest(intptr_t, const char*, bool)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_AddApplicationManifest(java.nio.IntBuffer, java.lang.String, byte)} and {@link #VR_IVRApplications_AddApplicationManifest(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, byte)} instead + */ + @Deprecated + public static native int VR_IVRApplications_AddApplicationManifest(IntByReference instancePtr, Pointer pchApplicationManifestFullPath, byte bTemporary); + /** Original signature : EVRApplicationError VR_IVRApplications_AddApplicationManifest(intptr_t, const char*, bool) */ + public static native int VR_IVRApplications_AddApplicationManifest(Pointer instancePtr, String pchApplicationManifestFullPath, byte bTemporary); + /** + * Original signature : EVRApplicationError VR_IVRApplications_RemoveApplicationManifest(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_RemoveApplicationManifest(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_RemoveApplicationManifest(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVRApplications_RemoveApplicationManifest(IntByReference instancePtr, Pointer pchApplicationManifestFullPath); + /** Original signature : EVRApplicationError VR_IVRApplications_RemoveApplicationManifest(intptr_t, const char*) */ + public static native int VR_IVRApplications_RemoveApplicationManifest(Pointer instancePtr, String pchApplicationManifestFullPath); + /** + * Original signature : bool VR_IVRApplications_IsApplicationInstalled(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_IsApplicationInstalled(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_IsApplicationInstalled(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native byte VR_IVRApplications_IsApplicationInstalled(IntByReference instancePtr, Pointer pchAppKey); + /** Original signature : bool VR_IVRApplications_IsApplicationInstalled(intptr_t, const char*) */ + public static native byte VR_IVRApplications_IsApplicationInstalled(Pointer instancePtr, String pchAppKey); + /** + * Original signature : uint32_t VR_IVRApplications_GetApplicationCount(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationCount(java.nio.IntBuffer)} and {@link #VR_IVRApplications_GetApplicationCount(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRApplications_GetApplicationCount(IntByReference instancePtr); + /** Original signature : uint32_t VR_IVRApplications_GetApplicationCount(intptr_t) */ + public static native int VR_IVRApplications_GetApplicationCount(Pointer instancePtr); + /** + * Original signature : EVRApplicationError VR_IVRApplications_GetApplicationKeyByIndex(intptr_t, uint32_t, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationKeyByIndex(java.nio.IntBuffer, int, java.nio.ByteBuffer, int)} and {@link #VR_IVRApplications_GetApplicationKeyByIndex(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVRApplications_GetApplicationKeyByIndex(IntByReference instancePtr, int unApplicationIndex, Pointer pchAppKeyBuffer, int unAppKeyBufferLen); + /** Original signature : EVRApplicationError VR_IVRApplications_GetApplicationKeyByIndex(intptr_t, uint32_t, char*, uint32_t) */ + public static native int VR_IVRApplications_GetApplicationKeyByIndex(Pointer instancePtr, int unApplicationIndex, ByteBuffer pchAppKeyBuffer, int unAppKeyBufferLen); + /** + * Original signature : EVRApplicationError VR_IVRApplications_GetApplicationKeyByProcessId(intptr_t, uint32_t, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationKeyByProcessId(java.nio.IntBuffer, int, java.nio.ByteBuffer, int)} and {@link #VR_IVRApplications_GetApplicationKeyByProcessId(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVRApplications_GetApplicationKeyByProcessId(IntByReference instancePtr, int unProcessId, Pointer pchAppKeyBuffer, int unAppKeyBufferLen); + /** Original signature : EVRApplicationError VR_IVRApplications_GetApplicationKeyByProcessId(intptr_t, uint32_t, char*, uint32_t) */ + public static native int VR_IVRApplications_GetApplicationKeyByProcessId(Pointer instancePtr, int unProcessId, ByteBuffer pchAppKeyBuffer, int unAppKeyBufferLen); + /** + * Original signature : EVRApplicationError VR_IVRApplications_LaunchApplication(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_LaunchApplication(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_LaunchApplication(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVRApplications_LaunchApplication(IntByReference instancePtr, Pointer pchAppKey); + /** Original signature : EVRApplicationError VR_IVRApplications_LaunchApplication(intptr_t, const char*) */ + public static native int VR_IVRApplications_LaunchApplication(Pointer instancePtr, String pchAppKey); + /** + * Original signature : EVRApplicationError VR_IVRApplications_LaunchDashboardOverlay(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_LaunchDashboardOverlay(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_LaunchDashboardOverlay(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVRApplications_LaunchDashboardOverlay(IntByReference instancePtr, Pointer pchAppKey); + /** Original signature : EVRApplicationError VR_IVRApplications_LaunchDashboardOverlay(intptr_t, const char*) */ + public static native int VR_IVRApplications_LaunchDashboardOverlay(Pointer instancePtr, String pchAppKey); + /** + * Original signature : bool VR_IVRApplications_CancelApplicationLaunch(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_CancelApplicationLaunch(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_CancelApplicationLaunch(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native byte VR_IVRApplications_CancelApplicationLaunch(IntByReference instancePtr, Pointer pchAppKey); + /** Original signature : bool VR_IVRApplications_CancelApplicationLaunch(intptr_t, const char*) */ + public static native byte VR_IVRApplications_CancelApplicationLaunch(Pointer instancePtr, String pchAppKey); + /** + * Original signature : EVRApplicationError VR_IVRApplications_IdentifyApplication(intptr_t, uint32_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_IdentifyApplication(java.nio.IntBuffer, int, java.lang.String)} and {@link #VR_IVRApplications_IdentifyApplication(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVRApplications_IdentifyApplication(IntByReference instancePtr, int unProcessId, Pointer pchAppKey); + /** Original signature : EVRApplicationError VR_IVRApplications_IdentifyApplication(intptr_t, uint32_t, const char*) */ + public static native int VR_IVRApplications_IdentifyApplication(Pointer instancePtr, int unProcessId, String pchAppKey); + /** + * Original signature : uint32_t VR_IVRApplications_GetApplicationProcessId(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationProcessId(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_GetApplicationProcessId(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVRApplications_GetApplicationProcessId(IntByReference instancePtr, Pointer pchAppKey); + /** Original signature : uint32_t VR_IVRApplications_GetApplicationProcessId(intptr_t, const char*) */ + public static native int VR_IVRApplications_GetApplicationProcessId(Pointer instancePtr, String pchAppKey); + /** + * Original signature : char* VR_IVRApplications_GetApplicationsErrorNameFromEnum(intptr_t, EVRApplicationError)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationsErrorNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVRApplications_GetApplicationsErrorNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVRApplications_GetApplicationsErrorNameFromEnum(IntByReference instancePtr, int error); + /** Original signature : char* VR_IVRApplications_GetApplicationsErrorNameFromEnum(intptr_t, EVRApplicationError) */ + public static native Pointer VR_IVRApplications_GetApplicationsErrorNameFromEnum(Pointer instancePtr, int error); + /** + * Original signature : uint32_t VR_IVRApplications_GetApplicationPropertyString(intptr_t, const char*, EVRApplicationProperty, char*, uint32_t, EVRApplicationError*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationPropertyString(java.nio.IntBuffer, java.lang.String, int, java.nio.ByteBuffer, int, java.nio.IntBuffer)} and {@link #VR_IVRApplications_GetApplicationPropertyString(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRApplications_GetApplicationPropertyString(IntByReference instancePtr, Pointer pchAppKey, int eProperty, Pointer pchPropertyValueBuffer, int unPropertyValueBufferLen, IntByReference peError); + /** Original signature : uint32_t VR_IVRApplications_GetApplicationPropertyString(intptr_t, const char*, EVRApplicationProperty, char*, uint32_t, EVRApplicationError*) */ + public static native int VR_IVRApplications_GetApplicationPropertyString(Pointer instancePtr, String pchAppKey, int eProperty, ByteBuffer pchPropertyValueBuffer, int unPropertyValueBufferLen, IntBuffer peError); + /** + * Original signature : bool VR_IVRApplications_GetApplicationPropertyBool(intptr_t, const char*, EVRApplicationProperty, EVRApplicationError*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationPropertyBool(java.nio.IntBuffer, java.lang.String, int, java.nio.IntBuffer)} and {@link #VR_IVRApplications_GetApplicationPropertyBool(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRApplications_GetApplicationPropertyBool(IntByReference instancePtr, Pointer pchAppKey, int eProperty, IntByReference peError); + /** Original signature : bool VR_IVRApplications_GetApplicationPropertyBool(intptr_t, const char*, EVRApplicationProperty, EVRApplicationError*) */ + public static native byte VR_IVRApplications_GetApplicationPropertyBool(Pointer instancePtr, String pchAppKey, int eProperty, IntBuffer peError); + /** + * Original signature : uint64_t VR_IVRApplications_GetApplicationPropertyUint64(intptr_t, const char*, EVRApplicationProperty, EVRApplicationError*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationPropertyUint64(java.nio.IntBuffer, java.lang.String, int, java.nio.IntBuffer)} and {@link #VR_IVRApplications_GetApplicationPropertyUint64(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native long VR_IVRApplications_GetApplicationPropertyUint64(IntByReference instancePtr, Pointer pchAppKey, int eProperty, IntByReference peError); + /** Original signature : uint64_t VR_IVRApplications_GetApplicationPropertyUint64(intptr_t, const char*, EVRApplicationProperty, EVRApplicationError*) */ + public static native long VR_IVRApplications_GetApplicationPropertyUint64(Pointer instancePtr, String pchAppKey, int eProperty, IntBuffer peError); + /** + * Original signature : EVRApplicationError VR_IVRApplications_SetApplicationAutoLaunch(intptr_t, const char*, bool)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_SetApplicationAutoLaunch(java.nio.IntBuffer, java.lang.String, byte)} and {@link #VR_IVRApplications_SetApplicationAutoLaunch(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, byte)} instead + */ + @Deprecated + public static native int VR_IVRApplications_SetApplicationAutoLaunch(IntByReference instancePtr, Pointer pchAppKey, byte bAutoLaunch); + /** Original signature : EVRApplicationError VR_IVRApplications_SetApplicationAutoLaunch(intptr_t, const char*, bool) */ + public static native int VR_IVRApplications_SetApplicationAutoLaunch(Pointer instancePtr, String pchAppKey, byte bAutoLaunch); + /** + * Original signature : bool VR_IVRApplications_GetApplicationAutoLaunch(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationAutoLaunch(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_GetApplicationAutoLaunch(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native byte VR_IVRApplications_GetApplicationAutoLaunch(IntByReference instancePtr, Pointer pchAppKey); + /** Original signature : bool VR_IVRApplications_GetApplicationAutoLaunch(intptr_t, const char*) */ + public static native byte VR_IVRApplications_GetApplicationAutoLaunch(Pointer instancePtr, String pchAppKey); + /** + * Original signature : EVRApplicationError VR_IVRApplications_GetStartingApplication(intptr_t, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetStartingApplication(java.nio.IntBuffer, java.nio.ByteBuffer, int)} and {@link #VR_IVRApplications_GetStartingApplication(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVRApplications_GetStartingApplication(IntByReference instancePtr, Pointer pchAppKeyBuffer, int unAppKeyBufferLen); + /** Original signature : EVRApplicationError VR_IVRApplications_GetStartingApplication(intptr_t, char*, uint32_t) */ + public static native int VR_IVRApplications_GetStartingApplication(Pointer instancePtr, ByteBuffer pchAppKeyBuffer, int unAppKeyBufferLen); + /** + * Original signature : EVRApplicationTransitionState VR_IVRApplications_GetTransitionState(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetTransitionState(java.nio.IntBuffer)} and {@link #VR_IVRApplications_GetTransitionState(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRApplications_GetTransitionState(IntByReference instancePtr); + /** Original signature : EVRApplicationTransitionState VR_IVRApplications_GetTransitionState(intptr_t) */ + public static native int VR_IVRApplications_GetTransitionState(Pointer instancePtr); + /** + * Original signature : EVRApplicationError VR_IVRApplications_PerformApplicationPrelaunchCheck(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_PerformApplicationPrelaunchCheck(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRApplications_PerformApplicationPrelaunchCheck(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVRApplications_PerformApplicationPrelaunchCheck(IntByReference instancePtr, Pointer pchAppKey); + /** Original signature : EVRApplicationError VR_IVRApplications_PerformApplicationPrelaunchCheck(intptr_t, const char*) */ + public static native int VR_IVRApplications_PerformApplicationPrelaunchCheck(Pointer instancePtr, String pchAppKey); + /** + * Original signature : char* VR_IVRApplications_GetApplicationsTransitionStateNameFromEnum(intptr_t, EVRApplicationTransitionState)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_GetApplicationsTransitionStateNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVRApplications_GetApplicationsTransitionStateNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVRApplications_GetApplicationsTransitionStateNameFromEnum(IntByReference instancePtr, int state); + /** Original signature : char* VR_IVRApplications_GetApplicationsTransitionStateNameFromEnum(intptr_t, EVRApplicationTransitionState) */ + public static native Pointer VR_IVRApplications_GetApplicationsTransitionStateNameFromEnum(Pointer instancePtr, int state); + /** + * Original signature : bool VR_IVRApplications_IsQuitUserPromptRequested(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRApplications_IsQuitUserPromptRequested(java.nio.IntBuffer)} and {@link #VR_IVRApplications_IsQuitUserPromptRequested(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRApplications_IsQuitUserPromptRequested(IntByReference instancePtr); + /** Original signature : bool VR_IVRApplications_IsQuitUserPromptRequested(intptr_t) */ + public static native byte VR_IVRApplications_IsQuitUserPromptRequested(Pointer instancePtr); + /** + * Original signature : ChaperoneCalibrationState VR_IVRChaperone_GetCalibrationState(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_GetCalibrationState(java.nio.IntBuffer)} and {@link #VR_IVRChaperone_GetCalibrationState(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRChaperone_GetCalibrationState(IntByReference instancePtr); + /** Original signature : ChaperoneCalibrationState VR_IVRChaperone_GetCalibrationState(intptr_t) */ + public static native int VR_IVRChaperone_GetCalibrationState(Pointer instancePtr); + /** + * Original signature : bool VR_IVRChaperone_GetPlayAreaSize(intptr_t, float*, float*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_GetPlayAreaSize(java.nio.IntBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer)} and {@link #VR_IVRChaperone_GetPlayAreaSize(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native byte VR_IVRChaperone_GetPlayAreaSize(IntByReference instancePtr, FloatByReference pSizeX, FloatByReference pSizeZ); + /** Original signature : bool VR_IVRChaperone_GetPlayAreaSize(intptr_t, float*, float*) */ + public static native byte VR_IVRChaperone_GetPlayAreaSize(Pointer instancePtr, FloatBuffer pSizeX, FloatBuffer pSizeZ); + /** + * Original signature : bool VR_IVRChaperone_GetPlayAreaRect(intptr_t, HmdQuad_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_GetPlayAreaRect(java.nio.IntBuffer, jopenvr.HmdQuad_t)} and {@link #VR_IVRChaperone_GetPlayAreaRect(com.sun.jna.ptr.IntByReference, jopenvr.HmdQuad_t)} instead + */ + @Deprecated + public static native byte VR_IVRChaperone_GetPlayAreaRect(IntByReference instancePtr, HmdQuad_t rect); + /** Original signature : bool VR_IVRChaperone_GetPlayAreaRect(intptr_t, HmdQuad_t*) */ + public static native byte VR_IVRChaperone_GetPlayAreaRect(Pointer instancePtr, HmdQuad_t rect); + /** + * Original signature : void VR_IVRChaperone_ReloadInfo(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_ReloadInfo(java.nio.IntBuffer)} and {@link #VR_IVRChaperone_ReloadInfo(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRChaperone_ReloadInfo(IntByReference instancePtr); + /** Original signature : void VR_IVRChaperone_ReloadInfo(intptr_t) */ + public static native void VR_IVRChaperone_ReloadInfo(Pointer instancePtr); + /** + * Original signature : void VR_IVRChaperone_SetSceneColor(intptr_t, HmdColor_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_SetSceneColor(java.nio.IntBuffer, jopenvr.HmdColor_t.ByValue)} and {@link #VR_IVRChaperone_SetSceneColor(com.sun.jna.ptr.IntByReference, jopenvr.HmdColor_t.ByValue)} instead + */ + @Deprecated + public static native void VR_IVRChaperone_SetSceneColor(IntByReference instancePtr, HmdColor_t.ByValue color); + /** Original signature : void VR_IVRChaperone_SetSceneColor(intptr_t, HmdColor_t) */ + public static native void VR_IVRChaperone_SetSceneColor(Pointer instancePtr, HmdColor_t.ByValue color); + /** + * Original signature : void VR_IVRChaperone_GetBoundsColor(intptr_t, HmdColor_t*, int, float)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_GetBoundsColor(java.nio.IntBuffer, jopenvr.HmdColor_t, int, float)} and {@link #VR_IVRChaperone_GetBoundsColor(com.sun.jna.ptr.IntByReference, jopenvr.HmdColor_t, int, float)} instead + */ + @Deprecated + public static native void VR_IVRChaperone_GetBoundsColor(IntByReference instancePtr, HmdColor_t pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance); + /** Original signature : void VR_IVRChaperone_GetBoundsColor(intptr_t, HmdColor_t*, int, float) */ + public static native void VR_IVRChaperone_GetBoundsColor(Pointer instancePtr, HmdColor_t pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance); + /** + * Original signature : bool VR_IVRChaperone_AreBoundsVisible(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_AreBoundsVisible(java.nio.IntBuffer)} and {@link #VR_IVRChaperone_AreBoundsVisible(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRChaperone_AreBoundsVisible(IntByReference instancePtr); + /** Original signature : bool VR_IVRChaperone_AreBoundsVisible(intptr_t) */ + public static native byte VR_IVRChaperone_AreBoundsVisible(Pointer instancePtr); + /** + * Original signature : void VR_IVRChaperone_ForceBoundsVisible(intptr_t, bool)
+ * @deprecated use the safer methods {@link #VR_IVRChaperone_ForceBoundsVisible(java.nio.IntBuffer, byte)} and {@link #VR_IVRChaperone_ForceBoundsVisible(com.sun.jna.ptr.IntByReference, byte)} instead + */ + @Deprecated + public static native void VR_IVRChaperone_ForceBoundsVisible(IntByReference instancePtr, byte bForce); + /** Original signature : void VR_IVRChaperone_ForceBoundsVisible(intptr_t, bool) */ + public static native void VR_IVRChaperone_ForceBoundsVisible(Pointer instancePtr, byte bForce); + /** + * Original signature : bool VR_IVRChaperoneSetup_CommitWorkingCopy(intptr_t, EChaperoneConfigFile)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_CommitWorkingCopy(java.nio.IntBuffer, int)} and {@link #VR_IVRChaperoneSetup_CommitWorkingCopy(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_CommitWorkingCopy(IntByReference instancePtr, int configFile); + /** Original signature : bool VR_IVRChaperoneSetup_CommitWorkingCopy(intptr_t, EChaperoneConfigFile) */ + public static native byte VR_IVRChaperoneSetup_CommitWorkingCopy(Pointer instancePtr, int configFile); + /** + * Original signature : void VR_IVRChaperoneSetup_RevertWorkingCopy(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_RevertWorkingCopy(java.nio.IntBuffer)} and {@link #VR_IVRChaperoneSetup_RevertWorkingCopy(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRChaperoneSetup_RevertWorkingCopy(IntByReference instancePtr); + /** Original signature : void VR_IVRChaperoneSetup_RevertWorkingCopy(intptr_t) */ + public static native void VR_IVRChaperoneSetup_RevertWorkingCopy(Pointer instancePtr); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetWorkingPlayAreaSize(intptr_t, float*, float*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetWorkingPlayAreaSize(java.nio.IntBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer)} and {@link #VR_IVRChaperoneSetup_GetWorkingPlayAreaSize(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetWorkingPlayAreaSize(IntByReference instancePtr, FloatByReference pSizeX, FloatByReference pSizeZ); + /** Original signature : bool VR_IVRChaperoneSetup_GetWorkingPlayAreaSize(intptr_t, float*, float*) */ + public static native byte VR_IVRChaperoneSetup_GetWorkingPlayAreaSize(Pointer instancePtr, FloatBuffer pSizeX, FloatBuffer pSizeZ); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetWorkingPlayAreaRect(intptr_t, HmdQuad_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetWorkingPlayAreaRect(java.nio.IntBuffer, jopenvr.HmdQuad_t)} and {@link #VR_IVRChaperoneSetup_GetWorkingPlayAreaRect(com.sun.jna.ptr.IntByReference, jopenvr.HmdQuad_t)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetWorkingPlayAreaRect(IntByReference instancePtr, HmdQuad_t rect); + /** Original signature : bool VR_IVRChaperoneSetup_GetWorkingPlayAreaRect(intptr_t, HmdQuad_t*) */ + public static native byte VR_IVRChaperoneSetup_GetWorkingPlayAreaRect(Pointer instancePtr, HmdQuad_t rect); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetWorkingCollisionBoundsInfo(intptr_t, HmdQuad_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetWorkingCollisionBoundsInfo(java.nio.IntBuffer, jopenvr.HmdQuad_t, java.nio.IntBuffer)} and {@link #VR_IVRChaperoneSetup_GetWorkingCollisionBoundsInfo(com.sun.jna.ptr.IntByReference, jopenvr.HmdQuad_t, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetWorkingCollisionBoundsInfo(IntByReference instancePtr, HmdQuad_t pQuadsBuffer, IntByReference punQuadsCount); + /** Original signature : bool VR_IVRChaperoneSetup_GetWorkingCollisionBoundsInfo(intptr_t, HmdQuad_t*, uint32_t*) */ + public static native byte VR_IVRChaperoneSetup_GetWorkingCollisionBoundsInfo(Pointer instancePtr, HmdQuad_t pQuadsBuffer, IntBuffer punQuadsCount); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetLiveCollisionBoundsInfo(intptr_t, HmdQuad_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetLiveCollisionBoundsInfo(java.nio.IntBuffer, jopenvr.HmdQuad_t, java.nio.IntBuffer)} and {@link #VR_IVRChaperoneSetup_GetLiveCollisionBoundsInfo(com.sun.jna.ptr.IntByReference, jopenvr.HmdQuad_t, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetLiveCollisionBoundsInfo(IntByReference instancePtr, HmdQuad_t pQuadsBuffer, IntByReference punQuadsCount); + /** Original signature : bool VR_IVRChaperoneSetup_GetLiveCollisionBoundsInfo(intptr_t, HmdQuad_t*, uint32_t*) */ + public static native byte VR_IVRChaperoneSetup_GetLiveCollisionBoundsInfo(Pointer instancePtr, HmdQuad_t pQuadsBuffer, IntBuffer punQuadsCount); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetWorkingSeatedZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetWorkingSeatedZeroPoseToRawTrackingPose(java.nio.IntBuffer, jopenvr.HmdMatrix34_t)} and {@link #VR_IVRChaperoneSetup_GetWorkingSeatedZeroPoseToRawTrackingPose(com.sun.jna.ptr.IntByReference, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetWorkingSeatedZeroPoseToRawTrackingPose(IntByReference instancePtr, HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose); + /** Original signature : bool VR_IVRChaperoneSetup_GetWorkingSeatedZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*) */ + public static native byte VR_IVRChaperoneSetup_GetWorkingSeatedZeroPoseToRawTrackingPose(Pointer instancePtr, HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetWorkingStandingZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetWorkingStandingZeroPoseToRawTrackingPose(java.nio.IntBuffer, jopenvr.HmdMatrix34_t)} and {@link #VR_IVRChaperoneSetup_GetWorkingStandingZeroPoseToRawTrackingPose(com.sun.jna.ptr.IntByReference, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetWorkingStandingZeroPoseToRawTrackingPose(IntByReference instancePtr, HmdMatrix34_t pmatStandingZeroPoseToRawTrackingPose); + /** Original signature : bool VR_IVRChaperoneSetup_GetWorkingStandingZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*) */ + public static native byte VR_IVRChaperoneSetup_GetWorkingStandingZeroPoseToRawTrackingPose(Pointer instancePtr, HmdMatrix34_t pmatStandingZeroPoseToRawTrackingPose); + /** + * Original signature : void VR_IVRChaperoneSetup_SetWorkingPlayAreaSize(intptr_t, float, float)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_SetWorkingPlayAreaSize(java.nio.IntBuffer, float, float)} and {@link #VR_IVRChaperoneSetup_SetWorkingPlayAreaSize(com.sun.jna.ptr.IntByReference, float, float)} instead + */ + @Deprecated + public static native void VR_IVRChaperoneSetup_SetWorkingPlayAreaSize(IntByReference instancePtr, float sizeX, float sizeZ); + /** Original signature : void VR_IVRChaperoneSetup_SetWorkingPlayAreaSize(intptr_t, float, float) */ + public static native void VR_IVRChaperoneSetup_SetWorkingPlayAreaSize(Pointer instancePtr, float sizeX, float sizeZ); + /** + * Original signature : void VR_IVRChaperoneSetup_SetWorkingCollisionBoundsInfo(intptr_t, HmdQuad_t*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_SetWorkingCollisionBoundsInfo(java.nio.IntBuffer, jopenvr.HmdQuad_t, int)} and {@link #VR_IVRChaperoneSetup_SetWorkingCollisionBoundsInfo(com.sun.jna.ptr.IntByReference, jopenvr.HmdQuad_t, int)} instead + */ + @Deprecated + public static native void VR_IVRChaperoneSetup_SetWorkingCollisionBoundsInfo(IntByReference instancePtr, HmdQuad_t pQuadsBuffer, int unQuadsCount); + /** Original signature : void VR_IVRChaperoneSetup_SetWorkingCollisionBoundsInfo(intptr_t, HmdQuad_t*, uint32_t) */ + public static native void VR_IVRChaperoneSetup_SetWorkingCollisionBoundsInfo(Pointer instancePtr, HmdQuad_t pQuadsBuffer, int unQuadsCount); + /** + * Original signature : void VR_IVRChaperoneSetup_SetWorkingSeatedZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_SetWorkingSeatedZeroPoseToRawTrackingPose(java.nio.IntBuffer, jopenvr.HmdMatrix34_t)} and {@link #VR_IVRChaperoneSetup_SetWorkingSeatedZeroPoseToRawTrackingPose(com.sun.jna.ptr.IntByReference, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native void VR_IVRChaperoneSetup_SetWorkingSeatedZeroPoseToRawTrackingPose(IntByReference instancePtr, HmdMatrix34_t pMatSeatedZeroPoseToRawTrackingPose); + /** Original signature : void VR_IVRChaperoneSetup_SetWorkingSeatedZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*) */ + public static native void VR_IVRChaperoneSetup_SetWorkingSeatedZeroPoseToRawTrackingPose(Pointer instancePtr, HmdMatrix34_t pMatSeatedZeroPoseToRawTrackingPose); + /** + * Original signature : void VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose(java.nio.IntBuffer, jopenvr.HmdMatrix34_t)} and {@link #VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose(com.sun.jna.ptr.IntByReference, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native void VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose(IntByReference instancePtr, HmdMatrix34_t pMatStandingZeroPoseToRawTrackingPose); + /** Original signature : void VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*) */ + public static native void VR_IVRChaperoneSetup_SetWorkingStandingZeroPoseToRawTrackingPose(Pointer instancePtr, HmdMatrix34_t pMatStandingZeroPoseToRawTrackingPose); + /** + * Original signature : void VR_IVRChaperoneSetup_ReloadFromDisk(intptr_t, EChaperoneConfigFile)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_ReloadFromDisk(java.nio.IntBuffer, int)} and {@link #VR_IVRChaperoneSetup_ReloadFromDisk(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native void VR_IVRChaperoneSetup_ReloadFromDisk(IntByReference instancePtr, int configFile); + /** Original signature : void VR_IVRChaperoneSetup_ReloadFromDisk(intptr_t, EChaperoneConfigFile) */ + public static native void VR_IVRChaperoneSetup_ReloadFromDisk(Pointer instancePtr, int configFile); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose(java.nio.IntBuffer, jopenvr.HmdMatrix34_t)} and {@link #VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose(com.sun.jna.ptr.IntByReference, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose(IntByReference instancePtr, HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose); + /** Original signature : bool VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose(intptr_t, HmdMatrix34_t*) */ + public static native byte VR_IVRChaperoneSetup_GetLiveSeatedZeroPoseToRawTrackingPose(Pointer instancePtr, HmdMatrix34_t pmatSeatedZeroPoseToRawTrackingPose); + /** + * Original signature : void VR_IVRChaperoneSetup_SetWorkingCollisionBoundsTagsInfo(intptr_t, uint8_t*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_SetWorkingWallTagInfo(java.nio.IntBuffer, java.nio.ByteBuffer, int)} and {@link #VR_IVRChaperoneSetup_SetWorkingWallTagInfo(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native void VR_IVRChaperoneSetup_SetWorkingCollisionBoundsTagsInfo(IntByReference instancePtr, Pointer pTagsBuffer, int unTagCount); + /** Original signature : void VR_IVRChaperoneSetup_SetWorkingWallTagInfo(intptr_t, uint8_t*, uint32_t) */ + public static native void VR_IVRChaperoneSetup_SetWorkingCollisionBoundsTagsInfo(Pointer instancePtr, ByteBuffer pTagsBuffer, int unTagCount); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetLiveCollisionBoundsTagsInfo(intptr_t, uint8_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetLiveWallTagInfo(java.nio.IntBuffer, java.nio.ByteBuffer, java.nio.IntBuffer)} and {@link #VR_IVRChaperoneSetup_GetLiveWallTagInfo(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetLiveCollisionBoundsTagsInfo(IntByReference instancePtr, Pointer pTagsBuffer, IntByReference punTagCount); + /** Original signature : bool VR_IVRChaperoneSetup_GetLiveWallTagInfo(intptr_t, uint8_t*, uint32_t*) */ + public static native byte VR_IVRChaperoneSetup_GetLiveCollisionBoundsTagsInfo(Pointer instancePtr, ByteBuffer pTagsBuffer, IntBuffer punTagCount); + /** + * Original signature : bool VR_IVRChaperoneSetup_SetWorkingPhysicalBoundsInfo(intptr_t, HmdQuad_t*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_SetWorkingPhysicalBoundsInfo(java.nio.IntBuffer, jopenvr.HmdQuad_t, int)} and {@link #VR_IVRChaperoneSetup_SetWorkingPhysicalBoundsInfo(com.sun.jna.ptr.IntByReference, jopenvr.HmdQuad_t, int)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_SetWorkingPhysicalBoundsInfo(IntByReference instancePtr, HmdQuad_t pQuadsBuffer, int unQuadsCount); + /** Original signature : bool VR_IVRChaperoneSetup_SetWorkingPhysicalBoundsInfo(intptr_t, HmdQuad_t*, uint32_t) */ + public static native byte VR_IVRChaperoneSetup_SetWorkingPhysicalBoundsInfo(Pointer instancePtr, HmdQuad_t pQuadsBuffer, int unQuadsCount); + /** + * Original signature : bool VR_IVRChaperoneSetup_GetLivePhysicalBoundsInfo(intptr_t, HmdQuad_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRChaperoneSetup_GetLivePhysicalBoundsInfo(java.nio.IntBuffer, jopenvr.HmdQuad_t, java.nio.IntBuffer)} and {@link #VR_IVRChaperoneSetup_GetLivePhysicalBoundsInfo(com.sun.jna.ptr.IntByReference, jopenvr.HmdQuad_t, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRChaperoneSetup_GetLivePhysicalBoundsInfo(IntByReference instancePtr, HmdQuad_t pQuadsBuffer, IntByReference punQuadsCount); + /** Original signature : bool VR_IVRChaperoneSetup_GetLivePhysicalBoundsInfo(intptr_t, HmdQuad_t*, uint32_t*) */ + public static native byte VR_IVRChaperoneSetup_GetLivePhysicalBoundsInfo(Pointer instancePtr, HmdQuad_t pQuadsBuffer, IntBuffer punQuadsCount); + /** + * Original signature : void VR_IVRCompositor_SetTrackingSpace(intptr_t, ETrackingUniverseOrigin)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_SetTrackingSpace(java.nio.IntBuffer, int)} and {@link #VR_IVRCompositor_SetTrackingSpace(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_SetTrackingSpace(IntByReference instancePtr, int eOrigin); + /** Original signature : void VR_IVRCompositor_SetTrackingSpace(intptr_t, ETrackingUniverseOrigin) */ + public static native void VR_IVRCompositor_SetTrackingSpace(Pointer instancePtr, int eOrigin); + /** + * Original signature : ETrackingUniverseOrigin VR_IVRCompositor_GetTrackingSpace(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_GetTrackingSpace(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_GetTrackingSpace(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_GetTrackingSpace(IntByReference instancePtr); + /** Original signature : ETrackingUniverseOrigin VR_IVRCompositor_GetTrackingSpace(intptr_t) */ + public static native int VR_IVRCompositor_GetTrackingSpace(Pointer instancePtr); + /** + * Original signature : EVRCompositorError VR_IVRCompositor_WaitGetPoses(intptr_t, TrackedDevicePose_t*, uint32_t, TrackedDevicePose_t*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_WaitGetPoses(java.nio.IntBuffer, jopenvr.TrackedDevicePose_t, int, jopenvr.TrackedDevicePose_t, int)} and {@link #VR_IVRCompositor_WaitGetPoses(com.sun.jna.ptr.IntByReference, jopenvr.TrackedDevicePose_t, int, jopenvr.TrackedDevicePose_t, int)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_WaitGetPoses(IntByReference instancePtr, TrackedDevicePose_t pRenderPoseArray, int unRenderPoseArrayCount, TrackedDevicePose_t pGamePoseArray, int unGamePoseArrayCount); + /** Original signature : EVRCompositorError VR_IVRCompositor_WaitGetPoses(intptr_t, TrackedDevicePose_t*, uint32_t, TrackedDevicePose_t*, uint32_t) */ + public static native int VR_IVRCompositor_WaitGetPoses(Pointer instancePtr, TrackedDevicePose_t pRenderPoseArray, int unRenderPoseArrayCount, TrackedDevicePose_t pGamePoseArray, int unGamePoseArrayCount); + /** + * Original signature : EVRCompositorError VR_IVRCompositor_GetLastPoses(intptr_t, TrackedDevicePose_t*, uint32_t, TrackedDevicePose_t*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_GetLastPoses(java.nio.IntBuffer, jopenvr.TrackedDevicePose_t, int, jopenvr.TrackedDevicePose_t, int)} and {@link #VR_IVRCompositor_GetLastPoses(com.sun.jna.ptr.IntByReference, jopenvr.TrackedDevicePose_t, int, jopenvr.TrackedDevicePose_t, int)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_GetLastPoses(IntByReference instancePtr, TrackedDevicePose_t pRenderPoseArray, int unRenderPoseArrayCount, TrackedDevicePose_t pGamePoseArray, int unGamePoseArrayCount); + /** Original signature : EVRCompositorError VR_IVRCompositor_GetLastPoses(intptr_t, TrackedDevicePose_t*, uint32_t, TrackedDevicePose_t*, uint32_t) */ + public static native int VR_IVRCompositor_GetLastPoses(Pointer instancePtr, TrackedDevicePose_t pRenderPoseArray, int unRenderPoseArrayCount, TrackedDevicePose_t pGamePoseArray, int unGamePoseArrayCount); + /** + * Original signature : EVRCompositorError VR_IVRCompositor_GetLastPoseForTrackedDeviceIndex(intptr_t, TrackedDeviceIndex_t, TrackedDevicePose_t*, TrackedDevicePose_t*)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_GetLastPoseForTrackedDeviceIndex(java.nio.IntBuffer, int, jopenvr.TrackedDevicePose_t, jopenvr.TrackedDevicePose_t)} and {@link #VR_IVRCompositor_GetLastPoseForTrackedDeviceIndex(com.sun.jna.ptr.IntByReference, int, jopenvr.TrackedDevicePose_t, jopenvr.TrackedDevicePose_t)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_GetLastPoseForTrackedDeviceIndex(IntByReference instancePtr, int unDeviceIndex, TrackedDevicePose_t pOutputPose, TrackedDevicePose_t pOutputGamePose); + /** Original signature : EVRCompositorError VR_IVRCompositor_GetLastPoseForTrackedDeviceIndex(intptr_t, TrackedDeviceIndex_t, TrackedDevicePose_t*, TrackedDevicePose_t*) */ + public static native int VR_IVRCompositor_GetLastPoseForTrackedDeviceIndex(Pointer instancePtr, int unDeviceIndex, TrackedDevicePose_t pOutputPose, TrackedDevicePose_t pOutputGamePose); + /** + * Original signature : EVRCompositorError VR_IVRCompositor_Submit(intptr_t, EVREye, Texture_t*, VRTextureBounds_t*, EVRSubmitFlags)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_Submit(java.nio.IntBuffer, int, jopenvr.Texture_t, jopenvr.VRTextureBounds_t, int)} and {@link #VR_IVRCompositor_Submit(com.sun.jna.ptr.IntByReference, int, jopenvr.Texture_t, jopenvr.VRTextureBounds_t, int)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_Submit(IntByReference instancePtr, int eEye, Texture_t pTexture, VRTextureBounds_t pBounds, int nSubmitFlags); + /** Original signature : EVRCompositorError VR_IVRCompositor_Submit(intptr_t, EVREye, Texture_t*, VRTextureBounds_t*, EVRSubmitFlags) */ + public static native int VR_IVRCompositor_Submit(Pointer instancePtr, int eEye, Texture_t pTexture, VRTextureBounds_t pBounds, int nSubmitFlags); + /** + * Original signature : void VR_IVRCompositor_ClearLastSubmittedFrame(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_ClearLastSubmittedFrame(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_ClearLastSubmittedFrame(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_ClearLastSubmittedFrame(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_ClearLastSubmittedFrame(intptr_t) */ + public static native void VR_IVRCompositor_ClearLastSubmittedFrame(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_PostPresentHandoff(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_PostPresentHandoff(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_PostPresentHandoff(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_PostPresentHandoff(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_PostPresentHandoff(intptr_t) */ + public static native void VR_IVRCompositor_PostPresentHandoff(Pointer instancePtr); + /** + * Original signature : bool VR_IVRCompositor_GetFrameTiming(intptr_t, Compositor_FrameTiming*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_GetFrameTiming(java.nio.IntBuffer, jopenvr.Compositor_FrameTiming, int)} and {@link #VR_IVRCompositor_GetFrameTiming(com.sun.jna.ptr.IntByReference, jopenvr.Compositor_FrameTiming, int)} instead + */ + @Deprecated + public static native byte VR_IVRCompositor_GetFrameTiming(IntByReference instancePtr, Compositor_FrameTiming pTiming, int unFramesAgo); + /** Original signature : bool VR_IVRCompositor_GetFrameTiming(intptr_t, Compositor_FrameTiming*, uint32_t) */ + public static native byte VR_IVRCompositor_GetFrameTiming(Pointer instancePtr, Compositor_FrameTiming pTiming, int unFramesAgo); + /** + * Original signature : float VR_IVRCompositor_GetFrameTimeRemaining(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_GetFrameTimeRemaining(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_GetFrameTimeRemaining(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native float VR_IVRCompositor_GetFrameTimeRemaining(IntByReference instancePtr); + /** Original signature : float VR_IVRCompositor_GetFrameTimeRemaining(intptr_t) */ + public static native float VR_IVRCompositor_GetFrameTimeRemaining(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_FadeToColor(intptr_t, float, float, float, float, float, bool)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_FadeToColor(java.nio.IntBuffer, float, float, float, float, float, byte)} and {@link #VR_IVRCompositor_FadeToColor(com.sun.jna.ptr.IntByReference, float, float, float, float, float, byte)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_FadeToColor(IntByReference instancePtr, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, byte bBackground); + /** Original signature : void VR_IVRCompositor_FadeToColor(intptr_t, float, float, float, float, float, bool) */ + public static native void VR_IVRCompositor_FadeToColor(Pointer instancePtr, float fSeconds, float fRed, float fGreen, float fBlue, float fAlpha, byte bBackground); + /** + * Original signature : void VR_IVRCompositor_FadeGrid(intptr_t, float, bool)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_FadeGrid(java.nio.IntBuffer, float, byte)} and {@link #VR_IVRCompositor_FadeGrid(com.sun.jna.ptr.IntByReference, float, byte)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_FadeGrid(IntByReference instancePtr, float fSeconds, byte bFadeIn); + /** Original signature : void VR_IVRCompositor_FadeGrid(intptr_t, float, bool) */ + public static native void VR_IVRCompositor_FadeGrid(Pointer instancePtr, float fSeconds, byte bFadeIn); + /** + * Original signature : EVRCompositorError VR_IVRCompositor_SetSkyboxOverride(intptr_t, Texture_t*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_SetSkyboxOverride(java.nio.IntBuffer, jopenvr.Texture_t, int)} and {@link #VR_IVRCompositor_SetSkyboxOverride(com.sun.jna.ptr.IntByReference, jopenvr.Texture_t, int)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_SetSkyboxOverride(IntByReference instancePtr, Texture_t pTextures, int unTextureCount); + /** Original signature : EVRCompositorError VR_IVRCompositor_SetSkyboxOverride(intptr_t, Texture_t*, uint32_t) */ + public static native int VR_IVRCompositor_SetSkyboxOverride(Pointer instancePtr, Texture_t pTextures, int unTextureCount); + /** + * Original signature : void VR_IVRCompositor_ClearSkyboxOverride(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_ClearSkyboxOverride(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_ClearSkyboxOverride(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_ClearSkyboxOverride(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_ClearSkyboxOverride(intptr_t) */ + public static native void VR_IVRCompositor_ClearSkyboxOverride(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_CompositorBringToFront(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_CompositorBringToFront(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_CompositorBringToFront(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_CompositorBringToFront(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_CompositorBringToFront(intptr_t) */ + public static native void VR_IVRCompositor_CompositorBringToFront(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_CompositorGoToBack(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_CompositorGoToBack(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_CompositorGoToBack(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_CompositorGoToBack(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_CompositorGoToBack(intptr_t) */ + public static native void VR_IVRCompositor_CompositorGoToBack(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_CompositorQuit(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_CompositorQuit(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_CompositorQuit(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_CompositorQuit(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_CompositorQuit(intptr_t) */ + public static native void VR_IVRCompositor_CompositorQuit(Pointer instancePtr); + /** + * Original signature : bool VR_IVRCompositor_IsFullscreen(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_IsFullscreen(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_IsFullscreen(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRCompositor_IsFullscreen(IntByReference instancePtr); + /** Original signature : bool VR_IVRCompositor_IsFullscreen(intptr_t) */ + public static native byte VR_IVRCompositor_IsFullscreen(Pointer instancePtr); + /** + * Original signature : uint32_t VR_IVRCompositor_GetCurrentSceneFocusProcess(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_GetCurrentSceneFocusProcess(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_GetCurrentSceneFocusProcess(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_GetCurrentSceneFocusProcess(IntByReference instancePtr); + /** Original signature : uint32_t VR_IVRCompositor_GetCurrentSceneFocusProcess(intptr_t) */ + public static native int VR_IVRCompositor_GetCurrentSceneFocusProcess(Pointer instancePtr); + /** + * Original signature : uint32_t VR_IVRCompositor_GetLastFrameRenderer(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_GetLastFrameRenderer(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_GetLastFrameRenderer(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRCompositor_GetLastFrameRenderer(IntByReference instancePtr); + /** Original signature : uint32_t VR_IVRCompositor_GetLastFrameRenderer(intptr_t) */ + public static native int VR_IVRCompositor_GetLastFrameRenderer(Pointer instancePtr); + /** + * Original signature : bool VR_IVRCompositor_CanRenderScene(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_CanRenderScene(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_CanRenderScene(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRCompositor_CanRenderScene(IntByReference instancePtr); + /** Original signature : bool VR_IVRCompositor_CanRenderScene(intptr_t) */ + public static native byte VR_IVRCompositor_CanRenderScene(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_ShowMirrorWindow(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_ShowMirrorWindow(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_ShowMirrorWindow(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_ShowMirrorWindow(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_ShowMirrorWindow(intptr_t) */ + public static native void VR_IVRCompositor_ShowMirrorWindow(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_HideMirrorWindow(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_HideMirrorWindow(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_HideMirrorWindow(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_HideMirrorWindow(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_HideMirrorWindow(intptr_t) */ + public static native void VR_IVRCompositor_HideMirrorWindow(Pointer instancePtr); + /** + * Original signature : bool VR_IVRCompositor_IsMirrorWindowVisible(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_IsMirrorWindowVisible(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_IsMirrorWindowVisible(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRCompositor_IsMirrorWindowVisible(IntByReference instancePtr); + /** Original signature : bool VR_IVRCompositor_IsMirrorWindowVisible(intptr_t) */ + public static native byte VR_IVRCompositor_IsMirrorWindowVisible(Pointer instancePtr); + /** + * Original signature : void VR_IVRCompositor_CompositorDumpImages(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_CompositorDumpImages(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_CompositorDumpImages(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRCompositor_CompositorDumpImages(IntByReference instancePtr); + /** Original signature : void VR_IVRCompositor_CompositorDumpImages(intptr_t) */ + public static native void VR_IVRCompositor_CompositorDumpImages(Pointer instancePtr); + /** + * Original signature : bool VR_IVRCompositor_ShouldAppRenderWithLowResources(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRCompositor_ShouldAppRenderWithLowResources(java.nio.IntBuffer)} and {@link #VR_IVRCompositor_ShouldAppRenderWithLowResources(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRCompositor_ShouldAppRenderWithLowResources(IntByReference instancePtr); + /** Original signature : bool VR_IVRCompositor_ShouldAppRenderWithLowResources(intptr_t) */ + public static native byte VR_IVRCompositor_ShouldAppRenderWithLowResources(Pointer instancePtr); + /** + * Original signature : EVROverlayError VR_IVROverlay_FindOverlay(intptr_t, const char*, VROverlayHandle_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_FindOverlay(java.nio.IntBuffer, java.lang.String, java.nio.LongBuffer)} and {@link #VR_IVROverlay_FindOverlay(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.ptr.LongByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_FindOverlay(IntByReference instancePtr, Pointer pchOverlayKey, LongByReference pOverlayHandle); + /** Original signature : EVROverlayError VR_IVROverlay_FindOverlay(intptr_t, const char*, VROverlayHandle_t*) */ + public static native int VR_IVROverlay_FindOverlay(Pointer instancePtr, String pchOverlayKey, LongBuffer pOverlayHandle); + /** + * Original signature : EVROverlayError VR_IVROverlay_CreateOverlay(intptr_t, const char*, const char*, VROverlayHandle_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_CreateOverlay(java.nio.IntBuffer, java.lang.String, java.lang.String, java.nio.LongBuffer)} and {@link #VR_IVROverlay_CreateOverlay(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, com.sun.jna.ptr.LongByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_CreateOverlay(IntByReference instancePtr, Pointer pchOverlayKey, Pointer pchOverlayFriendlyName, LongByReference pOverlayHandle); + /** Original signature : EVROverlayError VR_IVROverlay_CreateOverlay(intptr_t, const char*, const char*, VROverlayHandle_t*) */ + public static native int VR_IVROverlay_CreateOverlay(Pointer instancePtr, String pchOverlayKey, String pchOverlayFriendlyName, LongBuffer pOverlayHandle); + /** + * Original signature : EVROverlayError VR_IVROverlay_DestroyOverlay(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_DestroyOverlay(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_DestroyOverlay(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_DestroyOverlay(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : EVROverlayError VR_IVROverlay_DestroyOverlay(intptr_t, VROverlayHandle_t) */ + public static native int VR_IVROverlay_DestroyOverlay(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetHighQualityOverlay(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetHighQualityOverlay(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_SetHighQualityOverlay(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetHighQualityOverlay(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : EVROverlayError VR_IVROverlay_SetHighQualityOverlay(intptr_t, VROverlayHandle_t) */ + public static native int VR_IVROverlay_SetHighQualityOverlay(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : VROverlayHandle_t VR_IVROverlay_GetHighQualityOverlay(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetHighQualityOverlay(java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetHighQualityOverlay(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native long VR_IVROverlay_GetHighQualityOverlay(IntByReference instancePtr); + /** Original signature : VROverlayHandle_t VR_IVROverlay_GetHighQualityOverlay(intptr_t) */ + public static native long VR_IVROverlay_GetHighQualityOverlay(Pointer instancePtr); + /** + * Original signature : uint32_t VR_IVROverlay_GetOverlayKey(intptr_t, VROverlayHandle_t, char*, uint32_t, EVROverlayError*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayKey(java.nio.IntBuffer, long, java.nio.ByteBuffer, int, java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetOverlayKey(com.sun.jna.ptr.IntByReference, long, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayKey(IntByReference instancePtr, long ulOverlayHandle, Pointer pchValue, int unBufferSize, IntByReference pError); + /** Original signature : uint32_t VR_IVROverlay_GetOverlayKey(intptr_t, VROverlayHandle_t, char*, uint32_t, EVROverlayError*) */ + public static native int VR_IVROverlay_GetOverlayKey(Pointer instancePtr, long ulOverlayHandle, ByteBuffer pchValue, int unBufferSize, IntBuffer pError); + /** + * Original signature : uint32_t VR_IVROverlay_GetOverlayName(intptr_t, VROverlayHandle_t, char*, uint32_t, EVROverlayError*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayName(java.nio.IntBuffer, long, java.nio.ByteBuffer, int, java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetOverlayName(com.sun.jna.ptr.IntByReference, long, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayName(IntByReference instancePtr, long ulOverlayHandle, Pointer pchValue, int unBufferSize, IntByReference pError); + /** Original signature : uint32_t VR_IVROverlay_GetOverlayName(intptr_t, VROverlayHandle_t, char*, uint32_t, EVROverlayError*) */ + public static native int VR_IVROverlay_GetOverlayName(Pointer instancePtr, long ulOverlayHandle, ByteBuffer pchValue, int unBufferSize, IntBuffer pError); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayImageData(intptr_t, VROverlayHandle_t, void*, uint32_t, uint32_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayImageData(java.nio.IntBuffer, long, com.sun.jna.Pointer, int, java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetOverlayImageData(com.sun.jna.ptr.IntByReference, long, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayImageData(IntByReference instancePtr, long ulOverlayHandle, Pointer pvBuffer, int unBufferSize, IntByReference punWidth, IntByReference punHeight); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayImageData(intptr_t, VROverlayHandle_t, void*, uint32_t, uint32_t*, uint32_t*) */ + public static native int VR_IVROverlay_GetOverlayImageData(Pointer instancePtr, long ulOverlayHandle, Pointer pvBuffer, int unBufferSize, IntBuffer punWidth, IntBuffer punHeight); + /** + * Original signature : char* VR_IVROverlay_GetOverlayErrorNameFromEnum(intptr_t, EVROverlayError)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayErrorNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVROverlay_GetOverlayErrorNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVROverlay_GetOverlayErrorNameFromEnum(IntByReference instancePtr, int error); + /** Original signature : char* VR_IVROverlay_GetOverlayErrorNameFromEnum(intptr_t, EVROverlayError) */ + public static native Pointer VR_IVROverlay_GetOverlayErrorNameFromEnum(Pointer instancePtr, int error); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayFlag(intptr_t, VROverlayHandle_t, VROverlayFlags, bool)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayFlag(java.nio.IntBuffer, long, int, byte)} and {@link #VR_IVROverlay_SetOverlayFlag(com.sun.jna.ptr.IntByReference, long, int, byte)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayFlag(IntByReference instancePtr, long ulOverlayHandle, int eOverlayFlag, byte bEnabled); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayFlag(intptr_t, VROverlayHandle_t, VROverlayFlags, bool) */ + public static native int VR_IVROverlay_SetOverlayFlag(Pointer instancePtr, long ulOverlayHandle, int eOverlayFlag, byte bEnabled); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayFlag(intptr_t, VROverlayHandle_t, VROverlayFlags, bool*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayFlag(java.nio.IntBuffer, long, int, java.nio.ByteBuffer)} and {@link #VR_IVROverlay_GetOverlayFlag(com.sun.jna.ptr.IntByReference, long, int, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayFlag(IntByReference instancePtr, long ulOverlayHandle, int eOverlayFlag, Pointer pbEnabled); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayFlag(intptr_t, VROverlayHandle_t, VROverlayFlags, bool*) */ + public static native int VR_IVROverlay_GetOverlayFlag(Pointer instancePtr, long ulOverlayHandle, int eOverlayFlag, ByteBuffer pbEnabled); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayColor(intptr_t, VROverlayHandle_t, float, float, float)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayColor(java.nio.IntBuffer, long, float, float, float)} and {@link #VR_IVROverlay_SetOverlayColor(com.sun.jna.ptr.IntByReference, long, float, float, float)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayColor(IntByReference instancePtr, long ulOverlayHandle, float fRed, float fGreen, float fBlue); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayColor(intptr_t, VROverlayHandle_t, float, float, float) */ + public static native int VR_IVROverlay_SetOverlayColor(Pointer instancePtr, long ulOverlayHandle, float fRed, float fGreen, float fBlue); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayColor(intptr_t, VROverlayHandle_t, float*, float*, float*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayColor(java.nio.IntBuffer, long, java.nio.FloatBuffer, java.nio.FloatBuffer, java.nio.FloatBuffer)} and {@link #VR_IVROverlay_GetOverlayColor(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayColor(IntByReference instancePtr, long ulOverlayHandle, FloatByReference pfRed, FloatByReference pfGreen, FloatByReference pfBlue); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayColor(intptr_t, VROverlayHandle_t, float*, float*, float*) */ + public static native int VR_IVROverlay_GetOverlayColor(Pointer instancePtr, long ulOverlayHandle, FloatBuffer pfRed, FloatBuffer pfGreen, FloatBuffer pfBlue); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayAlpha(intptr_t, VROverlayHandle_t, float)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayAlpha(java.nio.IntBuffer, long, float)} and {@link #VR_IVROverlay_SetOverlayAlpha(com.sun.jna.ptr.IntByReference, long, float)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayAlpha(IntByReference instancePtr, long ulOverlayHandle, float fAlpha); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayAlpha(intptr_t, VROverlayHandle_t, float) */ + public static native int VR_IVROverlay_SetOverlayAlpha(Pointer instancePtr, long ulOverlayHandle, float fAlpha); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayAlpha(intptr_t, VROverlayHandle_t, float*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayAlpha(java.nio.IntBuffer, long, java.nio.FloatBuffer)} and {@link #VR_IVROverlay_GetOverlayAlpha(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayAlpha(IntByReference instancePtr, long ulOverlayHandle, FloatByReference pfAlpha); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayAlpha(intptr_t, VROverlayHandle_t, float*) */ + public static native int VR_IVROverlay_GetOverlayAlpha(Pointer instancePtr, long ulOverlayHandle, FloatBuffer pfAlpha); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayWidthInMeters(intptr_t, VROverlayHandle_t, float)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayWidthInMeters(java.nio.IntBuffer, long, float)} and {@link #VR_IVROverlay_SetOverlayWidthInMeters(com.sun.jna.ptr.IntByReference, long, float)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayWidthInMeters(IntByReference instancePtr, long ulOverlayHandle, float fWidthInMeters); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayWidthInMeters(intptr_t, VROverlayHandle_t, float) */ + public static native int VR_IVROverlay_SetOverlayWidthInMeters(Pointer instancePtr, long ulOverlayHandle, float fWidthInMeters); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayWidthInMeters(intptr_t, VROverlayHandle_t, float*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayWidthInMeters(java.nio.IntBuffer, long, java.nio.FloatBuffer)} and {@link #VR_IVROverlay_GetOverlayWidthInMeters(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayWidthInMeters(IntByReference instancePtr, long ulOverlayHandle, FloatByReference pfWidthInMeters); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayWidthInMeters(intptr_t, VROverlayHandle_t, float*) */ + public static native int VR_IVROverlay_GetOverlayWidthInMeters(Pointer instancePtr, long ulOverlayHandle, FloatBuffer pfWidthInMeters); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayAutoCurveDistanceRangeInMeters(intptr_t, VROverlayHandle_t, float, float)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayAutoCurveDistanceRangeInMeters(java.nio.IntBuffer, long, float, float)} and {@link #VR_IVROverlay_SetOverlayAutoCurveDistanceRangeInMeters(com.sun.jna.ptr.IntByReference, long, float, float)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayAutoCurveDistanceRangeInMeters(IntByReference instancePtr, long ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayAutoCurveDistanceRangeInMeters(intptr_t, VROverlayHandle_t, float, float) */ + public static native int VR_IVROverlay_SetOverlayAutoCurveDistanceRangeInMeters(Pointer instancePtr, long ulOverlayHandle, float fMinDistanceInMeters, float fMaxDistanceInMeters); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayAutoCurveDistanceRangeInMeters(intptr_t, VROverlayHandle_t, float*, float*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayAutoCurveDistanceRangeInMeters(java.nio.IntBuffer, long, java.nio.FloatBuffer, java.nio.FloatBuffer)} and {@link #VR_IVROverlay_GetOverlayAutoCurveDistanceRangeInMeters(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayAutoCurveDistanceRangeInMeters(IntByReference instancePtr, long ulOverlayHandle, FloatByReference pfMinDistanceInMeters, FloatByReference pfMaxDistanceInMeters); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayAutoCurveDistanceRangeInMeters(intptr_t, VROverlayHandle_t, float*, float*) */ + public static native int VR_IVROverlay_GetOverlayAutoCurveDistanceRangeInMeters(Pointer instancePtr, long ulOverlayHandle, FloatBuffer pfMinDistanceInMeters, FloatBuffer pfMaxDistanceInMeters); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayTextureColorSpace(intptr_t, VROverlayHandle_t, EColorSpace)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayTextureColorSpace(java.nio.IntBuffer, long, int)} and {@link #VR_IVROverlay_SetOverlayTextureColorSpace(com.sun.jna.ptr.IntByReference, long, int)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayTextureColorSpace(IntByReference instancePtr, long ulOverlayHandle, int eTextureColorSpace); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayTextureColorSpace(intptr_t, VROverlayHandle_t, EColorSpace) */ + public static native int VR_IVROverlay_SetOverlayTextureColorSpace(Pointer instancePtr, long ulOverlayHandle, int eTextureColorSpace); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayTextureColorSpace(intptr_t, VROverlayHandle_t, EColorSpace*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayTextureColorSpace(java.nio.IntBuffer, long, java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetOverlayTextureColorSpace(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayTextureColorSpace(IntByReference instancePtr, long ulOverlayHandle, IntByReference peTextureColorSpace); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayTextureColorSpace(intptr_t, VROverlayHandle_t, EColorSpace*) */ + public static native int VR_IVROverlay_GetOverlayTextureColorSpace(Pointer instancePtr, long ulOverlayHandle, IntBuffer peTextureColorSpace); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayTextureBounds(intptr_t, VROverlayHandle_t, VRTextureBounds_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayTextureBounds(java.nio.IntBuffer, long, jopenvr.VRTextureBounds_t)} and {@link #VR_IVROverlay_SetOverlayTextureBounds(com.sun.jna.ptr.IntByReference, long, jopenvr.VRTextureBounds_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayTextureBounds(IntByReference instancePtr, long ulOverlayHandle, VRTextureBounds_t pOverlayTextureBounds); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayTextureBounds(intptr_t, VROverlayHandle_t, VRTextureBounds_t*) */ + public static native int VR_IVROverlay_SetOverlayTextureBounds(Pointer instancePtr, long ulOverlayHandle, VRTextureBounds_t pOverlayTextureBounds); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayTextureBounds(intptr_t, VROverlayHandle_t, VRTextureBounds_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayTextureBounds(java.nio.IntBuffer, long, jopenvr.VRTextureBounds_t)} and {@link #VR_IVROverlay_GetOverlayTextureBounds(com.sun.jna.ptr.IntByReference, long, jopenvr.VRTextureBounds_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayTextureBounds(IntByReference instancePtr, long ulOverlayHandle, VRTextureBounds_t pOverlayTextureBounds); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayTextureBounds(intptr_t, VROverlayHandle_t, VRTextureBounds_t*) */ + public static native int VR_IVROverlay_GetOverlayTextureBounds(Pointer instancePtr, long ulOverlayHandle, VRTextureBounds_t pOverlayTextureBounds); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformType(intptr_t, VROverlayHandle_t, VROverlayTransformType*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayTransformType(java.nio.IntBuffer, long, java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetOverlayTransformType(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayTransformType(IntByReference instancePtr, long ulOverlayHandle, IntByReference peTransformType); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformType(intptr_t, VROverlayHandle_t, VROverlayTransformType*) */ + public static native int VR_IVROverlay_GetOverlayTransformType(Pointer instancePtr, long ulOverlayHandle, IntBuffer peTransformType); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayTransformAbsolute(intptr_t, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayTransformAbsolute(java.nio.IntBuffer, long, int, jopenvr.HmdMatrix34_t)} and {@link #VR_IVROverlay_SetOverlayTransformAbsolute(com.sun.jna.ptr.IntByReference, long, int, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayTransformAbsolute(IntByReference instancePtr, long ulOverlayHandle, int eTrackingOrigin, HmdMatrix34_t pmatTrackingOriginToOverlayTransform); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayTransformAbsolute(intptr_t, VROverlayHandle_t, ETrackingUniverseOrigin, HmdMatrix34_t*) */ + public static native int VR_IVROverlay_SetOverlayTransformAbsolute(Pointer instancePtr, long ulOverlayHandle, int eTrackingOrigin, HmdMatrix34_t pmatTrackingOriginToOverlayTransform); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformAbsolute(intptr_t, VROverlayHandle_t, ETrackingUniverseOrigin*, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayTransformAbsolute(java.nio.IntBuffer, long, java.nio.IntBuffer, jopenvr.HmdMatrix34_t)} and {@link #VR_IVROverlay_GetOverlayTransformAbsolute(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.IntByReference, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayTransformAbsolute(IntByReference instancePtr, long ulOverlayHandle, IntByReference peTrackingOrigin, HmdMatrix34_t pmatTrackingOriginToOverlayTransform); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformAbsolute(intptr_t, VROverlayHandle_t, ETrackingUniverseOrigin*, HmdMatrix34_t*) */ + public static native int VR_IVROverlay_GetOverlayTransformAbsolute(Pointer instancePtr, long ulOverlayHandle, IntBuffer peTrackingOrigin, HmdMatrix34_t pmatTrackingOriginToOverlayTransform); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayTransformTrackedDeviceRelative(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayTransformTrackedDeviceRelative(java.nio.IntBuffer, long, int, jopenvr.HmdMatrix34_t)} and {@link #VR_IVROverlay_SetOverlayTransformTrackedDeviceRelative(com.sun.jna.ptr.IntByReference, long, int, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayTransformTrackedDeviceRelative(IntByReference instancePtr, long ulOverlayHandle, int unTrackedDevice, HmdMatrix34_t pmatTrackedDeviceToOverlayTransform); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayTransformTrackedDeviceRelative(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t, HmdMatrix34_t*) */ + public static native int VR_IVROverlay_SetOverlayTransformTrackedDeviceRelative(Pointer instancePtr, long ulOverlayHandle, int unTrackedDevice, HmdMatrix34_t pmatTrackedDeviceToOverlayTransform); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t*, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative(java.nio.IntBuffer, long, java.nio.IntBuffer, jopenvr.HmdMatrix34_t)} and {@link #VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.IntByReference, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative(IntByReference instancePtr, long ulOverlayHandle, IntByReference punTrackedDevice, HmdMatrix34_t pmatTrackedDeviceToOverlayTransform); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t*, HmdMatrix34_t*) */ + public static native int VR_IVROverlay_GetOverlayTransformTrackedDeviceRelative(Pointer instancePtr, long ulOverlayHandle, IntBuffer punTrackedDevice, HmdMatrix34_t pmatTrackedDeviceToOverlayTransform); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayTransformTrackedDeviceComponent(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayTransformTrackedDeviceComponent(java.nio.IntBuffer, long, int, java.lang.String)} and {@link #VR_IVROverlay_SetOverlayTransformTrackedDeviceComponent(com.sun.jna.ptr.IntByReference, long, int, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayTransformTrackedDeviceComponent(IntByReference instancePtr, long ulOverlayHandle, int unDeviceIndex, Pointer pchComponentName); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayTransformTrackedDeviceComponent(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t, const char*) */ + public static native int VR_IVROverlay_SetOverlayTransformTrackedDeviceComponent(Pointer instancePtr, long ulOverlayHandle, int unDeviceIndex, String pchComponentName); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformTrackedDeviceComponent(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t*, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayTransformTrackedDeviceComponent(java.nio.IntBuffer, long, java.nio.IntBuffer, java.nio.ByteBuffer, int)} and {@link #VR_IVROverlay_GetOverlayTransformTrackedDeviceComponent(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayTransformTrackedDeviceComponent(IntByReference instancePtr, long ulOverlayHandle, IntByReference punDeviceIndex, Pointer pchComponentName, int unComponentNameSize); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayTransformTrackedDeviceComponent(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t*, char*, uint32_t) */ + public static native int VR_IVROverlay_GetOverlayTransformTrackedDeviceComponent(Pointer instancePtr, long ulOverlayHandle, IntBuffer punDeviceIndex, ByteBuffer pchComponentName, int unComponentNameSize); + /** + * Original signature : EVROverlayError VR_IVROverlay_ShowOverlay(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_ShowOverlay(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_ShowOverlay(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_ShowOverlay(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : EVROverlayError VR_IVROverlay_ShowOverlay(intptr_t, VROverlayHandle_t) */ + public static native int VR_IVROverlay_ShowOverlay(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : EVROverlayError VR_IVROverlay_HideOverlay(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_HideOverlay(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_HideOverlay(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_HideOverlay(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : EVROverlayError VR_IVROverlay_HideOverlay(intptr_t, VROverlayHandle_t) */ + public static native int VR_IVROverlay_HideOverlay(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : bool VR_IVROverlay_IsOverlayVisible(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_IsOverlayVisible(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_IsOverlayVisible(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native byte VR_IVROverlay_IsOverlayVisible(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : bool VR_IVROverlay_IsOverlayVisible(intptr_t, VROverlayHandle_t) */ + public static native byte VR_IVROverlay_IsOverlayVisible(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetTransformForOverlayCoordinates(intptr_t, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetTransformForOverlayCoordinates(java.nio.IntBuffer, long, int, jopenvr.HmdVector2_t.ByValue, jopenvr.HmdMatrix34_t)} and {@link #VR_IVROverlay_GetTransformForOverlayCoordinates(com.sun.jna.ptr.IntByReference, long, int, jopenvr.HmdVector2_t.ByValue, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetTransformForOverlayCoordinates(IntByReference instancePtr, long ulOverlayHandle, int eTrackingOrigin, HmdVector2_t.ByValue coordinatesInOverlay, HmdMatrix34_t pmatTransform); + /** Original signature : EVROverlayError VR_IVROverlay_GetTransformForOverlayCoordinates(intptr_t, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t*) */ + public static native int VR_IVROverlay_GetTransformForOverlayCoordinates(Pointer instancePtr, long ulOverlayHandle, int eTrackingOrigin, HmdVector2_t.ByValue coordinatesInOverlay, HmdMatrix34_t pmatTransform); + /** + * Original signature : bool VR_IVROverlay_PollNextOverlayEvent(intptr_t, VROverlayHandle_t, VREvent_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_PollNextOverlayEvent(java.nio.IntBuffer, long, jopenvr.JOpenVRLibrary.VREvent_t)} and {@link #VR_IVROverlay_PollNextOverlayEvent(com.sun.jna.ptr.IntByReference, long, jopenvr.JOpenVRLibrary.VREvent_t)} instead + */ + @Deprecated + public static native byte VR_IVROverlay_PollNextOverlayEvent(IntByReference instancePtr, long ulOverlayHandle, JOpenVRLibrary.VREvent_t pEvent); + /** Original signature : bool VR_IVROverlay_PollNextOverlayEvent(intptr_t, VROverlayHandle_t, VREvent_t*) */ + public static native byte VR_IVROverlay_PollNextOverlayEvent(Pointer instancePtr, long ulOverlayHandle, JOpenVRLibrary.VREvent_t pEvent); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayInputMethod(intptr_t, VROverlayHandle_t, VROverlayInputMethod*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayInputMethod(java.nio.IntBuffer, long, java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetOverlayInputMethod(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayInputMethod(IntByReference instancePtr, long ulOverlayHandle, IntByReference peInputMethod); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayInputMethod(intptr_t, VROverlayHandle_t, VROverlayInputMethod*) */ + public static native int VR_IVROverlay_GetOverlayInputMethod(Pointer instancePtr, long ulOverlayHandle, IntBuffer peInputMethod); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayInputMethod(intptr_t, VROverlayHandle_t, VROverlayInputMethod)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayInputMethod(java.nio.IntBuffer, long, int)} and {@link #VR_IVROverlay_SetOverlayInputMethod(com.sun.jna.ptr.IntByReference, long, int)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayInputMethod(IntByReference instancePtr, long ulOverlayHandle, int eInputMethod); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayInputMethod(intptr_t, VROverlayHandle_t, VROverlayInputMethod) */ + public static native int VR_IVROverlay_SetOverlayInputMethod(Pointer instancePtr, long ulOverlayHandle, int eInputMethod); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetOverlayMouseScale(intptr_t, VROverlayHandle_t, HmdVector2_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetOverlayMouseScale(java.nio.IntBuffer, long, jopenvr.HmdVector2_t)} and {@link #VR_IVROverlay_GetOverlayMouseScale(com.sun.jna.ptr.IntByReference, long, jopenvr.HmdVector2_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetOverlayMouseScale(IntByReference instancePtr, long ulOverlayHandle, HmdVector2_t pvecMouseScale); + /** Original signature : EVROverlayError VR_IVROverlay_GetOverlayMouseScale(intptr_t, VROverlayHandle_t, HmdVector2_t*) */ + public static native int VR_IVROverlay_GetOverlayMouseScale(Pointer instancePtr, long ulOverlayHandle, HmdVector2_t pvecMouseScale); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayMouseScale(intptr_t, VROverlayHandle_t, HmdVector2_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayMouseScale(java.nio.IntBuffer, long, jopenvr.HmdVector2_t)} and {@link #VR_IVROverlay_SetOverlayMouseScale(com.sun.jna.ptr.IntByReference, long, jopenvr.HmdVector2_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayMouseScale(IntByReference instancePtr, long ulOverlayHandle, HmdVector2_t pvecMouseScale); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayMouseScale(intptr_t, VROverlayHandle_t, HmdVector2_t*) */ + public static native int VR_IVROverlay_SetOverlayMouseScale(Pointer instancePtr, long ulOverlayHandle, HmdVector2_t pvecMouseScale); + /** + * Original signature : bool VR_IVROverlay_ComputeOverlayIntersection(intptr_t, VROverlayHandle_t, VROverlayIntersectionParams_t*, VROverlayIntersectionResults_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_ComputeOverlayIntersection(java.nio.IntBuffer, long, jopenvr.VROverlayIntersectionParams_t, jopenvr.VROverlayIntersectionResults_t)} and {@link #VR_IVROverlay_ComputeOverlayIntersection(com.sun.jna.ptr.IntByReference, long, jopenvr.VROverlayIntersectionParams_t, jopenvr.VROverlayIntersectionResults_t)} instead + */ + @Deprecated + public static native byte VR_IVROverlay_ComputeOverlayIntersection(IntByReference instancePtr, long ulOverlayHandle, VROverlayIntersectionParams_t pParams, VROverlayIntersectionResults_t pResults); + /** Original signature : bool VR_IVROverlay_ComputeOverlayIntersection(intptr_t, VROverlayHandle_t, VROverlayIntersectionParams_t*, VROverlayIntersectionResults_t*) */ + public static native byte VR_IVROverlay_ComputeOverlayIntersection(Pointer instancePtr, long ulOverlayHandle, VROverlayIntersectionParams_t pParams, VROverlayIntersectionResults_t pResults); + /** + * Original signature : bool VR_IVROverlay_HandleControllerOverlayInteractionAsMouse(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_HandleControllerOverlayInteractionAsMouse(java.nio.IntBuffer, long, int)} and {@link #VR_IVROverlay_HandleControllerOverlayInteractionAsMouse(com.sun.jna.ptr.IntByReference, long, int)} instead + */ + @Deprecated + public static native byte VR_IVROverlay_HandleControllerOverlayInteractionAsMouse(IntByReference instancePtr, long ulOverlayHandle, int unControllerDeviceIndex); + /** Original signature : bool VR_IVROverlay_HandleControllerOverlayInteractionAsMouse(intptr_t, VROverlayHandle_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVROverlay_HandleControllerOverlayInteractionAsMouse(Pointer instancePtr, long ulOverlayHandle, int unControllerDeviceIndex); + /** + * Original signature : bool VR_IVROverlay_IsHoverTargetOverlay(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_IsHoverTargetOverlay(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_IsHoverTargetOverlay(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native byte VR_IVROverlay_IsHoverTargetOverlay(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : bool VR_IVROverlay_IsHoverTargetOverlay(intptr_t, VROverlayHandle_t) */ + public static native byte VR_IVROverlay_IsHoverTargetOverlay(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : VROverlayHandle_t VR_IVROverlay_GetGamepadFocusOverlay(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetGamepadFocusOverlay(java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetGamepadFocusOverlay(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native long VR_IVROverlay_GetGamepadFocusOverlay(IntByReference instancePtr); + /** Original signature : VROverlayHandle_t VR_IVROverlay_GetGamepadFocusOverlay(intptr_t) */ + public static native long VR_IVROverlay_GetGamepadFocusOverlay(Pointer instancePtr); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetGamepadFocusOverlay(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetGamepadFocusOverlay(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_SetGamepadFocusOverlay(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetGamepadFocusOverlay(IntByReference instancePtr, long ulNewFocusOverlay); + /** Original signature : EVROverlayError VR_IVROverlay_SetGamepadFocusOverlay(intptr_t, VROverlayHandle_t) */ + public static native int VR_IVROverlay_SetGamepadFocusOverlay(Pointer instancePtr, long ulNewFocusOverlay); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayNeighbor(intptr_t, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayNeighbor(java.nio.IntBuffer, int, long, long)} and {@link #VR_IVROverlay_SetOverlayNeighbor(com.sun.jna.ptr.IntByReference, int, long, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayNeighbor(IntByReference instancePtr, int eDirection, long ulFrom, long ulTo); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayNeighbor(intptr_t, EOverlayDirection, VROverlayHandle_t, VROverlayHandle_t) */ + public static native int VR_IVROverlay_SetOverlayNeighbor(Pointer instancePtr, int eDirection, long ulFrom, long ulTo); + /** + * Original signature : EVROverlayError VR_IVROverlay_MoveGamepadFocusToNeighbor(intptr_t, EOverlayDirection, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_MoveGamepadFocusToNeighbor(java.nio.IntBuffer, int, long)} and {@link #VR_IVROverlay_MoveGamepadFocusToNeighbor(com.sun.jna.ptr.IntByReference, int, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_MoveGamepadFocusToNeighbor(IntByReference instancePtr, int eDirection, long ulFrom); + /** Original signature : EVROverlayError VR_IVROverlay_MoveGamepadFocusToNeighbor(intptr_t, EOverlayDirection, VROverlayHandle_t) */ + public static native int VR_IVROverlay_MoveGamepadFocusToNeighbor(Pointer instancePtr, int eDirection, long ulFrom); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayTexture(intptr_t, VROverlayHandle_t, Texture_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayTexture(java.nio.IntBuffer, long, jopenvr.Texture_t)} and {@link #VR_IVROverlay_SetOverlayTexture(com.sun.jna.ptr.IntByReference, long, jopenvr.Texture_t)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayTexture(IntByReference instancePtr, long ulOverlayHandle, Texture_t pTexture); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayTexture(intptr_t, VROverlayHandle_t, Texture_t*) */ + public static native int VR_IVROverlay_SetOverlayTexture(Pointer instancePtr, long ulOverlayHandle, Texture_t pTexture); + /** + * Original signature : EVROverlayError VR_IVROverlay_ClearOverlayTexture(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_ClearOverlayTexture(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_ClearOverlayTexture(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_ClearOverlayTexture(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : EVROverlayError VR_IVROverlay_ClearOverlayTexture(intptr_t, VROverlayHandle_t) */ + public static native int VR_IVROverlay_ClearOverlayTexture(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayRaw(intptr_t, VROverlayHandle_t, void*, uint32_t, uint32_t, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayRaw(java.nio.IntBuffer, long, com.sun.jna.Pointer, int, int, int)} and {@link #VR_IVROverlay_SetOverlayRaw(com.sun.jna.ptr.IntByReference, long, com.sun.jna.Pointer, int, int, int)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayRaw(IntByReference instancePtr, long ulOverlayHandle, Pointer pvBuffer, int unWidth, int unHeight, int unDepth); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayRaw(intptr_t, VROverlayHandle_t, void*, uint32_t, uint32_t, uint32_t) */ + public static native int VR_IVROverlay_SetOverlayRaw(Pointer instancePtr, long ulOverlayHandle, Pointer pvBuffer, int unWidth, int unHeight, int unDepth); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetOverlayFromFile(intptr_t, VROverlayHandle_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetOverlayFromFile(java.nio.IntBuffer, long, java.lang.String)} and {@link #VR_IVROverlay_SetOverlayFromFile(com.sun.jna.ptr.IntByReference, long, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetOverlayFromFile(IntByReference instancePtr, long ulOverlayHandle, Pointer pchFilePath); + /** Original signature : EVROverlayError VR_IVROverlay_SetOverlayFromFile(intptr_t, VROverlayHandle_t, const char*) */ + public static native int VR_IVROverlay_SetOverlayFromFile(Pointer instancePtr, long ulOverlayHandle, String pchFilePath); + /** + * Original signature : EVROverlayError VR_IVROverlay_CreateDashboardOverlay(intptr_t, const char*, const char*, VROverlayHandle_t*, VROverlayHandle_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_CreateDashboardOverlay(java.nio.IntBuffer, java.lang.String, java.lang.String, java.nio.LongBuffer, java.nio.LongBuffer)} and {@link #VR_IVROverlay_CreateDashboardOverlay(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, com.sun.jna.ptr.LongByReference, com.sun.jna.ptr.LongByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_CreateDashboardOverlay(IntByReference instancePtr, Pointer pchOverlayKey, Pointer pchOverlayFriendlyName, LongByReference pMainHandle, LongByReference pThumbnailHandle); + /** Original signature : EVROverlayError VR_IVROverlay_CreateDashboardOverlay(intptr_t, const char*, const char*, VROverlayHandle_t*, VROverlayHandle_t*) */ + public static native int VR_IVROverlay_CreateDashboardOverlay(Pointer instancePtr, String pchOverlayKey, String pchOverlayFriendlyName, LongBuffer pMainHandle, LongBuffer pThumbnailHandle); + /** + * Original signature : bool VR_IVROverlay_IsDashboardVisible(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_IsDashboardVisible(java.nio.IntBuffer)} and {@link #VR_IVROverlay_IsDashboardVisible(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVROverlay_IsDashboardVisible(IntByReference instancePtr); + /** Original signature : bool VR_IVROverlay_IsDashboardVisible(intptr_t) */ + public static native byte VR_IVROverlay_IsDashboardVisible(Pointer instancePtr); + /** + * Original signature : bool VR_IVROverlay_IsActiveDashboardOverlay(intptr_t, VROverlayHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_IsActiveDashboardOverlay(java.nio.IntBuffer, long)} and {@link #VR_IVROverlay_IsActiveDashboardOverlay(com.sun.jna.ptr.IntByReference, long)} instead + */ + @Deprecated + public static native byte VR_IVROverlay_IsActiveDashboardOverlay(IntByReference instancePtr, long ulOverlayHandle); + /** Original signature : bool VR_IVROverlay_IsActiveDashboardOverlay(intptr_t, VROverlayHandle_t) */ + public static native byte VR_IVROverlay_IsActiveDashboardOverlay(Pointer instancePtr, long ulOverlayHandle); + /** + * Original signature : EVROverlayError VR_IVROverlay_SetDashboardOverlaySceneProcess(intptr_t, VROverlayHandle_t, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetDashboardOverlaySceneProcess(java.nio.IntBuffer, long, int)} and {@link #VR_IVROverlay_SetDashboardOverlaySceneProcess(com.sun.jna.ptr.IntByReference, long, int)} instead + */ + @Deprecated + public static native int VR_IVROverlay_SetDashboardOverlaySceneProcess(IntByReference instancePtr, long ulOverlayHandle, int unProcessId); + /** Original signature : EVROverlayError VR_IVROverlay_SetDashboardOverlaySceneProcess(intptr_t, VROverlayHandle_t, uint32_t) */ + public static native int VR_IVROverlay_SetDashboardOverlaySceneProcess(Pointer instancePtr, long ulOverlayHandle, int unProcessId); + /** + * Original signature : EVROverlayError VR_IVROverlay_GetDashboardOverlaySceneProcess(intptr_t, VROverlayHandle_t, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetDashboardOverlaySceneProcess(java.nio.IntBuffer, long, java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetDashboardOverlaySceneProcess(com.sun.jna.ptr.IntByReference, long, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetDashboardOverlaySceneProcess(IntByReference instancePtr, long ulOverlayHandle, IntByReference punProcessId); + /** Original signature : EVROverlayError VR_IVROverlay_GetDashboardOverlaySceneProcess(intptr_t, VROverlayHandle_t, uint32_t*) */ + public static native int VR_IVROverlay_GetDashboardOverlaySceneProcess(Pointer instancePtr, long ulOverlayHandle, IntBuffer punProcessId); + /** + * Original signature : void VR_IVROverlay_ShowDashboard(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_ShowDashboard(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVROverlay_ShowDashboard(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native void VR_IVROverlay_ShowDashboard(IntByReference instancePtr, Pointer pchOverlayToShow); + /** Original signature : void VR_IVROverlay_ShowDashboard(intptr_t, const char*) */ + public static native void VR_IVROverlay_ShowDashboard(Pointer instancePtr, String pchOverlayToShow); + /** + * Original signature : TrackedDeviceIndex_t VR_IVROverlay_GetPrimaryDashboardDevice(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetPrimaryDashboardDevice(java.nio.IntBuffer)} and {@link #VR_IVROverlay_GetPrimaryDashboardDevice(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetPrimaryDashboardDevice(IntByReference instancePtr); + /** Original signature : TrackedDeviceIndex_t VR_IVROverlay_GetPrimaryDashboardDevice(intptr_t) */ + public static native int VR_IVROverlay_GetPrimaryDashboardDevice(Pointer instancePtr); + /** + * Original signature : EVROverlayError VR_IVROverlay_ShowKeyboard(intptr_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char*, uint32_t, const char*, bool, uint64_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_ShowKeyboard(java.nio.IntBuffer, int, int, java.lang.String, int, java.lang.String, byte, long)} and {@link #VR_IVROverlay_ShowKeyboard(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.Pointer, int, com.sun.jna.Pointer, byte, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_ShowKeyboard(IntByReference instancePtr, int eInputMode, int eLineInputMode, Pointer pchDescription, int unCharMax, Pointer pchExistingText, byte bUseMinimalMode, long uUserValue); + /** Original signature : EVROverlayError VR_IVROverlay_ShowKeyboard(intptr_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char*, uint32_t, const char*, bool, uint64_t) */ + public static native int VR_IVROverlay_ShowKeyboard(Pointer instancePtr, int eInputMode, int eLineInputMode, String pchDescription, int unCharMax, String pchExistingText, byte bUseMinimalMode, long uUserValue); + /** + * Original signature : EVROverlayError VR_IVROverlay_ShowKeyboardForOverlay(intptr_t, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char*, uint32_t, const char*, bool, uint64_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_ShowKeyboardForOverlay(java.nio.IntBuffer, long, int, int, java.lang.String, int, java.lang.String, byte, long)} and {@link #VR_IVROverlay_ShowKeyboardForOverlay(com.sun.jna.ptr.IntByReference, long, int, int, com.sun.jna.Pointer, int, com.sun.jna.Pointer, byte, long)} instead + */ + @Deprecated + public static native int VR_IVROverlay_ShowKeyboardForOverlay(IntByReference instancePtr, long ulOverlayHandle, int eInputMode, int eLineInputMode, Pointer pchDescription, int unCharMax, Pointer pchExistingText, byte bUseMinimalMode, long uUserValue); + /** Original signature : EVROverlayError VR_IVROverlay_ShowKeyboardForOverlay(intptr_t, VROverlayHandle_t, EGamepadTextInputMode, EGamepadTextInputLineMode, const char*, uint32_t, const char*, bool, uint64_t) */ + public static native int VR_IVROverlay_ShowKeyboardForOverlay(Pointer instancePtr, long ulOverlayHandle, int eInputMode, int eLineInputMode, String pchDescription, int unCharMax, String pchExistingText, byte bUseMinimalMode, long uUserValue); + /** + * Original signature : uint32_t VR_IVROverlay_GetKeyboardText(intptr_t, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_GetKeyboardText(java.nio.IntBuffer, java.nio.ByteBuffer, int)} and {@link #VR_IVROverlay_GetKeyboardText(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVROverlay_GetKeyboardText(IntByReference instancePtr, Pointer pchText, int cchText); + /** Original signature : uint32_t VR_IVROverlay_GetKeyboardText(intptr_t, char*, uint32_t) */ + public static native int VR_IVROverlay_GetKeyboardText(Pointer instancePtr, ByteBuffer pchText, int cchText); + /** + * Original signature : void VR_IVROverlay_HideKeyboard(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_HideKeyboard(java.nio.IntBuffer)} and {@link #VR_IVROverlay_HideKeyboard(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVROverlay_HideKeyboard(IntByReference instancePtr); + /** Original signature : void VR_IVROverlay_HideKeyboard(intptr_t) */ + public static native void VR_IVROverlay_HideKeyboard(Pointer instancePtr); + /** + * Original signature : void VR_IVROverlay_SetKeyboardTransformAbsolute(intptr_t, ETrackingUniverseOrigin, HmdMatrix34_t*)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetKeyboardTransformAbsolute(java.nio.IntBuffer, int, jopenvr.HmdMatrix34_t)} and {@link #VR_IVROverlay_SetKeyboardTransformAbsolute(com.sun.jna.ptr.IntByReference, int, jopenvr.HmdMatrix34_t)} instead + */ + @Deprecated + public static native void VR_IVROverlay_SetKeyboardTransformAbsolute(IntByReference instancePtr, int eTrackingOrigin, HmdMatrix34_t pmatTrackingOriginToKeyboardTransform); + /** Original signature : void VR_IVROverlay_SetKeyboardTransformAbsolute(intptr_t, ETrackingUniverseOrigin, HmdMatrix34_t*) */ + public static native void VR_IVROverlay_SetKeyboardTransformAbsolute(Pointer instancePtr, int eTrackingOrigin, HmdMatrix34_t pmatTrackingOriginToKeyboardTransform); + /** + * Original signature : void VR_IVROverlay_SetKeyboardPositionForOverlay(intptr_t, VROverlayHandle_t, HmdRect2_t)
+ * @deprecated use the safer methods {@link #VR_IVROverlay_SetKeyboardPositionForOverlay(java.nio.IntBuffer, long, jopenvr.HmdRect2_t.ByValue)} and {@link #VR_IVROverlay_SetKeyboardPositionForOverlay(com.sun.jna.ptr.IntByReference, long, jopenvr.HmdRect2_t.ByValue)} instead + */ + @Deprecated + public static native void VR_IVROverlay_SetKeyboardPositionForOverlay(IntByReference instancePtr, long ulOverlayHandle, jopenvr.HmdRect2_t.ByValue avoidRect); + /** Original signature : void VR_IVROverlay_SetKeyboardPositionForOverlay(intptr_t, VROverlayHandle_t, HmdRect2_t) */ + public static native void VR_IVROverlay_SetKeyboardPositionForOverlay(Pointer instancePtr, long ulOverlayHandle, jopenvr.HmdRect2_t.ByValue avoidRect); + /** + * Original signature : bool VR_IVRRenderModels_LoadRenderModel(intptr_t, const char*, RenderModel_t**)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_LoadRenderModel(java.nio.IntBuffer, java.lang.String, jopenvr.RenderModel_t.ByReference[])} and {@link #VR_IVRRenderModels_LoadRenderModel(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, jopenvr.RenderModel_t.ByReference[])} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_LoadRenderModel_Async(Pointer instancePtr, Pointer pchRenderModelName, PointerByReference ppRenderModel); + /** Original signature : bool VR_IVRRenderModels_LoadRenderModel(intptr_t, const char*, RenderModel_t**) */ + //public static native int VR_IVRRenderModels_LoadRenderModel_Async(IntByReference instancePtr, Pointer pchRenderModelName, RenderModel_t.ByReference ppRenderModel[]); + /** Original signature : bool VR_IVRRenderModels_LoadRenderModel(intptr_t, const char*, RenderModel_t**) */ + //public static native byte VR_IVRRenderModels_LoadRenderModel(IntByReference instancePtr, Pointer pchRenderModelName, RenderModel_t.ByReference[] ppRenderModel); + /** + * Original signature : void VR_IVRRenderModels_FreeRenderModel(intptr_t, RenderModel_t*)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_FreeRenderModel(java.nio.IntBuffer, jopenvr.RenderModel_t)} and {@link #VR_IVRRenderModels_FreeRenderModel(com.sun.jna.ptr.IntByReference, jopenvr.RenderModel_t)} instead + */ + @Deprecated + public static native void VR_IVRRenderModels_FreeRenderModel(IntByReference instancePtr, RenderModel_t pRenderModel); + /** Original signature : void VR_IVRRenderModels_FreeRenderModel(intptr_t, RenderModel_t*) */ + public static native void VR_IVRRenderModels_FreeRenderModel(Pointer instancePtr, RenderModel_t pRenderModel); + /** + * Original signature : bool VR_IVRRenderModels_LoadTexture(intptr_t, TextureID_t, RenderModel_TextureMap_t**)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_LoadTexture(java.nio.IntBuffer, int, jopenvr.RenderModel_TextureMap_t.ByReference[])} and {@link #VR_IVRRenderModels_LoadTexture(com.sun.jna.ptr.IntByReference, int, jopenvr.RenderModel_TextureMap_t.ByReference[])} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_LoadTexture_Async(Pointer instancePtr, int textureId, PointerByReference ppTexture); + /** Original signature : bool VR_IVRRenderModels_LoadTexture(intptr_t, TextureID_t, RenderModel_TextureMap_t**) */ + //public static native int VR_IVRRenderModels_LoadTexture_Async(Pointer instancePtr, int textureId, RenderModel_TextureMap_t.ByReference ppTexture[]); + /** Original signature : bool VR_IVRRenderModels_LoadTexture(intptr_t, TextureID_t, RenderModel_TextureMap_t**) */ + //public static native byte VR_IVRRenderModels_LoadTexture(IntByReference instancePtr, int textureId, RenderModel_TextureMap_t.ByReference[] ppTexture); + /** + * Original signature : void VR_IVRRenderModels_FreeTexture(intptr_t, RenderModel_TextureMap_t*)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_FreeTexture(java.nio.IntBuffer, jopenvr.RenderModel_TextureMap_t)} and {@link #VR_IVRRenderModels_FreeTexture(com.sun.jna.ptr.IntByReference, jopenvr.RenderModel_TextureMap_t)} instead + */ + @Deprecated + public static native void VR_IVRRenderModels_FreeTexture(IntByReference instancePtr, RenderModel_TextureMap_t pTexture); + /** Original signature : void VR_IVRRenderModels_FreeTexture(intptr_t, RenderModel_TextureMap_t*) */ + public static native void VR_IVRRenderModels_FreeTexture(Pointer instancePtr, RenderModel_TextureMap_t pTexture); + /** + * Original signature : EVRRenderModelError VR_IVRRenderModels_LoadTextureD3D11_Async(intptr_t, TextureID_t, void*, void**)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_LoadTextureD3D11_Async(java.nio.IntBuffer, int, com.sun.jna.Pointer, com.sun.jna.ptr.PointerByReference)} and {@link #VR_IVRRenderModels_LoadTextureD3D11_Async(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer, com.sun.jna.ptr.PointerByReference)} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_LoadTextureD3D11_Async(IntByReference instancePtr, int textureId, Pointer pD3D11Device, PointerByReference ppD3D11Texture2D); + /** Original signature : EVRRenderModelError VR_IVRRenderModels_LoadTextureD3D11_Async(intptr_t, TextureID_t, void*, void**) */ + public static native int VR_IVRRenderModels_LoadTextureD3D11_Async(Pointer instancePtr, int textureId, Pointer pD3D11Device, PointerByReference ppD3D11Texture2D); + /** + * Original signature : void VR_IVRRenderModels_FreeTextureD3D11(intptr_t, void*)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_FreeTextureD3D11(java.nio.IntBuffer, com.sun.jna.Pointer)} and {@link #VR_IVRRenderModels_FreeTextureD3D11(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native void VR_IVRRenderModels_FreeTextureD3D11(IntByReference instancePtr, Pointer pD3D11Texture2D); + /** Original signature : void VR_IVRRenderModels_FreeTextureD3D11(intptr_t, void*) */ + public static native void VR_IVRRenderModels_FreeTextureD3D11(Pointer instancePtr, Pointer pD3D11Texture2D); + /** + * Original signature : uint32_t VR_IVRRenderModels_GetRenderModelName(intptr_t, uint32_t, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_GetRenderModelName(java.nio.IntBuffer, int, java.nio.ByteBuffer, int)} and {@link #VR_IVRRenderModels_GetRenderModelName(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_GetRenderModelName(IntByReference instancePtr, int unRenderModelIndex, Pointer pchRenderModelName, int unRenderModelNameLen); + /** Original signature : uint32_t VR_IVRRenderModels_GetRenderModelName(intptr_t, uint32_t, char*, uint32_t) */ + public static native int VR_IVRRenderModels_GetRenderModelName(Pointer instancePtr, int unRenderModelIndex, ByteBuffer pchRenderModelName, int unRenderModelNameLen); + /** + * Original signature : uint32_t VR_IVRRenderModels_GetRenderModelCount(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_GetRenderModelCount(java.nio.IntBuffer)} and {@link #VR_IVRRenderModels_GetRenderModelCount(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_GetRenderModelCount(IntByReference instancePtr); + /** Original signature : uint32_t VR_IVRRenderModels_GetRenderModelCount(intptr_t) */ + public static native int VR_IVRRenderModels_GetRenderModelCount(Pointer instancePtr); + /** + * Original signature : uint32_t VR_IVRRenderModels_GetComponentCount(intptr_t, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_GetComponentCount(java.nio.IntBuffer, java.lang.String)} and {@link #VR_IVRRenderModels_GetComponentCount(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_GetComponentCount(IntByReference instancePtr, Pointer pchRenderModelName); + /** Original signature : uint32_t VR_IVRRenderModels_GetComponentCount(intptr_t, const char*) */ + public static native int VR_IVRRenderModels_GetComponentCount(Pointer instancePtr, String pchRenderModelName); + /** + * Original signature : uint32_t VR_IVRRenderModels_GetComponentName(intptr_t, const char*, uint32_t, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_GetComponentName(java.nio.IntBuffer, java.lang.String, int, java.nio.ByteBuffer, int)} and {@link #VR_IVRRenderModels_GetComponentName(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, int, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_GetComponentName(IntByReference instancePtr, Pointer pchRenderModelName, int unComponentIndex, Pointer pchComponentName, int unComponentNameLen); + /** Original signature : uint32_t VR_IVRRenderModels_GetComponentName(intptr_t, const char*, uint32_t, char*, uint32_t) */ + public static native int VR_IVRRenderModels_GetComponentName(Pointer instancePtr, String pchRenderModelName, int unComponentIndex, ByteBuffer pchComponentName, int unComponentNameLen); + /** + * Original signature : uint64_t VR_IVRRenderModels_GetComponentButtonMask(intptr_t, const char*, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_GetComponentButtonMask(java.nio.IntBuffer, java.lang.String, java.lang.String)} and {@link #VR_IVRRenderModels_GetComponentButtonMask(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native long VR_IVRRenderModels_GetComponentButtonMask(IntByReference instancePtr, Pointer pchRenderModelName, Pointer pchComponentName); + /** Original signature : uint64_t VR_IVRRenderModels_GetComponentButtonMask(intptr_t, const char*, const char*) */ + public static native long VR_IVRRenderModels_GetComponentButtonMask(Pointer instancePtr, String pchRenderModelName, String pchComponentName); + /** + * Original signature : uint32_t VR_IVRRenderModels_GetComponentRenderModelName(intptr_t, const char*, const char*, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_GetComponentRenderModelName(java.nio.IntBuffer, java.lang.String, java.lang.String, java.nio.ByteBuffer, int)} and {@link #VR_IVRRenderModels_GetComponentRenderModelName(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native int VR_IVRRenderModels_GetComponentRenderModelName(IntByReference instancePtr, Pointer pchRenderModelName, Pointer pchComponentName, Pointer pchComponentRenderModelName, int unComponentRenderModelNameLen); + /** Original signature : uint32_t VR_IVRRenderModels_GetComponentRenderModelName(intptr_t, const char*, const char*, char*, uint32_t) */ + public static native int VR_IVRRenderModels_GetComponentRenderModelName(Pointer instancePtr, String pchRenderModelName, String pchComponentName, ByteBuffer pchComponentRenderModelName, int unComponentRenderModelNameLen); + /** + * Original signature : bool VR_IVRRenderModels_GetComponentState(intptr_t, const char*, const char*, const VRControllerState_t*, RenderModel_ComponentState_t*)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_GetComponentState(java.nio.IntBuffer, java.lang.String, java.lang.String, jopenvr.VRControllerState_t, jopenvr.RenderModel_ComponentState_t)} and {@link #VR_IVRRenderModels_GetComponentState(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, jopenvr.VRControllerState_t, jopenvr.RenderModel_ComponentState_t)} instead + */ + @Deprecated + public static native byte VR_IVRRenderModels_GetComponentState(IntByReference instancePtr, Pointer pchRenderModelName, Pointer pchComponentName, VRControllerState_t pControllerState, RenderModel_ComponentState_t pComponentState); + /** Original signature : bool VR_IVRRenderModels_GetComponentState(intptr_t, const char*, const char*, const VRControllerState_t*, RenderModel_ComponentState_t*) */ + public static native byte VR_IVRRenderModels_GetComponentState(Pointer instancePtr, String pchRenderModelName, String pchComponentName, VRControllerState_t pControllerState, RenderModel_ComponentState_t pComponentState); + /** + * Original signature : bool VR_IVRRenderModels_RenderModelHasComponent(intptr_t, const char*, const char*)
+ * @deprecated use the safer methods {@link #VR_IVRRenderModels_RenderModelHasComponent(java.nio.IntBuffer, java.lang.String, java.lang.String)} and {@link #VR_IVRRenderModels_RenderModelHasComponent(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native byte VR_IVRRenderModels_RenderModelHasComponent(IntByReference instancePtr, Pointer pchRenderModelName, Pointer pchComponentName); + /** Original signature : bool VR_IVRRenderModels_RenderModelHasComponent(intptr_t, const char*, const char*) */ + public static native byte VR_IVRRenderModels_RenderModelHasComponent(Pointer instancePtr, String pchRenderModelName, String pchComponentName); + /** + * Original signature : EVRNotificationError VR_IVRNotifications_CreateNotification(intptr_t, VROverlayHandle_t, uint64_t, EVRNotificationType, const char*, EVRNotificationStyle, NotificationBitmap_t*, VRNotificationId*)
+ * @deprecated use the safer methods {@link #VR_IVRNotifications_CreateNotification(java.nio.IntBuffer, long, long, int, java.lang.String, int, jopenvr.NotificationBitmap_t, java.nio.IntBuffer)} and {@link #VR_IVRNotifications_CreateNotification(com.sun.jna.ptr.IntByReference, long, long, int, com.sun.jna.Pointer, int, jopenvr.NotificationBitmap_t, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRNotifications_CreateNotification(IntByReference instancePtr, long ulOverlayHandle, long ulUserValue, int type, Pointer pchText, int style, NotificationBitmap_t pImage, IntByReference pNotificationId); + /** Original signature : EVRNotificationError VR_IVRNotifications_CreateNotification(intptr_t, VROverlayHandle_t, uint64_t, EVRNotificationType, const char*, EVRNotificationStyle, NotificationBitmap_t*, VRNotificationId*) */ + public static native int VR_IVRNotifications_CreateNotification(Pointer instancePtr, long ulOverlayHandle, long ulUserValue, int type, String pchText, int style, NotificationBitmap_t pImage, IntBuffer pNotificationId); + /** + * Original signature : EVRNotificationError VR_IVRNotifications_RemoveNotification(intptr_t, VRNotificationId)
+ * @deprecated use the safer methods {@link #VR_IVRNotifications_RemoveNotification(java.nio.IntBuffer, int)} and {@link #VR_IVRNotifications_RemoveNotification(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native int VR_IVRNotifications_RemoveNotification(IntByReference instancePtr, int notificationId); + /** Original signature : EVRNotificationError VR_IVRNotifications_RemoveNotification(intptr_t, VRNotificationId) */ + public static native int VR_IVRNotifications_RemoveNotification(Pointer instancePtr, int notificationId); + /** + * Original signature : char* VR_IVRSettings_GetSettingsErrorNameFromEnum(intptr_t, EVRSettingsError)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_GetSettingsErrorNameFromEnum(java.nio.IntBuffer, int)} and {@link #VR_IVRSettings_GetSettingsErrorNameFromEnum(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_IVRSettings_GetSettingsErrorNameFromEnum(IntByReference instancePtr, int eError); + /** Original signature : char* VR_IVRSettings_GetSettingsErrorNameFromEnum(intptr_t, EVRSettingsError) */ + public static native Pointer VR_IVRSettings_GetSettingsErrorNameFromEnum(Pointer instancePtr, int eError); + /** + * Original signature : bool VR_IVRSettings_Sync(intptr_t, bool, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_Sync(java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRSettings_Sync(com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRSettings_Sync(IntByReference instancePtr, byte bForce, IntByReference peError); + /** Original signature : void VR_IVRSettings_Sync(intptr_t, EVRSettingsError*) */ + public static native byte VR_IVRSettings_Sync(Pointer instancePtr, byte bForce, IntBuffer peError); + /** + * Original signature : bool VR_IVRSettings_GetBool(intptr_t, const char*, const char*, bool, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_GetBool(java.nio.IntBuffer, java.lang.String, java.lang.String, byte, java.nio.IntBuffer)} and {@link #VR_IVRSettings_GetBool(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, byte, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRSettings_GetBool(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, byte bDefaultValue, IntByReference peError); + /** Original signature : bool VR_IVRSettings_GetBool(intptr_t, const char*, const char*, bool, EVRSettingsError*) */ + public static native byte VR_IVRSettings_GetBool(Pointer instancePtr, String pchSection, String pchSettingsKey, byte bDefaultValue, IntBuffer peError); + /** + * Original signature : void VR_IVRSettings_SetBool(intptr_t, const char*, const char*, bool, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_SetBool(java.nio.IntBuffer, java.lang.String, java.lang.String, byte, java.nio.IntBuffer)} and {@link #VR_IVRSettings_SetBool(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, byte, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSettings_SetBool(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, byte bValue, IntByReference peError); + /** Original signature : void VR_IVRSettings_SetBool(intptr_t, const char*, const char*, bool, EVRSettingsError*) */ + public static native void VR_IVRSettings_SetBool(Pointer instancePtr, String pchSection, String pchSettingsKey, byte bValue, IntBuffer peError); + /** + * Original signature : int32_t VR_IVRSettings_GetInt32(intptr_t, const char*, const char*, int32_t, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_GetInt32(java.nio.IntBuffer, java.lang.String, java.lang.String, int, java.nio.IntBuffer)} and {@link #VR_IVRSettings_GetInt32(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native int VR_IVRSettings_GetInt32(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, int nDefaultValue, IntByReference peError); + /** Original signature : int32_t VR_IVRSettings_GetInt32(intptr_t, const char*, const char*, int32_t, EVRSettingsError*) */ + public static native int VR_IVRSettings_GetInt32(Pointer instancePtr, String pchSection, String pchSettingsKey, int nDefaultValue, IntBuffer peError); + /** + * Original signature : void VR_IVRSettings_SetInt32(intptr_t, const char*, const char*, int32_t, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_SetInt32(java.nio.IntBuffer, java.lang.String, java.lang.String, int, java.nio.IntBuffer)} and {@link #VR_IVRSettings_SetInt32(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSettings_SetInt32(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, int nValue, IntByReference peError); + /** Original signature : void VR_IVRSettings_SetInt32(intptr_t, const char*, const char*, int32_t, EVRSettingsError*) */ + public static native void VR_IVRSettings_SetInt32(Pointer instancePtr, String pchSection, String pchSettingsKey, int nValue, IntBuffer peError); + /** + * Original signature : float VR_IVRSettings_GetFloat(intptr_t, const char*, const char*, float, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_GetFloat(java.nio.IntBuffer, java.lang.String, java.lang.String, float, java.nio.IntBuffer)} and {@link #VR_IVRSettings_GetFloat(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, float, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native float VR_IVRSettings_GetFloat(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, float flDefaultValue, IntByReference peError); + /** Original signature : float VR_IVRSettings_GetFloat(intptr_t, const char*, const char*, float, EVRSettingsError*) */ + public static native float VR_IVRSettings_GetFloat(Pointer instancePtr, String pchSection, String pchSettingsKey, float flDefaultValue, IntBuffer peError); + /** + * Original signature : void VR_IVRSettings_SetFloat(intptr_t, const char*, const char*, float, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_SetFloat(java.nio.IntBuffer, java.lang.String, java.lang.String, float, java.nio.IntBuffer)} and {@link #VR_IVRSettings_SetFloat(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, float, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSettings_SetFloat(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, float flValue, IntByReference peError); + /** Original signature : void VR_IVRSettings_SetFloat(intptr_t, const char*, const char*, float, EVRSettingsError*) */ + public static native void VR_IVRSettings_SetFloat(Pointer instancePtr, String pchSection, String pchSettingsKey, float flValue, IntBuffer peError); + /** + * Original signature : void VR_IVRSettings_GetString(intptr_t, const char*, const char*, char*, uint32_t, const char*, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_GetString(java.nio.IntBuffer, java.lang.String, java.lang.String, java.nio.ByteBuffer, int, java.lang.String, java.nio.IntBuffer)} and {@link #VR_IVRSettings_GetString(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, com.sun.jna.Pointer, int, com.sun.jna.Pointer, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSettings_GetString(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, Pointer pchValue, int unValueLen, Pointer pchDefaultValue, IntByReference peError); + /** Original signature : void VR_IVRSettings_GetString(intptr_t, const char*, const char*, char*, uint32_t, const char*, EVRSettingsError*) */ + public static native void VR_IVRSettings_GetString(Pointer instancePtr, String pchSection, String pchSettingsKey, ByteBuffer pchValue, int unValueLen, String pchDefaultValue, IntBuffer peError); + /** + * Original signature : void VR_IVRSettings_SetString(intptr_t, const char*, const char*, const char*, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_SetString(java.nio.IntBuffer, java.lang.String, java.lang.String, java.lang.String, java.nio.IntBuffer)} and {@link #VR_IVRSettings_SetString(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, com.sun.jna.Pointer, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSettings_SetString(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, Pointer pchValue, IntByReference peError); + /** Original signature : void VR_IVRSettings_SetString(intptr_t, const char*, const char*, const char*, EVRSettingsError*) */ + public static native void VR_IVRSettings_SetString(Pointer instancePtr, String pchSection, String pchSettingsKey, String pchValue, IntBuffer peError); + /** + * Original signature : void VR_IVRSettings_RemoveSection(intptr_t, const char*, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_RemoveSection(java.nio.IntBuffer, java.lang.String, java.nio.IntBuffer)} and {@link #VR_IVRSettings_RemoveSection(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSettings_RemoveSection(IntByReference instancePtr, Pointer pchSection, IntByReference peError); + /** Original signature : void VR_IVRSettings_RemoveSection(intptr_t, const char*, EVRSettingsError*) */ + public static native void VR_IVRSettings_RemoveSection(Pointer instancePtr, String pchSection, IntBuffer peError); + /** + * Original signature : void VR_IVRSettings_RemoveKeyInSection(intptr_t, const char*, const char*, EVRSettingsError*)
+ * @deprecated use the safer methods {@link #VR_IVRSettings_RemoveKeyInSection(java.nio.IntBuffer, java.lang.String, java.lang.String, java.nio.IntBuffer)} and {@link #VR_IVRSettings_RemoveKeyInSection(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer, com.sun.jna.Pointer, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRSettings_RemoveKeyInSection(IntByReference instancePtr, Pointer pchSection, Pointer pchSettingsKey, IntByReference peError); + /** Original signature : void VR_IVRSettings_RemoveKeyInSection(intptr_t, const char*, const char*, EVRSettingsError*) */ + public static native void VR_IVRSettings_RemoveKeyInSection(Pointer instancePtr, String pchSection, String pchSettingsKey, IntBuffer peError); + /** + * Original signature : bool VR_IVRTrackedCamera_HasCamera(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_HasCamera(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_HasCamera(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_HasCamera(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : bool VR_IVRTrackedCamera_HasCamera(intptr_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVRTrackedCamera_HasCamera(Pointer instancePtr, int nDeviceIndex); + /** + * Original signature : bool VR_IVRTrackedCamera_GetCameraFirmwareDescription(intptr_t, TrackedDeviceIndex_t, char*, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetCameraFirmwareDescription(java.nio.IntBuffer, int, java.nio.ByteBuffer, int)} and {@link #VR_IVRTrackedCamera_GetCameraFirmwareDescription(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_GetCameraFirmwareDescription(IntByReference instancePtr, int nDeviceIndex, Pointer pBuffer, int nBufferLen); + /** Original signature : bool VR_IVRTrackedCamera_GetCameraFirmwareDescription(intptr_t, TrackedDeviceIndex_t, char*, uint32_t) */ + public static native byte VR_IVRTrackedCamera_GetCameraFirmwareDescription(Pointer instancePtr, int nDeviceIndex, ByteBuffer pBuffer, int nBufferLen); + /** + * Original signature : bool VR_IVRTrackedCamera_GetCameraFrameDimensions(intptr_t, TrackedDeviceIndex_t, ECameraVideoStreamFormat, uint32_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetCameraFrameDimensions(java.nio.IntBuffer, int, int, java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRTrackedCamera_GetCameraFrameDimensions(com.sun.jna.ptr.IntByReference, int, int, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_GetCameraFrameDimensions(IntByReference instancePtr, int nDeviceIndex, int nVideoStreamFormat, IntByReference pWidth, IntByReference pHeight); + /** Original signature : bool VR_IVRTrackedCamera_GetCameraFrameDimensions(intptr_t, TrackedDeviceIndex_t, ECameraVideoStreamFormat, uint32_t*, uint32_t*) */ + public static native byte VR_IVRTrackedCamera_GetCameraFrameDimensions(Pointer instancePtr, int nDeviceIndex, int nVideoStreamFormat, IntBuffer pWidth, IntBuffer pHeight); + /** + * Original signature : bool VR_IVRTrackedCamera_SetCameraVideoStreamFormat(intptr_t, TrackedDeviceIndex_t, ECameraVideoStreamFormat)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_SetCameraVideoStreamFormat(java.nio.IntBuffer, int, int)} and {@link #VR_IVRTrackedCamera_SetCameraVideoStreamFormat(com.sun.jna.ptr.IntByReference, int, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_SetCameraVideoStreamFormat(IntByReference instancePtr, int nDeviceIndex, int nVideoStreamFormat); + /** Original signature : bool VR_IVRTrackedCamera_SetCameraVideoStreamFormat(intptr_t, TrackedDeviceIndex_t, ECameraVideoStreamFormat) */ + public static native byte VR_IVRTrackedCamera_SetCameraVideoStreamFormat(Pointer instancePtr, int nDeviceIndex, int nVideoStreamFormat); + /** + * Original signature : ECameraVideoStreamFormat VR_IVRTrackedCamera_GetCameraVideoStreamFormat(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetCameraVideoStreamFormat(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_GetCameraVideoStreamFormat(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native int VR_IVRTrackedCamera_GetCameraVideoStreamFormat(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : ECameraVideoStreamFormat VR_IVRTrackedCamera_GetCameraVideoStreamFormat(intptr_t, TrackedDeviceIndex_t) */ + public static native int VR_IVRTrackedCamera_GetCameraVideoStreamFormat(Pointer instancePtr, int nDeviceIndex); + /** + * Original signature : bool VR_IVRTrackedCamera_EnableCameraForStreaming(intptr_t, TrackedDeviceIndex_t, bool)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_EnableCameraForStreaming(java.nio.IntBuffer, int, byte)} and {@link #VR_IVRTrackedCamera_EnableCameraForStreaming(com.sun.jna.ptr.IntByReference, int, byte)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_EnableCameraForStreaming(IntByReference instancePtr, int nDeviceIndex, byte bEnable); + /** Original signature : bool VR_IVRTrackedCamera_EnableCameraForStreaming(intptr_t, TrackedDeviceIndex_t, bool) */ + public static native byte VR_IVRTrackedCamera_EnableCameraForStreaming(Pointer instancePtr, int nDeviceIndex, byte bEnable); + /** + * Original signature : bool VR_IVRTrackedCamera_StartVideoStream(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_StartVideoStream(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_StartVideoStream(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_StartVideoStream(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : bool VR_IVRTrackedCamera_StartVideoStream(intptr_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVRTrackedCamera_StartVideoStream(Pointer instancePtr, int nDeviceIndex); + /** + * Original signature : bool VR_IVRTrackedCamera_StopVideoStream(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_StopVideoStream(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_StopVideoStream(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_StopVideoStream(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : bool VR_IVRTrackedCamera_StopVideoStream(intptr_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVRTrackedCamera_StopVideoStream(Pointer instancePtr, int nDeviceIndex); + /** + * Original signature : bool VR_IVRTrackedCamera_IsVideoStreamActive(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_IsVideoStreamActive(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_IsVideoStreamActive(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_IsVideoStreamActive(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : bool VR_IVRTrackedCamera_IsVideoStreamActive(intptr_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVRTrackedCamera_IsVideoStreamActive(Pointer instancePtr, int nDeviceIndex, ByteBuffer pbPaused, FloatBuffer pflElapsedTime); + /** + * Original signature : CameraVideoStreamFrame_t* VR_IVRTrackedCamera_GetVideoStreamFrame(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetVideoStreamFrame(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_GetVideoStreamFrame(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native CameraVideoStreamFrame_t VR_IVRTrackedCamera_GetVideoStreamFrame(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : CameraVideoStreamFrame_t* VR_IVRTrackedCamera_GetVideoStreamFrame(intptr_t, TrackedDeviceIndex_t) */ + public static native CameraVideoStreamFrame_t VR_IVRTrackedCamera_GetVideoStreamFrame(Pointer instancePtr, int nDeviceIndex); + /** + * Original signature : bool VR_IVRTrackedCamera_ReleaseVideoStreamFrame(intptr_t, TrackedDeviceIndex_t, const CameraVideoStreamFrame_t*)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_ReleaseVideoStreamFrame(java.nio.IntBuffer, int, jopenvr.CameraVideoStreamFrame_t)} and {@link #VR_IVRTrackedCamera_ReleaseVideoStreamFrame(com.sun.jna.ptr.IntByReference, int, jopenvr.CameraVideoStreamFrame_t)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_ReleaseVideoStreamFrame(IntByReference instancePtr, int nDeviceIndex, CameraVideoStreamFrame_t pFrameImage); + /** Original signature : bool VR_IVRTrackedCamera_ReleaseVideoStreamFrame(intptr_t, TrackedDeviceIndex_t, const CameraVideoStreamFrame_t*) */ + public static native byte VR_IVRTrackedCamera_ReleaseVideoStreamFrame(Pointer instancePtr, int nDeviceIndex, CameraVideoStreamFrame_t pFrameImage); + /** + * Original signature : bool VR_IVRTrackedCamera_SetAutoExposure(intptr_t, TrackedDeviceIndex_t, bool)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_SetAutoExposure(java.nio.IntBuffer, int, byte)} and {@link #VR_IVRTrackedCamera_SetAutoExposure(com.sun.jna.ptr.IntByReference, int, byte)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_SetAutoExposure(IntByReference instancePtr, int nDeviceIndex, byte bEnable); + /** Original signature : bool VR_IVRTrackedCamera_SetAutoExposure(intptr_t, TrackedDeviceIndex_t, bool) */ + public static native byte VR_IVRTrackedCamera_SetAutoExposure(Pointer instancePtr, int nDeviceIndex, byte bEnable); + /** + * Original signature : bool VR_IVRTrackedCamera_PauseVideoStream(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_PauseVideoStream(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_PauseVideoStream(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_PauseVideoStream(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : bool VR_IVRTrackedCamera_PauseVideoStream(intptr_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVRTrackedCamera_PauseVideoStream(Pointer instancePtr, int nDeviceIndex); + /** + * Original signature : bool VR_IVRTrackedCamera_ResumeVideoStream(intptr_t, TrackedDeviceIndex_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_ResumeVideoStream(java.nio.IntBuffer, int)} and {@link #VR_IVRTrackedCamera_ResumeVideoStream(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_ResumeVideoStream(IntByReference instancePtr, int nDeviceIndex); + /** Original signature : bool VR_IVRTrackedCamera_ResumeVideoStream(intptr_t, TrackedDeviceIndex_t) */ + public static native byte VR_IVRTrackedCamera_ResumeVideoStream(Pointer instancePtr, int nDeviceIndex); + /** + * Original signature : bool VR_IVRTrackedCamera_GetCameraDistortion(intptr_t, TrackedDeviceIndex_t, float, float, float*, float*)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetCameraDistortion(java.nio.IntBuffer, int, float, float, java.nio.FloatBuffer, java.nio.FloatBuffer)} and {@link #VR_IVRTrackedCamera_GetCameraDistortion(com.sun.jna.ptr.IntByReference, int, float, float, com.sun.jna.ptr.FloatByReference, com.sun.jna.ptr.FloatByReference)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_GetCameraDistortion(IntByReference instancePtr, int nDeviceIndex, float flInputU, float flInputV, FloatByReference pflOutputU, FloatByReference pflOutputV); + /** Original signature : bool VR_IVRTrackedCamera_GetCameraDistortion(intptr_t, TrackedDeviceIndex_t, float, float, float*, float*) */ + public static native byte VR_IVRTrackedCamera_GetCameraDistortion(Pointer instancePtr, int nDeviceIndex, float flInputU, float flInputV, FloatBuffer pflOutputU, FloatBuffer pflOutputV); + /** + * Original signature : bool VR_IVRTrackedCamera_GetCameraProjection(intptr_t, TrackedDeviceIndex_t, float, float, float, float, HmdMatrix44_t*)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetCameraProjection(java.nio.IntBuffer, int, float, float, float, float, jopenvr.HmdMatrix44_t)} and {@link #VR_IVRTrackedCamera_GetCameraProjection(com.sun.jna.ptr.IntByReference, int, float, float, float, float, jopenvr.HmdMatrix44_t)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_GetCameraProjection(IntByReference instancePtr, int nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t pProjection); + /** Original signature : bool VR_IVRTrackedCamera_GetCameraProjection(intptr_t, TrackedDeviceIndex_t, float, float, float, float, HmdMatrix44_t*) */ + public static native byte VR_IVRTrackedCamera_GetCameraProjection(Pointer instancePtr, int nDeviceIndex, float flWidthPixels, float flHeightPixels, float flZNear, float flZFar, HmdMatrix44_t pProjection); + /** + * Original signature : bool VR_IVRTrackedCamera_GetRecommendedCameraUndistortion(intptr_t, TrackedDeviceIndex_t, uint32_t*, uint32_t*)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetRecommendedCameraUndistortion(java.nio.IntBuffer, int, java.nio.IntBuffer, java.nio.IntBuffer)} and {@link #VR_IVRTrackedCamera_GetRecommendedCameraUndistortion(com.sun.jna.ptr.IntByReference, int, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_GetRecommendedCameraUndistortion(IntByReference instancePtr, int nDeviceIndex, IntByReference pUndistortionWidthPixels, IntByReference pUndistortionHeightPixels); + /** Original signature : bool VR_IVRTrackedCamera_GetRecommendedCameraUndistortion(intptr_t, TrackedDeviceIndex_t, uint32_t*, uint32_t*) */ + public static native byte VR_IVRTrackedCamera_GetRecommendedCameraUndistortion(Pointer instancePtr, int nDeviceIndex, IntBuffer pUndistortionWidthPixels, IntBuffer pUndistortionHeightPixels); + /** + * Original signature : bool VR_IVRTrackedCamera_SetCameraUndistortion(intptr_t, TrackedDeviceIndex_t, uint32_t, uint32_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_SetCameraUndistortion(java.nio.IntBuffer, int, int, int)} and {@link #VR_IVRTrackedCamera_SetCameraUndistortion(com.sun.jna.ptr.IntByReference, int, int, int)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_SetCameraUndistortion(IntByReference instancePtr, int nDeviceIndex, int nUndistortionWidthPixels, int nUndistortionHeightPixels); + /** Original signature : bool VR_IVRTrackedCamera_SetCameraUndistortion(intptr_t, TrackedDeviceIndex_t, uint32_t, uint32_t) */ + public static native byte VR_IVRTrackedCamera_SetCameraUndistortion(Pointer instancePtr, int nDeviceIndex, int nUndistortionWidthPixels, int nUndistortionHeightPixels); + /** + * Original signature : void VR_IVRTrackedCamera_RequestVideoServicesForTool(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_RequestVideoServicesForTool(java.nio.IntBuffer)} and {@link #VR_IVRTrackedCamera_RequestVideoServicesForTool(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRTrackedCamera_RequestVideoServicesForTool(IntByReference instancePtr); + /** Original signature : void VR_IVRTrackedCamera_RequestVideoServicesForTool(intptr_t) */ + public static native void VR_IVRTrackedCamera_RequestVideoServicesForTool(Pointer instancePtr); + /** + * Original signature : void VR_IVRTrackedCamera_ReleaseVideoServicesForTool(intptr_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_ReleaseVideoServicesForTool(java.nio.IntBuffer)} and {@link #VR_IVRTrackedCamera_ReleaseVideoServicesForTool(com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native void VR_IVRTrackedCamera_ReleaseVideoServicesForTool(IntByReference instancePtr); + /** Original signature : void VR_IVRTrackedCamera_ReleaseVideoServicesForTool(intptr_t) */ + public static native void VR_IVRTrackedCamera_ReleaseVideoServicesForTool(Pointer instancePtr); + /** + * Original signature : bool VR_IVRTrackedCamera_GetVideoStreamFrameSharedTextureGL(intptr_t, bool, glUInt_t*, glSharedTextureHandle_t*)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_GetVideoStreamFrameSharedTextureGL(java.nio.IntBuffer, byte, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference)} and {@link #VR_IVRTrackedCamera_GetVideoStreamFrameSharedTextureGL(com.sun.jna.ptr.IntByReference, byte, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_GetVideoStreamFrameSharedTextureGL(IntByReference instancePtr, byte bUndistorted, IntByReference pglTextureId, PointerByReference pglSharedTextureHandle); + /** Original signature : bool VR_IVRTrackedCamera_GetVideoStreamFrameSharedTextureGL(intptr_t, bool, glUInt_t*, glSharedTextureHandle_t*) */ + public static native byte VR_IVRTrackedCamera_GetVideoStreamFrameSharedTextureGL(Pointer instancePtr, byte bUndistorted, IntBuffer pglTextureId, PointerByReference pglSharedTextureHandle); + /** + * Original signature : bool VR_IVRTrackedCamera_ReleaseVideoStreamFrameSharedTextureGL(intptr_t, glUInt_t, glSharedTextureHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_ReleaseVideoStreamFrameSharedTextureGL(java.nio.IntBuffer, int, com.sun.jna.Pointer)} and {@link #VR_IVRTrackedCamera_ReleaseVideoStreamFrameSharedTextureGL(com.sun.jna.ptr.IntByReference, int, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native byte VR_IVRTrackedCamera_ReleaseVideoStreamFrameSharedTextureGL(IntByReference instancePtr, int glTextureId, Pointer glSharedTextureHandle); + /** Original signature : bool VR_IVRTrackedCamera_ReleaseVideoStreamFrameSharedTextureGL(intptr_t, glUInt_t, glSharedTextureHandle_t) */ + public static native byte VR_IVRTrackedCamera_ReleaseVideoStreamFrameSharedTextureGL(Pointer instancePtr, int glTextureId, Pointer glSharedTextureHandle); + /** + * Original signature : void VR_IVRTrackedCamera_LockSharedTextureGL(intptr_t, glSharedTextureHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_LockSharedTextureGL(java.nio.IntBuffer, com.sun.jna.Pointer)} and {@link #VR_IVRTrackedCamera_LockSharedTextureGL(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native void VR_IVRTrackedCamera_LockSharedTextureGL(IntByReference instancePtr, Pointer glSharedTextureHandle); + /** Original signature : void VR_IVRTrackedCamera_LockSharedTextureGL(intptr_t, glSharedTextureHandle_t) */ + public static native void VR_IVRTrackedCamera_LockSharedTextureGL(Pointer instancePtr, Pointer glSharedTextureHandle); + /** + * Original signature : void VR_IVRTrackedCamera_UnlockSharedTextureGL(intptr_t, glSharedTextureHandle_t)
+ * @deprecated use the safer methods {@link #VR_IVRTrackedCamera_UnlockSharedTextureGL(java.nio.IntBuffer, com.sun.jna.Pointer)} and {@link #VR_IVRTrackedCamera_UnlockSharedTextureGL(com.sun.jna.ptr.IntByReference, com.sun.jna.Pointer)} instead + */ + @Deprecated + public static native void VR_IVRTrackedCamera_UnlockSharedTextureGL(IntByReference instancePtr, Pointer glSharedTextureHandle); + /** Original signature : void VR_IVRTrackedCamera_UnlockSharedTextureGL(intptr_t, glSharedTextureHandle_t) */ + public static native void VR_IVRTrackedCamera_UnlockSharedTextureGL(Pointer instancePtr, Pointer glSharedTextureHandle); + /** + * Global entry points
+ * Original signature : intptr_t VR_Init(EVRInitError*, EVRApplicationType)
+ * @deprecated use the safer methods {@link #VR_Init(java.nio.IntBuffer, int)} and {@link #VR_Init(com.sun.jna.ptr.IntByReference, int)} instead + */ + @Deprecated + public static native Pointer VR_InitInternal(IntByReference peError, int eType); + /** + * Global entry points
+ * Original signature : intptr_t VR_Init(EVRInitError*, EVRApplicationType) + */ + public static native Pointer VR_InitInternal(IntBuffer peError, int eType); + /** Original signature : void VR_Shutdown() */ + public static native void VR_ShutdownInternal(); + /** Original signature : bool VR_IsHmdPresent() */ + public static native byte VR_IsHmdPresent(); + /** Original signature : char* VR_GetStringForHmdError(EVRInitError) */ + public static native Pointer VR_GetStringForHmdError(int error); + /** + * Original signature : intptr_t VR_GetGenericInterface(const char*, EVRInitError*)
+ * @deprecated use the safer methods {@link #VR_GetGenericInterface(java.lang.String, java.nio.IntBuffer)} and {@link #VR_GetGenericInterface(com.sun.jna.Pointer, com.sun.jna.ptr.IntByReference)} instead + */ + @Deprecated + public static native Pointer VR_GetGenericInterface(Pointer pchInterfaceVersion, IntByReference peError); + /** Original signature : intptr_t VR_GetGenericInterface(const char*, EVRInitError*) */ + public static native Pointer VR_GetGenericInterface(String pchInterfaceVersion, IntBuffer peError); + /** Original signature : bool VR_IsRuntimeInstalled() */ + public static native byte VR_IsRuntimeInstalled(); + public static native Pointer VR_GetVRInitErrorAsSymbol(int error); + /** Original signature : char* VR_GetVRInitErrorAsEnglishDescription(EVRInitError) */ + public static native Pointer VR_GetVRInitErrorAsEnglishDescription(int error); + public static class IVROverlay extends PointerType { + public IVROverlay(Pointer address) { + super(address); + } + public IVROverlay() { + super(); + } + }; + public static class IVRRenderModels extends PointerType { + public IVRRenderModels(Pointer address) { + super(address); + } + public IVRRenderModels() { + super(); + } + }; + public static class IVRSettings extends PointerType { + public IVRSettings(Pointer address) { + super(address); + } + public IVRSettings() { + super(); + } + }; + public static class IVRChaperone extends PointerType { + public IVRChaperone(Pointer address) { + super(address); + } + public IVRChaperone() { + super(); + } + }; + public static class IVRChaperoneSetup extends PointerType { + public IVRChaperoneSetup(Pointer address) { + super(address); + } + public IVRChaperoneSetup() { + super(); + } + }; + public static class VREvent_t extends PointerType { + public VREvent_t(Pointer address) { + super(address); + } + public VREvent_t() { + super(); + } + }; + public static class IVRApplications extends PointerType { + public IVRApplications(Pointer address) { + super(address); + } + public IVRApplications() { + super(); + } + }; + public static class IVRCompositor extends PointerType { + public IVRCompositor(Pointer address) { + super(address); + } + public IVRCompositor() { + super(); + } + }; + + public static class IVRSystem extends PointerType { + public IVRSystem(Pointer address) { + super(address); + } + public IVRSystem() { + super(); + } + }; + public static class IVRExtendedDisplay extends PointerType { + public IVRExtendedDisplay(Pointer address) { + super(address); + } + public IVRExtendedDisplay() { + super(); + } + }; + + public static String IVRSystem_Version = "IVRSystem_011"; + public static String IVRApplications_Version = "IVRApplications_004"; + public static String IVRExtendedDisplay_Version = "IVRExtendedDisplay_001"; + public static String IVRChaperone_Version = "IVRChaperone_003"; + public static String IVRChaperoneSetup_Version = "IVRChaperoneSetup_005"; + public static String IVRCompositor_Version = "IVRCompositor_012"; + public static String IVROverlay_Version = "IVROverlay_010"; + public static String IVRRenderModels_Version = "IVRRenderModels_004"; + public static String IVRControlPanel_Version = "IVRControlPanel_001"; + public static String IVRNotifications_Version = "IVRNotifications_002"; + public static String IVRSettings_Version = "IVRSettings_001"; + public static String IVRTrackedCamera_Version = "IVRTrackedCamera_001"; + + public static int k_unTrackingStringSize = 32; + public static int k_unMaxTrackedDeviceCount = 16; + public static int k_unTrackedDeviceIndex_Hmd = 0; + public static int k_unMaxDriverDebugResponseSize = 32768; + public static int k_unTrackedDeviceIndexInvalid = -1; //4294967295; + public static int k_unMaxPropertyStringSize = 32768; + public static int k_unControllerStateAxisCount = 5; + public static long k_ulOverlayHandleInvalid = 0; + public static int k_unMaxApplicationKeyLength = 128; + public static int k_unVROverlayMaxKeyLength = 128; + public static int k_unVROverlayMaxNameLength = 128; + public static int k_unMaxOverlayCount = 32; + public static int k_unNotificationTypeMaxSize = 16; + public static int k_unNotificationTextMaxSize = 128; + public static int k_unNotificationCatagoryMaxSize = 32; + +} diff --git a/src/jopenvr/NativeLong64.java b/src/jopenvr/NativeLong64.java new file mode 100644 index 00000000..8ab93368 --- /dev/null +++ b/src/jopenvr/NativeLong64.java @@ -0,0 +1,17 @@ +package jopenvr; + +import com.sun.jna.IntegerType; +import com.sun.jna.Native; + +public class NativeLong64 extends IntegerType +{ + public static final int SIZE = 8; + + public NativeLong64() { + this(0L); + } + + public NativeLong64(long value) { + super(SIZE, value); + } +} \ No newline at end of file diff --git a/src/jopenvr/NotificationBitmap_t.java b/src/jopenvr/NotificationBitmap_t.java new file mode 100644 index 00000000..18ec0498 --- /dev/null +++ b/src/jopenvr/NotificationBitmap_t.java @@ -0,0 +1,46 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class NotificationBitmap_t extends Structure { + /** + * void *
+ * C type : void* + */ + public Pointer bytes; + public int width; + public int height; + public int depth; + public NotificationBitmap_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("bytes", "width", "height", "depth"); + } + /** + * @param bytes void *
+ * C type : void* + */ + public NotificationBitmap_t(Pointer bytes, int width, int height, int depth) { + super(); + this.bytes = bytes; + this.width = width; + this.height = height; + this.depth = depth; + } + public NotificationBitmap_t(Pointer peer) { + super(peer); + } + public static class ByReference extends NotificationBitmap_t implements Structure.ByReference { + + }; + public static class ByValue extends NotificationBitmap_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/OpenVRUtil.java b/src/jopenvr/OpenVRUtil.java new file mode 100644 index 00000000..3172b57c --- /dev/null +++ b/src/jopenvr/OpenVRUtil.java @@ -0,0 +1,183 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package jopenvr; + +import de.fruitfly.ovr.structs.*; +import java.lang.reflect.Field; +import java.lang.reflect.Method; +import java.util.concurrent.TimeUnit; +import jopenvr.HmdMatrix34_t; +import jopenvr.HmdMatrix44_t; +import org.lwjgl.LWJGLUtil; +import org.lwjgl.opengl.Display; +import org.lwjgl.util.vector.Quaternion; + +/** + * + * @author reden + */ +public class OpenVRUtil { + + private static final long SLEEP_PRECISION = TimeUnit.MILLISECONDS.toNanos(4); + private static final long SPIN_YIELD_PRECISION = TimeUnit.MILLISECONDS.toNanos(2); + + public static void sleepNanos(long nanoDuration) { + final long end = System.nanoTime() + nanoDuration; + long timeLeft = nanoDuration; + do { + try { + if (timeLeft > SLEEP_PRECISION) { + Thread.sleep(1); + } else if (timeLeft > SPIN_YIELD_PRECISION) { + Thread.sleep(0); + } + } catch(Exception e) { } + timeLeft = end - System.nanoTime(); + } while (timeLeft > 0); + } + + // VIVE START + public static void Matrix4fSet(Matrix4f mat, float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44) + { + mat.M[0][0] = m11; + mat.M[0][1] = m12; + mat.M[0][2] = m13; + mat.M[0][3] = m14; + mat.M[1][0] = m21; + mat.M[1][1] = m22; + mat.M[1][2] = m23; + mat.M[1][3] = m24; + mat.M[2][0] = m31; + mat.M[2][1] = m32; + mat.M[2][2] = m33; + mat.M[2][3] = m34; + mat.M[3][0] = m41; + mat.M[3][1] = m42; + mat.M[3][2] = m43; + mat.M[3][3] = m44; + } + + public static void Matrix4fCopy(Matrix4f source, Matrix4f dest) + { + dest.M[0][0] = source.M[0][0]; + dest.M[0][1] = source.M[0][1]; + dest.M[0][2] = source.M[0][2]; + dest.M[0][3] = source.M[0][3]; + dest.M[1][0] = source.M[1][0]; + dest.M[1][1] = source.M[1][1]; + dest.M[1][2] = source.M[1][2]; + dest.M[1][3] = source.M[1][3]; + dest.M[2][0] = source.M[2][0]; + dest.M[2][1] = source.M[2][1]; + dest.M[2][2] = source.M[2][2]; + dest.M[2][3] = source.M[2][3]; + dest.M[3][0] = source.M[3][0]; + dest.M[3][1] = source.M[3][1]; + dest.M[3][2] = source.M[3][2]; + dest.M[3][3] = source.M[3][3]; + } + + public static void Matrix4fSetIdentity(Matrix4f mat) + { + mat.M[0][0] = mat.M[1][1] = mat.M[2][2] = mat.M[3][3] = 1.0F; + mat.M[0][1] = mat.M[1][0] = mat.M[2][3] = mat.M[3][1] = 0.0F; + mat.M[0][2] = mat.M[1][2] = mat.M[2][0] = mat.M[3][2] = 0.0F; + mat.M[0][3] = mat.M[1][3] = mat.M[2][1] = mat.M[3][0] = 0.0F; + } + + public static Matrix4f convertSteamVRMatrix3ToMatrix4f(HmdMatrix34_t hmdMatrix, Matrix4f mat){ + Matrix4fSet(mat, + hmdMatrix.m[0], hmdMatrix.m[1], hmdMatrix.m[2], hmdMatrix.m[3], + hmdMatrix.m[4], hmdMatrix.m[5], hmdMatrix.m[6], hmdMatrix.m[7], + hmdMatrix.m[8], hmdMatrix.m[9], hmdMatrix.m[10], hmdMatrix.m[11], + 0f, 0f, 0f, 1f + ); + return mat; + } + + public static Matrix4f convertSteamVRMatrix4ToMatrix4f(HmdMatrix44_t hmdMatrix, Matrix4f mat) + { + Matrix4fSet(mat, hmdMatrix.m[0], hmdMatrix.m[1], hmdMatrix.m[2], hmdMatrix.m[3], + hmdMatrix.m[4], hmdMatrix.m[5], hmdMatrix.m[6], hmdMatrix.m[7], + hmdMatrix.m[8], hmdMatrix.m[9], hmdMatrix.m[10], hmdMatrix.m[11], + hmdMatrix.m[12], hmdMatrix.m[13], hmdMatrix.m[14], hmdMatrix.m[15]); + return mat; + } + + public static Vector3f convertMatrix4ftoTranslationVector(Matrix4f mat) { + return new Vector3f(mat.M[0][3], mat.M[1][3], mat.M[2][3]); + } + + public static Quatf convertMatrix4ftoRotationQuat(Matrix4f mat) { + return JMonkeyHelpers.convertMatrix4ftoRotationQuat( + mat.M[0][0],mat.M[0][1],mat.M[0][2], + mat.M[1][0],mat.M[1][1],mat.M[1][2], + mat.M[2][0],mat.M[2][1],mat.M[2][2]); + } + + public static Matrix4f rotationXMatrix(float angle) { + float sina = (float) Math.sin((double)angle); + float cosa = (float) Math.cos((double)angle); + return new Matrix4f(1.0F, 0.0F, 0.0F, + 0.0F, cosa, -sina, + 0.0F, sina, cosa); + } + + public static Matrix4f rotationZMatrix(float angle) { + float sina = (float) Math.sin((double)angle); + float cosa = (float) Math.cos((double)angle); + return new Matrix4f(cosa, -sina, 0.0F, + sina, cosa, 0.0f, + 0.0F, 0.0f, 1.0f); + } + + public static EulerOrient getEulerAnglesDegYXZ(Quatf q) { + EulerOrient eulerAngles = new EulerOrient(); + + eulerAngles.yaw = -(float)Math.toDegrees(Math.atan2( 2*(q.x*q.z + q.w*q.y), q.w*q.w - q.x*q.x - q.y*q.y + q.z*q.z )); + eulerAngles.pitch = -(float)Math.toDegrees(Math.asin ( -2*(q.y*q.z - q.w*q.x) )); + eulerAngles.roll = -(float)Math.toDegrees(Math.atan2( 2*(q.x*q.y + q.w*q.z), q.w*q.w - q.x*q.x + q.y*q.y - q.z*q.z )); + + return eulerAngles; + } + // VIVE END + + public static long getNativeWindow() { + long window = -1; + try { + Object displayImpl = null; + Method[] displayMethods = Display.class.getDeclaredMethods(); + for (Method m : displayMethods) { + if (m.getName().equals("getImplementation")) { + m.setAccessible(true); + displayImpl = m.invoke(null, (Object[]) null); + break; + } + } + String fieldName = null; + switch (LWJGLUtil.getPlatform()) { + case LWJGLUtil.PLATFORM_LINUX: + fieldName = "current_window"; + break; + case LWJGLUtil.PLATFORM_WINDOWS: + fieldName = "hwnd"; + break; + } + if (null != fieldName) { + Field[] windowsDisplayFields = displayImpl.getClass().getDeclaredFields(); + for (Field f : windowsDisplayFields) { + if (f.getName().equals(fieldName)) { + f.setAccessible(true); + window = (Long) f.get(displayImpl); + continue; + } + } + } + } catch (Exception e) { + throw new IllegalStateException(e); + } + return window; + } +} diff --git a/src/jopenvr/RenderModel_ComponentState_t.java b/src/jopenvr/RenderModel_ComponentState_t.java new file mode 100644 index 00000000..950f744d --- /dev/null +++ b/src/jopenvr/RenderModel_ComponentState_t.java @@ -0,0 +1,44 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class RenderModel_ComponentState_t extends Structure { + /** C type : HmdMatrix34_t */ + public HmdMatrix34_t mTrackingToComponentRenderModel; + /** C type : HmdMatrix34_t */ + public HmdMatrix34_t mTrackingToComponentLocal; + /** C type : VRComponentProperties */ + public int uProperties; + public RenderModel_ComponentState_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("mTrackingToComponentRenderModel", "mTrackingToComponentLocal", "uProperties"); + } + /** + * @param mTrackingToComponentRenderModel C type : HmdMatrix34_t
+ * @param mTrackingToComponentLocal C type : HmdMatrix34_t
+ * @param uProperties C type : VRComponentProperties + */ + public RenderModel_ComponentState_t(HmdMatrix34_t mTrackingToComponentRenderModel, HmdMatrix34_t mTrackingToComponentLocal, int uProperties) { + super(); + this.mTrackingToComponentRenderModel = mTrackingToComponentRenderModel; + this.mTrackingToComponentLocal = mTrackingToComponentLocal; + this.uProperties = uProperties; + } + public RenderModel_ComponentState_t(Pointer peer) { + super(peer); + } + public static class ByReference extends RenderModel_ComponentState_t implements Structure.ByReference { + + }; + public static class ByValue extends RenderModel_ComponentState_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/RenderModel_ControllerMode_State_t.java b/src/jopenvr/RenderModel_ControllerMode_State_t.java new file mode 100644 index 00000000..15694e30 --- /dev/null +++ b/src/jopenvr/RenderModel_ControllerMode_State_t.java @@ -0,0 +1,32 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class RenderModel_ControllerMode_State_t extends Structure { + public byte bScrollWheelVisible; + public RenderModel_ControllerMode_State_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("bScrollWheelVisible"); + } + public RenderModel_ControllerMode_State_t(byte bScrollWheelVisible) { + super(); + this.bScrollWheelVisible = bScrollWheelVisible; + } + public RenderModel_ControllerMode_State_t(Pointer peer) { + super(peer); + } + public static class ByReference extends RenderModel_ControllerMode_State_t implements Structure.ByReference { + + }; + public static class ByValue extends RenderModel_ControllerMode_State_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/RenderModel_TextureMap_t.java b/src/jopenvr/RenderModel_TextureMap_t.java new file mode 100644 index 00000000..c8b12d60 --- /dev/null +++ b/src/jopenvr/RenderModel_TextureMap_t.java @@ -0,0 +1,44 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class RenderModel_TextureMap_t extends Structure { + public short unWidth; + public short unHeight; + /** + * const uint8_t *
+ * C type : uint8_t* + */ + public Pointer rubTextureMapData; + public RenderModel_TextureMap_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("unWidth", "unHeight", "rubTextureMapData"); + } + /** + * @param rubTextureMapData const uint8_t *
+ * C type : uint8_t* + */ + public RenderModel_TextureMap_t(short unWidth, short unHeight, Pointer rubTextureMapData) { + super(); + this.unWidth = unWidth; + this.unHeight = unHeight; + this.rubTextureMapData = rubTextureMapData; + } + public RenderModel_TextureMap_t(Pointer peer) { + super(peer); + } + public static class ByReference extends RenderModel_TextureMap_t implements Structure.ByReference { + + }; + public static class ByValue extends RenderModel_TextureMap_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/RenderModel_Vertex_t.java b/src/jopenvr/RenderModel_Vertex_t.java new file mode 100644 index 00000000..77a3338b --- /dev/null +++ b/src/jopenvr/RenderModel_Vertex_t.java @@ -0,0 +1,50 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class RenderModel_Vertex_t extends Structure { + /** C type : HmdVector3_t */ + public HmdVector3_t vPosition; + /** C type : HmdVector3_t */ + public HmdVector3_t vNormal; + /** + * float[2]
+ * C type : float[2] + */ + public float[] rfTextureCoord = new float[2]; + public RenderModel_Vertex_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("vPosition", "vNormal", "rfTextureCoord"); + } + /** + * @param vPosition C type : HmdVector3_t
+ * @param vNormal C type : HmdVector3_t
+ * @param rfTextureCoord float[2]
+ * C type : float[2] + */ + public RenderModel_Vertex_t(HmdVector3_t vPosition, HmdVector3_t vNormal, float rfTextureCoord[]) { + super(); + this.vPosition = vPosition; + this.vNormal = vNormal; + if ((rfTextureCoord.length != this.rfTextureCoord.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.rfTextureCoord = rfTextureCoord; + } + public RenderModel_Vertex_t(Pointer peer) { + super(peer); + } + public static class ByReference extends RenderModel_Vertex_t implements Structure.ByReference { + + }; + public static class ByValue extends RenderModel_Vertex_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/RenderModel_t.java b/src/jopenvr/RenderModel_t.java new file mode 100644 index 00000000..69aa04a5 --- /dev/null +++ b/src/jopenvr/RenderModel_t.java @@ -0,0 +1,57 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import com.sun.jna.ptr.ShortByReference; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class RenderModel_t extends Structure { + /** + * const struct vr::RenderModel_Vertex_t *
+ * C type : RenderModel_Vertex_t* + */ + public jopenvr.RenderModel_Vertex_t.ByReference rVertexData; + public int unVertexCount; + /** + * const uint16_t *
+ * C type : uint16_t* + */ + public ShortByReference rIndexData; + public int unTriangleCount; + /** C type : TextureID_t */ + public int diffuseTextureId; + public RenderModel_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("rVertexData", "unVertexCount", "rIndexData", "unTriangleCount", "diffuseTextureId"); + } + /** + * @param rVertexData const struct vr::RenderModel_Vertex_t *
+ * C type : RenderModel_Vertex_t*
+ * @param rIndexData const uint16_t *
+ * C type : uint16_t*
+ * @param diffuseTextureId C type : TextureID_t + */ + public RenderModel_t(jopenvr.RenderModel_Vertex_t.ByReference rVertexData, int unVertexCount, ShortByReference rIndexData, int unTriangleCount, int diffuseTextureId) { + super(); + this.rVertexData = rVertexData; + this.unVertexCount = unVertexCount; + this.rIndexData = rIndexData; + this.unTriangleCount = unTriangleCount; + this.diffuseTextureId = diffuseTextureId; + } + public RenderModel_t(Pointer peer) { + super(peer); + } + public static class ByReference extends RenderModel_t implements Structure.ByReference { + + }; + public static class ByValue extends RenderModel_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/Texture_t.java b/src/jopenvr/Texture_t.java new file mode 100644 index 00000000..7d0c0fb1 --- /dev/null +++ b/src/jopenvr/Texture_t.java @@ -0,0 +1,56 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class Texture_t extends Structure { + /** + * void *
+ * C type : void* + */ + public int handle; + /** + * @see EGraphicsAPIConvention
+ * C type : EGraphicsAPIConvention + */ + public int eType; + /** + * @see EColorSpace
+ * C type : EColorSpace + */ + public int eColorSpace; + public Texture_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("handle", "eType", "eColorSpace"); + } + /** + * @param handle void *
+ * C type : void*
+ * @param eType @see EGraphicsAPIConvention
+ * C type : EGraphicsAPIConvention
+ * @param eColorSpace @see EColorSpace
+ * C type : EColorSpace + */ + public Texture_t(int handle, int eType, int eColorSpace) { + super(); + this.handle = handle; + this.eType = eType; + this.eColorSpace = eColorSpace; + } + public Texture_t(Pointer peer) { + super(peer); + } + public static class ByReference extends Texture_t implements Structure.ByReference { + + }; + public static class ByValue extends Texture_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/TrackedDevicePose_t.java b/src/jopenvr/TrackedDevicePose_t.java new file mode 100644 index 00000000..c329361f --- /dev/null +++ b/src/jopenvr/TrackedDevicePose_t.java @@ -0,0 +1,56 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class TrackedDevicePose_t extends Structure { + /** C type : HmdMatrix34_t */ + public HmdMatrix34_t mDeviceToAbsoluteTracking; + /** C type : HmdVector3_t */ + public HmdVector3_t vVelocity; + /** C type : HmdVector3_t */ + public HmdVector3_t vAngularVelocity; + /** + * @see ETrackingResult
+ * C type : ETrackingResult + */ + public int eTrackingResult; + public byte bPoseIsValid; + public byte bDeviceIsConnected; + public TrackedDevicePose_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("mDeviceToAbsoluteTracking", "vVelocity", "vAngularVelocity", "eTrackingResult", "bPoseIsValid", "bDeviceIsConnected"); + } + /** + * @param mDeviceToAbsoluteTracking C type : HmdMatrix34_t
+ * @param vVelocity C type : HmdVector3_t
+ * @param vAngularVelocity C type : HmdVector3_t
+ * @param eTrackingResult @see ETrackingResult
+ * C type : ETrackingResult + */ + public TrackedDevicePose_t(HmdMatrix34_t mDeviceToAbsoluteTracking, HmdVector3_t vVelocity, HmdVector3_t vAngularVelocity, int eTrackingResult, byte bPoseIsValid, byte bDeviceIsConnected) { + super(); + this.mDeviceToAbsoluteTracking = mDeviceToAbsoluteTracking; + this.vVelocity = vVelocity; + this.vAngularVelocity = vAngularVelocity; + this.eTrackingResult = eTrackingResult; + this.bPoseIsValid = bPoseIsValid; + this.bDeviceIsConnected = bDeviceIsConnected; + } + public TrackedDevicePose_t(Pointer peer) { + super(peer); + } + public static class ByReference extends TrackedDevicePose_t implements Structure.ByReference { + + }; + public static class ByValue extends TrackedDevicePose_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VRControllerAxis_t.java b/src/jopenvr/VRControllerAxis_t.java new file mode 100644 index 00000000..ff7113e1 --- /dev/null +++ b/src/jopenvr/VRControllerAxis_t.java @@ -0,0 +1,34 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VRControllerAxis_t extends Structure { + public float x; + public float y; + public VRControllerAxis_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("x", "y"); + } + public VRControllerAxis_t(float x, float y) { + super(); + this.x = x; + this.y = y; + } + public VRControllerAxis_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VRControllerAxis_t implements Structure.ByReference { + + }; + public static class ByValue extends VRControllerAxis_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VRControllerState_t.java b/src/jopenvr/VRControllerState_t.java new file mode 100644 index 00000000..357ad2b7 --- /dev/null +++ b/src/jopenvr/VRControllerState_t.java @@ -0,0 +1,48 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VRControllerState_t extends Structure { + public int unPacketNum; + public NativeLong64 ulButtonPressed; + public NativeLong64 ulButtonTouched; + /** + * struct vr::VRControllerAxis_t[5]
+ * C type : VRControllerAxis_t[5] + */ + public VRControllerAxis_t[] rAxis = new VRControllerAxis_t[5]; + public VRControllerState_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("unPacketNum", "ulButtonPressed", "ulButtonTouched", "rAxis"); + } + /** + * @param rAxis struct vr::VRControllerAxis_t[5]
+ * C type : VRControllerAxis_t[5] + */ + public VRControllerState_t(int unPacketNum, NativeLong64 ulButtonPressed, NativeLong64 ulButtonTouched, VRControllerAxis_t rAxis[]) { + super(); + this.unPacketNum = unPacketNum; + this.ulButtonPressed = ulButtonPressed; + this.ulButtonTouched = ulButtonTouched; + if ((rAxis.length != this.rAxis.length)) + throw new IllegalArgumentException("Wrong array size !"); + this.rAxis = rAxis; + } + public VRControllerState_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VRControllerState_t implements Structure.ByReference { + + }; + public static class ByValue extends VRControllerState_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VREvent_Controller_t.java b/src/jopenvr/VREvent_Controller_t.java new file mode 100644 index 00000000..32a2232a --- /dev/null +++ b/src/jopenvr/VREvent_Controller_t.java @@ -0,0 +1,32 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VREvent_Controller_t extends Structure { + public int button; + public VREvent_Controller_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("button"); + } + public VREvent_Controller_t(int button) { + super(); + this.button = button; + } + public VREvent_Controller_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VREvent_Controller_t implements Structure.ByReference { + + }; + public static class ByValue extends VREvent_Controller_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VREvent_Data_t.java b/src/jopenvr/VREvent_Data_t.java new file mode 100644 index 00000000..daa4b5e3 --- /dev/null +++ b/src/jopenvr/VREvent_Data_t.java @@ -0,0 +1,54 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Union; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VREvent_Data_t extends Union { + /** C type : VREvent_Reserved_t */ + public VREvent_Reserved_t reserved; + /** C type : VREvent_Controller_t */ + public VREvent_Controller_t controller; + /** C type : VREvent_Mouse_t */ + public VREvent_Mouse_t mouse; + /** C type : VREvent_Process_t */ + public VREvent_Process_t process; + public VREvent_Data_t() { + super(); + } + /** @param reserved C type : VREvent_Reserved_t */ + public VREvent_Data_t(VREvent_Reserved_t reserved) { + super(); + this.reserved = reserved; + setType(VREvent_Reserved_t.class); + } + /** @param controller C type : VREvent_Controller_t */ + public VREvent_Data_t(VREvent_Controller_t controller) { + super(); + this.controller = controller; + setType(VREvent_Controller_t.class); + } + /** @param mouse C type : VREvent_Mouse_t */ + public VREvent_Data_t(VREvent_Mouse_t mouse) { + super(); + this.mouse = mouse; + setType(VREvent_Mouse_t.class); + } + /** @param process C type : VREvent_Process_t */ + public VREvent_Data_t(VREvent_Process_t process) { + super(); + this.process = process; + setType(VREvent_Process_t.class); + } + public VREvent_Data_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VREvent_Data_t implements com.sun.jna.Structure.ByReference { + + }; + public static class ByValue extends VREvent_Data_t implements com.sun.jna.Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VREvent_Mouse_t.java b/src/jopenvr/VREvent_Mouse_t.java new file mode 100644 index 00000000..28917aba --- /dev/null +++ b/src/jopenvr/VREvent_Mouse_t.java @@ -0,0 +1,36 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VREvent_Mouse_t extends Structure { + public float x; + public float y; + public int button; + public VREvent_Mouse_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("x", "y", "button"); + } + public VREvent_Mouse_t(float x, float y, int button) { + super(); + this.x = x; + this.y = y; + this.button = button; + } + public VREvent_Mouse_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VREvent_Mouse_t implements Structure.ByReference { + + }; + public static class ByValue extends VREvent_Mouse_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VREvent_Process_t.java b/src/jopenvr/VREvent_Process_t.java new file mode 100644 index 00000000..bd9f32b1 --- /dev/null +++ b/src/jopenvr/VREvent_Process_t.java @@ -0,0 +1,34 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VREvent_Process_t extends Structure { + public int pid; + public int oldPid; + public VREvent_Process_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("pid", "oldPid"); + } + public VREvent_Process_t(int pid, int oldPid) { + super(); + this.pid = pid; + this.oldPid = oldPid; + } + public VREvent_Process_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VREvent_Process_t implements Structure.ByReference { + + }; + public static class ByValue extends VREvent_Process_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VREvent_Reserved_t.java b/src/jopenvr/VREvent_Reserved_t.java new file mode 100644 index 00000000..28f2461a --- /dev/null +++ b/src/jopenvr/VREvent_Reserved_t.java @@ -0,0 +1,35 @@ +package jopenvr; +import com.sun.jna.NativeLong; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VREvent_Reserved_t extends Structure { + public NativeLong reserved0; + public NativeLong reserved1; + public VREvent_Reserved_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("reserved0", "reserved1"); + } + public VREvent_Reserved_t(NativeLong reserved0, NativeLong reserved1) { + super(); + this.reserved0 = reserved0; + this.reserved1 = reserved1; + } + public VREvent_Reserved_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VREvent_Reserved_t implements Structure.ByReference { + + }; + public static class ByValue extends VREvent_Reserved_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VROverlayIntersectionParams_t.java b/src/jopenvr/VROverlayIntersectionParams_t.java new file mode 100644 index 00000000..2030278a --- /dev/null +++ b/src/jopenvr/VROverlayIntersectionParams_t.java @@ -0,0 +1,48 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VROverlayIntersectionParams_t extends Structure { + /** C type : HmdVector3_t */ + public HmdVector3_t vSource; + /** C type : HmdVector3_t */ + public HmdVector3_t vDirection; + /** + * @see ETrackingUniverseOrigin
+ * C type : ETrackingUniverseOrigin + */ + public int eOrigin; + public VROverlayIntersectionParams_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("vSource", "vDirection", "eOrigin"); + } + /** + * @param vSource C type : HmdVector3_t
+ * @param vDirection C type : HmdVector3_t
+ * @param eOrigin @see ETrackingUniverseOrigin
+ * C type : ETrackingUniverseOrigin + */ + public VROverlayIntersectionParams_t(HmdVector3_t vSource, HmdVector3_t vDirection, int eOrigin) { + super(); + this.vSource = vSource; + this.vDirection = vDirection; + this.eOrigin = eOrigin; + } + public VROverlayIntersectionParams_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VROverlayIntersectionParams_t implements Structure.ByReference { + + }; + public static class ByValue extends VROverlayIntersectionParams_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VROverlayIntersectionResults_t.java b/src/jopenvr/VROverlayIntersectionResults_t.java new file mode 100644 index 00000000..b7f1c68f --- /dev/null +++ b/src/jopenvr/VROverlayIntersectionResults_t.java @@ -0,0 +1,46 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VROverlayIntersectionResults_t extends Structure { + /** C type : HmdVector3_t */ + public HmdVector3_t vPoint; + /** C type : HmdVector3_t */ + public HmdVector3_t vNormal; + /** C type : HmdVector2_t */ + public HmdVector2_t vUVs; + public float fDistance; + public VROverlayIntersectionResults_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("vPoint", "vNormal", "vUVs", "fDistance"); + } + /** + * @param vPoint C type : HmdVector3_t
+ * @param vNormal C type : HmdVector3_t
+ * @param vUVs C type : HmdVector2_t + */ + public VROverlayIntersectionResults_t(HmdVector3_t vPoint, HmdVector3_t vNormal, HmdVector2_t vUVs, float fDistance) { + super(); + this.vPoint = vPoint; + this.vNormal = vNormal; + this.vUVs = vUVs; + this.fDistance = fDistance; + } + public VROverlayIntersectionResults_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VROverlayIntersectionResults_t implements Structure.ByReference { + + }; + public static class ByValue extends VROverlayIntersectionResults_t implements Structure.ByValue { + + }; +} diff --git a/src/jopenvr/VRTextureBounds_t.java b/src/jopenvr/VRTextureBounds_t.java new file mode 100644 index 00000000..4fe88299 --- /dev/null +++ b/src/jopenvr/VRTextureBounds_t.java @@ -0,0 +1,38 @@ +package jopenvr; +import com.sun.jna.Pointer; +import com.sun.jna.Structure; +import java.util.Arrays; +import java.util.List; +/** + * This file was autogenerated by JNAerator,
+ * a tool written by Olivier Chafik that uses a few opensource projects..
+ * For help, please visit NativeLibs4Java , Rococoa, or JNA. + */ +public class VRTextureBounds_t extends Structure { + public float uMin; + public float vMin; + public float uMax; + public float vMax; + public VRTextureBounds_t() { + super(); + } + protected List getFieldOrder() { + return Arrays.asList("uMin", "vMin", "uMax", "vMax"); + } + public VRTextureBounds_t(float uMin, float vMin, float uMax, float vMax) { + super(); + this.uMin = uMin; + this.vMin = vMin; + this.uMax = uMax; + this.vMax = vMax; + } + public VRTextureBounds_t(Pointer peer) { + super(peer); + } + public static class ByReference extends VRTextureBounds_t implements Structure.ByReference { + + }; + public static class ByValue extends VRTextureBounds_t implements Structure.ByValue { + + }; +}