mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-01 20:24:25 +01:00
vrclient: Dereference more typedefs
This commit is contained in:
parent
f24e88d400
commit
2da8a7dd32
34 changed files with 192 additions and 192 deletions
|
|
@ -91,10 +91,10 @@ bool cppIVRRenderModels_IVRRenderModels_006_GetComponentStateForDevicePath(void
|
|||
|
||||
bool cppIVRRenderModels_IVRRenderModels_006_GetComponentState(void *linux_side, const char * pchRenderModelName, const char * pchComponentName, VRControllerState_t * pControllerState, RenderModel_ControllerMode_State_t * pState, RenderModel_ComponentState_t * pComponentState)
|
||||
{
|
||||
VRControllerState_t lin;
|
||||
VRControllerState001_t lin;
|
||||
bool _ret;
|
||||
if(pControllerState)
|
||||
struct_VRControllerState_t_1610_win_to_lin(pControllerState, &lin);
|
||||
struct_VRControllerState001_t_1610_win_to_lin(pControllerState, &lin);
|
||||
_ret = ((IVRRenderModels*)linux_side)->GetComponentState((const char *)pchRenderModelName, (const char *)pchComponentName, pControllerState ? &lin : nullptr, (const vr::RenderModel_ControllerMode_State_t *)pState, (vr::RenderModel_ComponentState_t *)pComponentState);
|
||||
return _ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue