-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Paul Gofman
committed
Jan 3, 2025
1 parent
403e833
commit 394ea48
Showing
9 changed files
with
6,200 additions
and
7 deletions.
There are no files selected for viewing
Submodule openvr
updated
30 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
import re | ||
|
||
SDK_VERSIONS = [ | ||
"v2.5.1", | ||
"v2.2.3", | ||
"v2.0.10", | ||
"v1.26.7", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
|
||
|
||
} |
Oops, something went wrong.