mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-11 17:08:04 +01:00
vrclient: Pass write function as parameter to handle_method*.
CW-Bug-Id: #22729
This commit is contained in:
parent
9130b93597
commit
37853f8469
55 changed files with 290 additions and 290 deletions
|
|
@ -195,10 +195,10 @@ bool cppIVRSystem_IVRSystem_005_GetControllerState(void *linux_side, TrackedDevi
|
|||
{
|
||||
bool _ret;
|
||||
VRControllerState001_t lin;
|
||||
if(pControllerState)
|
||||
if (pControllerState)
|
||||
struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin);
|
||||
_ret = ((IVRSystem*)linux_side)->GetControllerState((vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr);
|
||||
if(pControllerState)
|
||||
if (pControllerState)
|
||||
struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState, -1);
|
||||
return _ret;
|
||||
}
|
||||
|
|
@ -207,10 +207,10 @@ bool cppIVRSystem_IVRSystem_005_GetControllerStateWithPose(void *linux_side, Tra
|
|||
{
|
||||
bool _ret;
|
||||
VRControllerState001_t lin;
|
||||
if(pControllerState)
|
||||
if (pControllerState)
|
||||
struct_VRControllerState001_t_098_win_to_lin(pControllerState, &lin);
|
||||
_ret = ((IVRSystem*)linux_side)->GetControllerStateWithPose((vr::TrackingUniverseOrigin)eOrigin, (vr::TrackedDeviceIndex_t)unControllerDeviceIndex, pControllerState ? &lin : nullptr, (vr::TrackedDevicePose_t *)pTrackedDevicePose);
|
||||
if(pControllerState)
|
||||
if (pControllerState)
|
||||
struct_VRControllerState001_t_098_lin_to_win(&lin, pControllerState, -1);
|
||||
return _ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue