vrclient: Generate v1.11.11 support

This commit is contained in:
Andrew Eikum
2020-09-29 14:29:06 -05:00
parent 656181d744
commit f348b4e6ab
39 changed files with 603 additions and 236 deletions
+2 -1
View File
@@ -5,7 +5,7 @@
from __future__ import print_function
CLANG_PATH='/usr/lib/clang/9.0.1'
CLANG_PATH='/usr/lib/clang/10.0.1'
import pprint
import sys
@@ -14,6 +14,7 @@ import os
import re
sdk_versions = [
"v1.11.11",
"v1.10.30",
"v1.9.16",
"v1.8.19",
+48 -48
View File
@@ -2785,6 +2785,54 @@ bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffe
return 0;
}
EVRInitError __thiscall IVRClientCore_003_Init(void *_this, EVRApplicationType eApplicationType, const char * pStartupInfo)
{
push_ptr_parameter(_this);
push_uint32_parameter(eApplicationType);
push_ptr_parameter(pStartupInfo);
return 0;
}
void __thiscall IVRClientCore_003_Cleanup(void *_this)
{
push_ptr_parameter(_this);
}
EVRInitError __thiscall IVRClientCore_003_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion)
{
push_ptr_parameter(_this);
push_ptr_parameter(pchInterfaceVersion);
return 0;
}
void * __thiscall IVRClientCore_003_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError)
{
push_ptr_parameter(_this);
push_ptr_parameter(pchNameAndVersion);
push_ptr_parameter(peError);
return 0;
}
bool __thiscall IVRClientCore_003_BIsHmdPresent(void *_this)
{
push_ptr_parameter(_this);
return 0;
}
const char * __thiscall IVRClientCore_003_GetEnglishStringForHmdError(void *_this, EVRInitError eError)
{
push_ptr_parameter(_this);
push_uint32_parameter(eError);
return 0;
}
const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRInitError eError)
{
push_ptr_parameter(_this);
push_uint32_parameter(eError);
return 0;
}
uint32_t __thiscall IVRControlPanel_006_undoc1(void *_this)
{
push_ptr_parameter(_this);
@@ -3010,54 +3058,6 @@ vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b,
return 0;
}
EVRInitError __thiscall IVRClientCore_003_Init(void *_this, EVRApplicationType eApplicationType, const char * pStartupInfo)
{
push_ptr_parameter(_this);
push_uint32_parameter(eApplicationType);
push_ptr_parameter(pStartupInfo);
return 0;
}
void __thiscall IVRClientCore_003_Cleanup(void *_this)
{
push_ptr_parameter(_this);
}
EVRInitError __thiscall IVRClientCore_003_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion)
{
push_ptr_parameter(_this);
push_ptr_parameter(pchInterfaceVersion);
return 0;
}
void * __thiscall IVRClientCore_003_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError)
{
push_ptr_parameter(_this);
push_ptr_parameter(pchNameAndVersion);
push_ptr_parameter(peError);
return 0;
}
bool __thiscall IVRClientCore_003_BIsHmdPresent(void *_this)
{
push_ptr_parameter(_this);
return 0;
}
const char * __thiscall IVRClientCore_003_GetEnglishStringForHmdError(void *_this, EVRInitError eError)
{
push_ptr_parameter(_this);
push_uint32_parameter(eError);
return 0;
}
const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRInitError eError)
{
push_ptr_parameter(_this);
push_uint32_parameter(eError);
return 0;
}
void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin)
{
push_ptr_parameter(_this);
+16 -16
View File
@@ -741,6 +741,22 @@ PropertyContainerHandle_t __thiscall IVRIOBuffer_002_PropertyContainer(void *_th
bool __thiscall IVRIOBuffer_002_HasReaders(void *_this, IOBufferHandle_t ulBuffer);
void test_capi_thunks_IVRClientCore_003(void);
EVRInitError __thiscall IVRClientCore_003_Init(void *_this, EVRApplicationType eApplicationType, const char * pStartupInfo);
void __thiscall IVRClientCore_003_Cleanup(void *_this);
EVRInitError __thiscall IVRClientCore_003_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion);
void * __thiscall IVRClientCore_003_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError);
bool __thiscall IVRClientCore_003_BIsHmdPresent(void *_this);
const char * __thiscall IVRClientCore_003_GetEnglishStringForHmdError(void *_this, EVRInitError eError);
const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRInitError eError);
void test_capi_thunks_IVRControlPanel_006(void);
uint32_t __thiscall IVRControlPanel_006_undoc1(void *_this);
@@ -809,22 +825,6 @@ vrmb_typeb __thiscall IVRMailbox_001_undoc3(void *_this, vrmb_typea a, const cha
vrmb_typeb __thiscall IVRMailbox_001_undoc4(void *_this, vrmb_typea a, char * b, uint32_t c, uint32_t * d);
void test_capi_thunks_IVRClientCore_003(void);
EVRInitError __thiscall IVRClientCore_003_Init(void *_this, EVRApplicationType eApplicationType, const char * pStartupInfo);
void __thiscall IVRClientCore_003_Cleanup(void *_this);
EVRInitError __thiscall IVRClientCore_003_IsInterfaceVersionValid(void *_this, const char * pchInterfaceVersion);
void * __thiscall IVRClientCore_003_GetGenericInterface(void *_this, const char * pchNameAndVersion, EVRInitError * peError);
bool __thiscall IVRClientCore_003_BIsHmdPresent(void *_this);
const char * __thiscall IVRClientCore_003_GetEnglishStringForHmdError(void *_this, EVRInitError eError);
const char * __thiscall IVRClientCore_003_GetIDForVRInitError(void *_this, EVRInitError eError);
void test_capi_thunks_IVRCompositor_024(void);
void __thiscall IVRCompositor_024_SetTrackingSpace(void *_this, ETrackingUniverseOrigin eOrigin);
+62 -62
View File
@@ -3310,6 +3310,68 @@ void test_capi_thunks_IVRIOBuffer_002(void)
VirtualFree(t, 0, MEM_RELEASE);
}
void test_capi_thunks_IVRClientCore_003(void)
{
struct thunk *t = alloc_thunks(1);
init_thunk(t, this_ptr_value, IVRClientCore_003_Init, 2, FALSE, FALSE);
EVRInitError (__stdcall *capi_IVRClientCore_003_Init)(EVRApplicationType eApplicationType, const char * pStartupInfo) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_Init(1, (void *)2);
check_ptr_parameter("IVRClientCore_003_Init", this_ptr_value);
check_uint32_parameter("IVRClientCore_003_Init", 1);
check_ptr_parameter("IVRClientCore_003_Init", (void *)2);
init_thunk(t, this_ptr_value, IVRClientCore_003_Cleanup, 0, FALSE, FALSE);
void (__stdcall *capi_IVRClientCore_003_Cleanup)() = (void *)t;
clear_parameters();
capi_IVRClientCore_003_Cleanup();
check_ptr_parameter("IVRClientCore_003_Cleanup", this_ptr_value);
init_thunk(t, this_ptr_value, IVRClientCore_003_IsInterfaceVersionValid, 1, FALSE, FALSE);
EVRInitError (__stdcall *capi_IVRClientCore_003_IsInterfaceVersionValid)(const char * pchInterfaceVersion) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_IsInterfaceVersionValid((void *)1);
check_ptr_parameter("IVRClientCore_003_IsInterfaceVersionValid", this_ptr_value);
check_ptr_parameter("IVRClientCore_003_IsInterfaceVersionValid", (void *)1);
init_thunk(t, this_ptr_value, IVRClientCore_003_GetGenericInterface, 2, FALSE, FALSE);
void * (__stdcall *capi_IVRClientCore_003_GetGenericInterface)(const char * pchNameAndVersion, EVRInitError * peError) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_GetGenericInterface((void *)1, (void *)2);
check_ptr_parameter("IVRClientCore_003_GetGenericInterface", this_ptr_value);
check_ptr_parameter("IVRClientCore_003_GetGenericInterface", (void *)1);
check_ptr_parameter("IVRClientCore_003_GetGenericInterface", (void *)2);
init_thunk(t, this_ptr_value, IVRClientCore_003_BIsHmdPresent, 0, FALSE, FALSE);
bool (__stdcall *capi_IVRClientCore_003_BIsHmdPresent)() = (void *)t;
clear_parameters();
capi_IVRClientCore_003_BIsHmdPresent();
check_ptr_parameter("IVRClientCore_003_BIsHmdPresent", this_ptr_value);
init_thunk(t, this_ptr_value, IVRClientCore_003_GetEnglishStringForHmdError, 1, FALSE, FALSE);
const char * (__stdcall *capi_IVRClientCore_003_GetEnglishStringForHmdError)(EVRInitError eError) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_GetEnglishStringForHmdError(1);
check_ptr_parameter("IVRClientCore_003_GetEnglishStringForHmdError", this_ptr_value);
check_uint32_parameter("IVRClientCore_003_GetEnglishStringForHmdError", 1);
init_thunk(t, this_ptr_value, IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE);
const char * (__stdcall *capi_IVRClientCore_003_GetIDForVRInitError)(EVRInitError eError) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_GetIDForVRInitError(1);
check_ptr_parameter("IVRClientCore_003_GetIDForVRInitError", this_ptr_value);
check_uint32_parameter("IVRClientCore_003_GetIDForVRInitError", 1);
VirtualFree(t, 0, MEM_RELEASE);
}
void test_capi_thunks_IVRControlPanel_006(void)
{
struct thunk *t = alloc_thunks(1);
@@ -3588,68 +3650,6 @@ void test_capi_thunks_IVRMailbox_001(void)
VirtualFree(t, 0, MEM_RELEASE);
}
void test_capi_thunks_IVRClientCore_003(void)
{
struct thunk *t = alloc_thunks(1);
init_thunk(t, this_ptr_value, IVRClientCore_003_Init, 2, FALSE, FALSE);
EVRInitError (__stdcall *capi_IVRClientCore_003_Init)(EVRApplicationType eApplicationType, const char * pStartupInfo) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_Init(1, (void *)2);
check_ptr_parameter("IVRClientCore_003_Init", this_ptr_value);
check_uint32_parameter("IVRClientCore_003_Init", 1);
check_ptr_parameter("IVRClientCore_003_Init", (void *)2);
init_thunk(t, this_ptr_value, IVRClientCore_003_Cleanup, 0, FALSE, FALSE);
void (__stdcall *capi_IVRClientCore_003_Cleanup)() = (void *)t;
clear_parameters();
capi_IVRClientCore_003_Cleanup();
check_ptr_parameter("IVRClientCore_003_Cleanup", this_ptr_value);
init_thunk(t, this_ptr_value, IVRClientCore_003_IsInterfaceVersionValid, 1, FALSE, FALSE);
EVRInitError (__stdcall *capi_IVRClientCore_003_IsInterfaceVersionValid)(const char * pchInterfaceVersion) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_IsInterfaceVersionValid((void *)1);
check_ptr_parameter("IVRClientCore_003_IsInterfaceVersionValid", this_ptr_value);
check_ptr_parameter("IVRClientCore_003_IsInterfaceVersionValid", (void *)1);
init_thunk(t, this_ptr_value, IVRClientCore_003_GetGenericInterface, 2, FALSE, FALSE);
void * (__stdcall *capi_IVRClientCore_003_GetGenericInterface)(const char * pchNameAndVersion, EVRInitError * peError) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_GetGenericInterface((void *)1, (void *)2);
check_ptr_parameter("IVRClientCore_003_GetGenericInterface", this_ptr_value);
check_ptr_parameter("IVRClientCore_003_GetGenericInterface", (void *)1);
check_ptr_parameter("IVRClientCore_003_GetGenericInterface", (void *)2);
init_thunk(t, this_ptr_value, IVRClientCore_003_BIsHmdPresent, 0, FALSE, FALSE);
bool (__stdcall *capi_IVRClientCore_003_BIsHmdPresent)() = (void *)t;
clear_parameters();
capi_IVRClientCore_003_BIsHmdPresent();
check_ptr_parameter("IVRClientCore_003_BIsHmdPresent", this_ptr_value);
init_thunk(t, this_ptr_value, IVRClientCore_003_GetEnglishStringForHmdError, 1, FALSE, FALSE);
const char * (__stdcall *capi_IVRClientCore_003_GetEnglishStringForHmdError)(EVRInitError eError) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_GetEnglishStringForHmdError(1);
check_ptr_parameter("IVRClientCore_003_GetEnglishStringForHmdError", this_ptr_value);
check_uint32_parameter("IVRClientCore_003_GetEnglishStringForHmdError", 1);
init_thunk(t, this_ptr_value, IVRClientCore_003_GetIDForVRInitError, 1, FALSE, FALSE);
const char * (__stdcall *capi_IVRClientCore_003_GetIDForVRInitError)(EVRInitError eError) = (void *)t;
clear_parameters();
capi_IVRClientCore_003_GetIDForVRInitError(1);
check_ptr_parameter("IVRClientCore_003_GetIDForVRInitError", this_ptr_value);
check_uint32_parameter("IVRClientCore_003_GetIDForVRInitError", 1);
VirtualFree(t, 0, MEM_RELEASE);
}
void test_capi_thunks_IVRCompositor_024(void)
{
struct thunk *t = alloc_thunks(1);
+1 -1
View File
@@ -23,9 +23,9 @@ int main(void)
test_capi_thunks_IVRDriverManager_001();
test_capi_thunks_IVRInput_010();
test_capi_thunks_IVRIOBuffer_002();
test_capi_thunks_IVRClientCore_003();
test_capi_thunks_IVRControlPanel_006();
test_capi_thunks_IVRMailbox_001();
test_capi_thunks_IVRClientCore_003();
test_capi_thunks_IVRCompositor_024();
test_capi_thunks_IVROverlay_022();
test_capi_thunks_IVRInput_007();
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -34,63 +34,63 @@ vr::EVRInputError cppIVRInput_IVRInput_010_UpdateActionState(void *linux_side, V
return ((IVRInput*)linux_side)->UpdateActionState((vr::VRActiveActionSet_t *)pSets, (uint32_t)unSizeOfVRSelectedActionSet_t, (uint32_t)unSetCount);
}
vr::EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_11030 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
vr::EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *linux_side, VRActionHandle_t action, winInputDigitalActionData_t_11111 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
{
InputDigitalActionData_t lin;
vr::EVRInputError _ret;
if(pActionData)
struct_InputDigitalActionData_t_11030_win_to_lin(pActionData, &lin);
struct_InputDigitalActionData_t_11111_win_to_lin(pActionData, &lin);
_ret = ((IVRInput*)linux_side)->GetDigitalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice);
if(pActionData)
struct_InputDigitalActionData_t_11030_lin_to_win(&lin, pActionData, unActionDataSize);
struct_InputDigitalActionData_t_11111_lin_to_win(&lin, pActionData, unActionDataSize);
return _ret;
}
vr::EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_11030 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
vr::EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *linux_side, VRActionHandle_t action, winInputAnalogActionData_t_11111 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
{
InputAnalogActionData_t lin;
vr::EVRInputError _ret;
if(pActionData)
struct_InputAnalogActionData_t_11030_win_to_lin(pActionData, &lin);
struct_InputAnalogActionData_t_11111_win_to_lin(pActionData, &lin);
_ret = ((IVRInput*)linux_side)->GetAnalogActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice);
if(pActionData)
struct_InputAnalogActionData_t_11030_lin_to_win(&lin, pActionData, unActionDataSize);
struct_InputAnalogActionData_t_11111_lin_to_win(&lin, pActionData, unActionDataSize);
return _ret;
}
vr::EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_11030 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
vr::EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, float fPredictedSecondsFromNow, winInputPoseActionData_t_11111 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
{
InputPoseActionData_t lin;
vr::EVRInputError _ret;
if(pActionData)
struct_InputPoseActionData_t_11030_win_to_lin(pActionData, &lin);
struct_InputPoseActionData_t_11111_win_to_lin(pActionData, &lin);
_ret = ((IVRInput*)linux_side)->GetPoseActionDataRelativeToNow((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, (float)fPredictedSecondsFromNow, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice);
if(pActionData)
struct_InputPoseActionData_t_11030_lin_to_win(&lin, pActionData, unActionDataSize);
struct_InputPoseActionData_t_11111_lin_to_win(&lin, pActionData, unActionDataSize);
return _ret;
}
vr::EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_11030 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
vr::EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *linux_side, VRActionHandle_t action, ETrackingUniverseOrigin eOrigin, winInputPoseActionData_t_11111 * pActionData, uint32_t unActionDataSize, VRInputValueHandle_t ulRestrictToDevice)
{
InputPoseActionData_t lin;
vr::EVRInputError _ret;
if(pActionData)
struct_InputPoseActionData_t_11030_win_to_lin(pActionData, &lin);
struct_InputPoseActionData_t_11111_win_to_lin(pActionData, &lin);
_ret = ((IVRInput*)linux_side)->GetPoseActionDataForNextFrame((vr::VRActionHandle_t)action, (vr::ETrackingUniverseOrigin)eOrigin, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0, (vr::VRInputValueHandle_t)ulRestrictToDevice);
if(pActionData)
struct_InputPoseActionData_t_11030_lin_to_win(&lin, pActionData, unActionDataSize);
struct_InputPoseActionData_t_11111_lin_to_win(&lin, pActionData, unActionDataSize);
return _ret;
}
vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_11030 * pActionData, uint32_t unActionDataSize)
vr::EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *linux_side, VRActionHandle_t action, winInputSkeletalActionData_t_11111 * pActionData, uint32_t unActionDataSize)
{
InputSkeletalActionData_t lin;
vr::EVRInputError _ret;
if(pActionData)
struct_InputSkeletalActionData_t_11030_win_to_lin(pActionData, &lin);
struct_InputSkeletalActionData_t_11111_win_to_lin(pActionData, &lin);
_ret = ((IVRInput*)linux_side)->GetSkeletalActionData((vr::VRActionHandle_t)action, pActionData ? &lin : nullptr, unActionDataSize ? sizeof(lin) : 0);
if(pActionData)
struct_InputSkeletalActionData_t_11030_lin_to_win(&lin, pActionData, unActionDataSize);
struct_InputSkeletalActionData_t_11111_lin_to_win(&lin, pActionData, unActionDataSize);
return _ret;
}
@@ -6,11 +6,11 @@ extern EVRInputError cppIVRInput_IVRInput_010_GetActionSetHandle(void *, const c
extern EVRInputError cppIVRInput_IVRInput_010_GetActionHandle(void *, const char *, VRActionHandle_t *);
extern EVRInputError cppIVRInput_IVRInput_010_GetInputSourceHandle(void *, const char *, VRInputValueHandle_t *);
extern EVRInputError cppIVRInput_IVRInput_010_UpdateActionState(void *, VRActiveActionSet_t *, uint32_t, uint32_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_11030 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_11030 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_11030 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_11030 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_11030 *, uint32_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetDigitalActionData(void *, VRActionHandle_t, winInputDigitalActionData_t_11111 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetAnalogActionData(void *, VRActionHandle_t, winInputAnalogActionData_t_11111 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataRelativeToNow(void *, VRActionHandle_t, ETrackingUniverseOrigin, float, winInputPoseActionData_t_11111 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetPoseActionDataForNextFrame(void *, VRActionHandle_t, ETrackingUniverseOrigin, winInputPoseActionData_t_11111 *, uint32_t, VRInputValueHandle_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetSkeletalActionData(void *, VRActionHandle_t, winInputSkeletalActionData_t_11111 *, uint32_t);
extern EVRInputError cppIVRInput_IVRInput_010_GetDominantHand(void *, ETrackedControllerRole *);
extern EVRInputError cppIVRInput_IVRInput_010_SetDominantHand(void *, ETrackedControllerRole);
extern EVRInputError cppIVRInput_IVRInput_010_GetBoneCount(void *, VRActionHandle_t, uint32_t *);
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -23,7 +23,7 @@ void cppIVROverlayView_IVROverlayView_003_PostOverlayEvent(void *linux_side, VRO
{
VREvent_t lin;
if(pvrEvent)
struct_VREvent_t_11030_win_to_lin(pvrEvent, &lin);
struct_VREvent_t_11111_win_to_lin(pvrEvent, &lin);
((IVROverlayView*)linux_side)->PostOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pvrEvent ? &lin : nullptr);
}
@@ -1,6 +1,6 @@
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.10.30/ivrclientcore.h"
#include "openvr_v1.11.11/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
@@ -229,15 +229,15 @@ vr::EVROverlayError cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinat
return ((IVROverlay*)linux_side)->GetTransformForOverlayCoordinates((vr::VROverlayHandle_t)ulOverlayHandle, (vr::ETrackingUniverseOrigin)eTrackingOrigin, (vr::HmdVector2_t)coordinatesInOverlay, (vr::HmdMatrix34_t *)pmatTransform);
}
bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11030 * pEvent, uint32_t uncbVREvent)
bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *linux_side, VROverlayHandle_t ulOverlayHandle, winVREvent_t_11111 * pEvent, uint32_t uncbVREvent)
{
VREvent_t lin;
bool _ret;
if(pEvent)
struct_VREvent_t_11030_win_to_lin(pEvent, &lin);
struct_VREvent_t_11111_win_to_lin(pEvent, &lin);
_ret = ((IVROverlay*)linux_side)->PollNextOverlayEvent((vr::VROverlayHandle_t)ulOverlayHandle, pEvent ? &lin : nullptr, uncbVREvent ? sizeof(lin) : 0);
if(pEvent)
struct_VREvent_t_11030_lin_to_win(&lin, pEvent, uncbVREvent);
struct_VREvent_t_11111_lin_to_win(&lin, pEvent, uncbVREvent);
return _ret;
}
@@ -45,7 +45,7 @@ extern EVROverlayError cppIVROverlay_IVROverlay_024_ShowOverlay(void *, VROverla
extern EVROverlayError cppIVROverlay_IVROverlay_024_HideOverlay(void *, VROverlayHandle_t);
extern bool cppIVROverlay_IVROverlay_024_IsOverlayVisible(void *, VROverlayHandle_t);
extern EVROverlayError cppIVROverlay_IVROverlay_024_GetTransformForOverlayCoordinates(void *, VROverlayHandle_t, ETrackingUniverseOrigin, HmdVector2_t, HmdMatrix34_t *);
extern bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_11030 *, uint32_t);
extern bool cppIVROverlay_IVROverlay_024_PollNextOverlayEvent(void *, VROverlayHandle_t, winVREvent_t_11111 *, uint32_t);
extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod *);
extern EVROverlayError cppIVROverlay_IVROverlay_024_SetOverlayInputMethod(void *, VROverlayHandle_t, VROverlayInputMethod);
extern EVROverlayError cppIVROverlay_IVROverlay_024_GetOverlayMouseScale(void *, VROverlayHandle_t, HmdVector2_t *);

Some files were not shown because too many files have changed in this diff Show More