mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-26 09:14:37 +01:00
vrclient: Import openvr v1.0.13, v1.0.14, and v1.0.15
This commit is contained in:
parent
d472d536cf
commit
af59703d41
35 changed files with 12784 additions and 54 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#include "vrclient_private.h"
|
||||
#include "vrclient_defs.h"
|
||||
#include "openvr_v1.0.12/ivrclientcore.h"
|
||||
#include "openvr_v1.0.15/ivrclientcore.h"
|
||||
using namespace vr;
|
||||
extern "C" {
|
||||
#include "struct_converters.h"
|
||||
|
|
@ -19,6 +19,11 @@ uint32_t cppIVRDriverManager_IVRDriverManager_001_GetDriverName(void *linux_side
|
|||
return ((IVRDriverManager*)linux_side)->GetDriverName((vr::DriverId_t)nDriver, (char *)pchValue, (uint32_t)unBufferSize);
|
||||
}
|
||||
|
||||
vr::DriverHandle_t cppIVRDriverManager_IVRDriverManager_001_GetDriverHandle(void *linux_side, const char * pchDriverName)
|
||||
{
|
||||
return ((IVRDriverManager*)linux_side)->GetDriverHandle((const char *)pchDriverName);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue