Proton/vrclient_x64/cppIVRInput_IVRInput_010.cpp
2024-02-15 15:53:28 +02:00

290 lines
16 KiB
C++

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#if 0
#pragma makedep unix
#endif
NTSTATUS IVRInput_IVRInput_010_SetActionManifestPath( void *args )
{
struct IVRInput_IVRInput_010_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_010_SetActionManifestPath_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath );
params->_ret = iface->SetActionManifestPath( u_pchActionManifestPath );
vrclient_free_path( u_pchActionManifestPath );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetActionSetHandle( void *args )
{
struct IVRInput_IVRInput_010_GetActionSetHandle_params *params = (struct IVRInput_IVRInput_010_GetActionSetHandle_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetActionSetHandle( params->pchActionSetName, params->pHandle );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetActionHandle( void *args )
{
struct IVRInput_IVRInput_010_GetActionHandle_params *params = (struct IVRInput_IVRInput_010_GetActionHandle_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetActionHandle( params->pchActionName, params->pHandle );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetInputSourceHandle( void *args )
{
struct IVRInput_IVRInput_010_GetInputSourceHandle_params *params = (struct IVRInput_IVRInput_010_GetInputSourceHandle_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetInputSourceHandle( params->pchInputSourcePath, params->pHandle );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_UpdateActionState( void *args )
{
struct IVRInput_IVRInput_010_UpdateActionState_params *params = (struct IVRInput_IVRInput_010_UpdateActionState_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->UpdateActionState( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetDigitalActionData( void *args )
{
struct IVRInput_IVRInput_010_GetDigitalActionData_params *params = (struct IVRInput_IVRInput_010_GetDigitalActionData_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)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;
params->_ret = iface->GetDigitalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
if (params->pActionData) *params->pActionData = u_pActionData;
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetAnalogActionData( void *args )
{
struct IVRInput_IVRInput_010_GetAnalogActionData_params *params = (struct IVRInput_IVRInput_010_GetAnalogActionData_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)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;
params->_ret = iface->GetAnalogActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
if (params->pActionData) *params->pActionData = u_pActionData;
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow( void *args )
{
struct IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params *params = (struct IVRInput_IVRInput_010_GetPoseActionDataRelativeToNow_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)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;
params->_ret = iface->GetPoseActionDataRelativeToNow( params->action, params->eOrigin, params->fPredictedSecondsFromNow, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
if (params->pActionData) *params->pActionData = u_pActionData;
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetPoseActionDataForNextFrame( void *args )
{
struct IVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params *params = (struct IVRInput_IVRInput_010_GetPoseActionDataForNextFrame_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)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;
params->_ret = iface->GetPoseActionDataForNextFrame( params->action, params->eOrigin, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize, params->ulRestrictToDevice );
if (params->pActionData) *params->pActionData = u_pActionData;
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetSkeletalActionData( void *args )
{
struct IVRInput_IVRInput_010_GetSkeletalActionData_params *params = (struct IVRInput_IVRInput_010_GetSkeletalActionData_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)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;
params->_ret = iface->GetSkeletalActionData( params->action, params->pActionData ? &u_pActionData : nullptr, u_unActionDataSize );
if (params->pActionData) *params->pActionData = u_pActionData;
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetDominantHand( void *args )
{
struct IVRInput_IVRInput_010_GetDominantHand_params *params = (struct IVRInput_IVRInput_010_GetDominantHand_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetDominantHand( params->peDominantHand );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_SetDominantHand( void *args )
{
struct IVRInput_IVRInput_010_SetDominantHand_params *params = (struct IVRInput_IVRInput_010_SetDominantHand_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->SetDominantHand( params->eDominantHand );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetBoneCount( void *args )
{
struct IVRInput_IVRInput_010_GetBoneCount_params *params = (struct IVRInput_IVRInput_010_GetBoneCount_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetBoneCount( params->action, params->pBoneCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetBoneHierarchy( void *args )
{
struct IVRInput_IVRInput_010_GetBoneHierarchy_params *params = (struct IVRInput_IVRInput_010_GetBoneHierarchy_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetBoneHierarchy( params->action, params->pParentIndices, params->unIndexArayCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetBoneName( void *args )
{
struct IVRInput_IVRInput_010_GetBoneName_params *params = (struct IVRInput_IVRInput_010_GetBoneName_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetBoneName( params->action, params->nBoneIndex, params->pchBoneName, params->unNameBufferSize );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetSkeletalReferenceTransforms( void *args )
{
struct IVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params *params = (struct IVRInput_IVRInput_010_GetSkeletalReferenceTransforms_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetSkeletalReferenceTransforms( params->action, params->eTransformSpace, params->eReferencePose, params->pTransformArray, params->unTransformArrayCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetSkeletalTrackingLevel( void *args )
{
struct IVRInput_IVRInput_010_GetSkeletalTrackingLevel_params *params = (struct IVRInput_IVRInput_010_GetSkeletalTrackingLevel_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetSkeletalTrackingLevel( params->action, params->pSkeletalTrackingLevel );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetSkeletalBoneData( void *args )
{
struct IVRInput_IVRInput_010_GetSkeletalBoneData_params *params = (struct IVRInput_IVRInput_010_GetSkeletalBoneData_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetSkeletalBoneData( params->action, params->eTransformSpace, params->eMotionRange, params->pTransformArray, params->unTransformArrayCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetSkeletalSummaryData( void *args )
{
struct IVRInput_IVRInput_010_GetSkeletalSummaryData_params *params = (struct IVRInput_IVRInput_010_GetSkeletalSummaryData_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetSkeletalSummaryData( params->action, params->eSummaryType, params->pSkeletalSummaryData );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed( void *args )
{
struct IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params *params = (struct IVRInput_IVRInput_010_GetSkeletalBoneDataCompressed_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetSkeletalBoneDataCompressed( params->action, params->eMotionRange, params->pvCompressedData, params->unCompressedSize, params->punRequiredCompressedSize );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_DecompressSkeletalBoneData( void *args )
{
struct IVRInput_IVRInput_010_DecompressSkeletalBoneData_params *params = (struct IVRInput_IVRInput_010_DecompressSkeletalBoneData_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->DecompressSkeletalBoneData( params->pvCompressedBuffer, params->unCompressedBufferSize, params->eTransformSpace, params->pTransformArray, params->unTransformArrayCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_TriggerHapticVibrationAction( void *args )
{
struct IVRInput_IVRInput_010_TriggerHapticVibrationAction_params *params = (struct IVRInput_IVRInput_010_TriggerHapticVibrationAction_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->TriggerHapticVibrationAction( params->action, params->fStartSecondsFromNow, params->fDurationSeconds, params->fFrequency, params->fAmplitude, params->ulRestrictToDevice );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetActionOrigins( void *args )
{
struct IVRInput_IVRInput_010_GetActionOrigins_params *params = (struct IVRInput_IVRInput_010_GetActionOrigins_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetActionOrigins( params->actionSetHandle, params->digitalActionHandle, params->originsOut, params->originOutCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetOriginLocalizedName( void *args )
{
struct IVRInput_IVRInput_010_GetOriginLocalizedName_params *params = (struct IVRInput_IVRInput_010_GetOriginLocalizedName_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetOriginLocalizedName( params->origin, params->pchNameArray, params->unNameArraySize, params->unStringSectionsToInclude );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo( void *args )
{
struct IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *params = (struct IVRInput_IVRInput_010_GetOriginTrackedDeviceInfo_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)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;
params->_ret = iface->GetOriginTrackedDeviceInfo( params->origin, params->pOriginInfo ? &u_pOriginInfo : nullptr, u_unOriginInfoSize );
if (params->pOriginInfo) *params->pOriginInfo = u_pOriginInfo;
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetActionBindingInfo( void *args )
{
struct IVRInput_IVRInput_010_GetActionBindingInfo_params *params = (struct IVRInput_IVRInput_010_GetActionBindingInfo_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetActionBindingInfo( params->action, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->punReturnedBindingInfoCount );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_ShowActionOrigins( void *args )
{
struct IVRInput_IVRInput_010_ShowActionOrigins_params *params = (struct IVRInput_IVRInput_010_ShowActionOrigins_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->ShowActionOrigins( params->actionSetHandle, params->ulActionHandle );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_ShowBindingsForActionSet( void *args )
{
struct IVRInput_IVRInput_010_ShowBindingsForActionSet_params *params = (struct IVRInput_IVRInput_010_ShowBindingsForActionSet_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->ShowBindingsForActionSet( params->pSets, params->unSizeOfVRSelectedActionSet_t, params->unSetCount, params->originToHighlight );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetComponentStateForBinding( void *args )
{
struct IVRInput_IVRInput_010_GetComponentStateForBinding_params *params = (struct IVRInput_IVRInput_010_GetComponentStateForBinding_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetComponentStateForBinding( params->pchRenderModelName, params->pchComponentName, params->pOriginInfo, params->unBindingInfoSize, params->unBindingInfoCount, params->pComponentState );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_IsUsingLegacyInput( void *args )
{
struct IVRInput_IVRInput_010_IsUsingLegacyInput_params *params = (struct IVRInput_IVRInput_010_IsUsingLegacyInput_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->IsUsingLegacyInput( );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_OpenBindingUI( void *args )
{
struct IVRInput_IVRInput_010_OpenBindingUI_params *params = (struct IVRInput_IVRInput_010_OpenBindingUI_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->OpenBindingUI( params->pchAppKey, params->ulActionSetHandle, params->ulDeviceHandle, params->bShowOnDesktop );
return 0;
}
NTSTATUS IVRInput_IVRInput_010_GetBindingVariant( void *args )
{
struct IVRInput_IVRInput_010_GetBindingVariant_params *params = (struct IVRInput_IVRInput_010_GetBindingVariant_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = iface->GetBindingVariant( params->ulDevicePath, params->pchVariantArray, params->unVariantArraySize );
return 0;
}