Skip to content

Commit

Permalink
vrclient: Support v1.14.15
Browse files Browse the repository at this point in the history
  • Loading branch information
aeikum committed Oct 13, 2020
1 parent a0925a9 commit c27354d
Show file tree
Hide file tree
Showing 35 changed files with 6,059 additions and 106 deletions.
1 change: 1 addition & 0 deletions vrclient_x64/gen_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import re

sdk_versions = [
"v1.14.15",
"v1.13.10",
"v1.12.5",
"v1.11.11",
Expand Down
35 changes: 35 additions & 0 deletions vrclient_x64/openvr_v1.14.15/ivrclientcore.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//========= Copyright Valve Corporation ============//
#include "openvr.h"

namespace vr
{

class IVRClientCore
{
public:
/** Initializes the system */
virtual EVRInitError Init( vr::EVRApplicationType eApplicationType, const char *pStartupInfo ) = 0;

/** cleans up everything in vrclient.dll and prepares the DLL to be unloaded */
virtual void Cleanup() = 0;

/** checks to see if the specified interface/version is supported in this vrclient.dll */
virtual EVRInitError IsInterfaceVersionValid( const char *pchInterfaceVersion ) = 0;

/** Retrieves any interface from vrclient.dll */
virtual void *GetGenericInterface( const char *pchNameAndVersion, EVRInitError *peError ) = 0;

/** Returns true if any driver has an HMD attached. Can be called outside of Init/Cleanup */
virtual bool BIsHmdPresent() = 0;

/** Returns an English error string from inside vrclient.dll which might be newer than the API DLL */
virtual const char *GetEnglishStringForHmdError( vr::EVRInitError eError ) = 0;

/** Returns an error symbol from inside vrclient.dll which might be newer than the API DLL */
virtual const char *GetIDForVRInitError( vr::EVRInitError eError ) = 0;
};

static const char * const IVRClientCore_Version = "IVRClientCore_003";


}
Loading

0 comments on commit c27354d

Please sign in to comment.