mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
parent
5ec8d4dcfb
commit
2d93d45926
14 changed files with 6220 additions and 54 deletions
|
|
@ -233,7 +233,7 @@ NTSTATUS IVRSystem_IVRSystem_022_PollNextEvent( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_022_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_022_PollNextEvent_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side;
|
||||
u_VREvent_t_1168 u_pEvent;
|
||||
u_VREvent_t_2010 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
||||
params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent );
|
||||
|
|
@ -245,7 +245,7 @@ NTSTATUS IVRSystem_IVRSystem_022_PollNextEventWithPose( void *args )
|
|||
{
|
||||
struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_022_PollNextEventWithPose_params *)args;
|
||||
struct u_IVRSystem_IVRSystem_022 *iface = (struct u_IVRSystem_IVRSystem_022 *)params->linux_side;
|
||||
u_VREvent_t_1168 u_pEvent;
|
||||
u_VREvent_t_2010 u_pEvent;
|
||||
if (params->pEvent) u_pEvent = *params->pEvent;
|
||||
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
||||
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue