2023-09-29 12:28:17 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 14:08:49 +03:00
|
|
|
|
2023-11-07 22:56:28 +03:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_SetActionManifestPath( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_007_SetActionManifestPath_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-03 00:13:55 +03:00
|
|
|
char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath );
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath );
|
2023-10-03 00:13:55 +03:00
|
|
|
vrclient_free_path( u_pchActionManifestPath );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetActionSetHandle( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_007_GetActionSetHandle_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetActionHandle( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetActionHandle_params *params = (struct IVRInput_IVRInput_007_GetActionHandle_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetInputSourceHandle( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_007_GetInputSourceHandle_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_UpdateActionState( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_UpdateActionState_params *params = (struct IVRInput_IVRInput_007_UpdateActionState_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetDigitalActionData( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_007_GetDigitalActionData_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
|
|
|
u_InputDigitalActionData_t u_pActionData;
|
|
|
|
if (params->pActionData) u_pActionData = *params->pActionData;
|
|
|
|
uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
|
2023-09-29 12:28:17 +03:00
|
|
|
if (params->pActionData) *params->pActionData = u_pActionData;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetAnalogActionData( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_007_GetAnalogActionData_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
|
|
|
u_InputAnalogActionData_t u_pActionData;
|
|
|
|
if (params->pActionData) u_pActionData = *params->pActionData;
|
|
|
|
uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
|
2023-09-29 12:28:17 +03:00
|
|
|
if (params->pActionData) *params->pActionData = u_pActionData;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params *params = (struct IVRInput_IVRInput_007_GetPoseActionDataRelativeToNow_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
|
|
|
u_InputPoseActionData_t u_pActionData;
|
|
|
|
if (params->pActionData) u_pActionData = *params->pActionData;
|
|
|
|
uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
|
2023-09-29 12:28:17 +03:00
|
|
|
if (params->pActionData) *params->pActionData = u_pActionData;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetPoseActionDataForNextFrame( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params *params = (struct IVRInput_IVRInput_007_GetPoseActionDataForNextFrame_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
|
|
|
u_InputPoseActionData_t u_pActionData;
|
|
|
|
if (params->pActionData) u_pActionData = *params->pActionData;
|
|
|
|
uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
|
2023-09-29 12:28:17 +03:00
|
|
|
if (params->pActionData) *params->pActionData = u_pActionData;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetSkeletalActionData( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_007_GetSkeletalActionData_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
|
|
|
u_InputSkeletalActionData_t_113b u_pActionData;
|
|
|
|
if (params->pActionData) u_pActionData = *params->pActionData;
|
|
|
|
uint32_t u_unActionDataSize = params->unActionDataSize ? sizeof(u_pActionData) : 0;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize );
|
2023-09-29 12:28:17 +03:00
|
|
|
if (params->pActionData) *params->pActionData = u_pActionData;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetBoneCount( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetBoneCount_params *params = (struct IVRInput_IVRInput_007_GetBoneCount_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetBoneCount( params->action, params->pBoneCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetBoneHierarchy( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetBoneHierarchy_params *params = (struct IVRInput_IVRInput_007_GetBoneHierarchy_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetBoneName( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetBoneName_params *params = (struct IVRInput_IVRInput_007_GetBoneName_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetSkeletalReferenceTransforms( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params *params = (struct IVRInput_IVRInput_007_GetSkeletalReferenceTransforms_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetSkeletalTrackingLevel( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetSkeletalTrackingLevel_params *params = (struct IVRInput_IVRInput_007_GetSkeletalTrackingLevel_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetSkeletalBoneData( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetSkeletalBoneData_params *params = (struct IVRInput_IVRInput_007_GetSkeletalBoneData_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetSkeletalSummaryData( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetSkeletalSummaryData_params *params = (struct IVRInput_IVRInput_007_GetSkeletalSummaryData_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params *params = (struct IVRInput_IVRInput_007_GetSkeletalBoneDataCompressed_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_DecompressSkeletalBoneData( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_DecompressSkeletalBoneData_params *params = (struct IVRInput_IVRInput_007_DecompressSkeletalBoneData_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_TriggerHapticVibrationAction( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_007_TriggerHapticVibrationAction_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetActionOrigins( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetActionOrigins_params *params = (struct IVRInput_IVRInput_007_GetActionOrigins_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetOriginLocalizedName( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_007_GetOriginLocalizedName_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_007_GetOriginTrackedDeviceInfo_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
|
|
|
u_InputOriginInfo_t u_pOriginInfo;
|
|
|
|
if (params->pOriginInfo) u_pOriginInfo = *params->pOriginInfo;
|
|
|
|
uint32_t u_unOriginInfoSize = params->unOriginInfoSize ? sizeof(u_pOriginInfo) : 0;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize );
|
2023-09-29 12:28:17 +03:00
|
|
|
if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_GetActionBindingInfo( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_GetActionBindingInfo_params *params = (struct IVRInput_IVRInput_007_GetActionBindingInfo_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_ShowActionOrigins( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_007_ShowActionOrigins_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_ShowBindingsForActionSet( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_007_ShowBindingsForActionSet_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_IsUsingLegacyInput( void *args )
|
2019-07-13 13:17:57 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_IsUsingLegacyInput_params *params = (struct IVRInput_IVRInput_007_IsUsingLegacyInput_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->IsUsingLegacyInput( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-07-13 13:17:57 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRInput_IVRInput_007_OpenBindingUI( void *args )
|
2019-12-31 23:26:20 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRInput_IVRInput_007_OpenBindingUI_params *params = (struct IVRInput_IVRInput_007_OpenBindingUI_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRInput_IVRInput_007 *iface = (struct u_IVRInput_IVRInput_007 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2019-12-31 23:26:20 +03:00
|
|
|
}
|
|
|
|
|