2023-09-29 11:28:17 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 13:08:49 +02:00
|
|
|
|
2023-11-07 20:56:28 +01:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params *params = (struct IVRSystem_IVRSystem_020_GetRecommendedRenderTargetSize_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetProjectionMatrix( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetProjectionMatrix_params *params = (struct IVRSystem_IVRSystem_020_GetProjectionMatrix_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
*params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetProjectionRaw( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetProjectionRaw_params *params = (struct IVRSystem_IVRSystem_020_GetProjectionRaw_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_ComputeDistortion( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_ComputeDistortion_params *params = (struct IVRSystem_IVRSystem_020_ComputeDistortion_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetEyeToHeadTransform( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetEyeToHeadTransform_params *params = (struct IVRSystem_IVRSystem_020_GetEyeToHeadTransform_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
*params->_ret = iface->GetEyeToHeadTransform( params->eEye );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetTimeSinceLastVsync( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params *params = (struct IVRSystem_IVRSystem_020_GetTimeSinceLastVsync_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetD3D9AdapterIndex( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params *params = (struct IVRSystem_IVRSystem_020_GetD3D9AdapterIndex_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetD3D9AdapterIndex( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetDXGIOutputInfo( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetDXGIOutputInfo_params *params = (struct IVRSystem_IVRSystem_020_GetDXGIOutputInfo_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->GetDXGIOutputInfo( params->pnAdapterIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_IsDisplayOnDesktop( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_IsDisplayOnDesktop_params *params = (struct IVRSystem_IVRSystem_020_IsDisplayOnDesktop_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsDisplayOnDesktop( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_SetDisplayVisibility( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_SetDisplayVisibility_params *params = (struct IVRSystem_IVRSystem_020_SetDisplayVisibility_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_020_GetDeviceToAbsoluteTrackingPose_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_ResetSeatedZeroPose( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_ResetSeatedZeroPose_params *params = (struct IVRSystem_IVRSystem_020_ResetSeatedZeroPose_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ResetSeatedZeroPose( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_020_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
*params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params = (struct IVRSystem_IVRSystem_020_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
*params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params *params = (struct IVRSystem_IVRSystem_020_GetSortedTrackedDeviceIndicesOfClass_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params *params = (struct IVRSystem_IVRSystem_020_GetTrackedDeviceActivityLevel_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_ApplyTransform( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_ApplyTransform_params *params = (struct IVRSystem_IVRSystem_020_ApplyTransform_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params *params = (struct IVRSystem_IVRSystem_020_GetTrackedDeviceIndexForControllerRole_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params *params = (struct IVRSystem_IVRSystem_020_GetControllerRoleForTrackedDeviceIndex_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetTrackedDeviceClass( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetTrackedDeviceClass_params *params = (struct IVRSystem_IVRSystem_020_GetTrackedDeviceClass_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_IsTrackedDeviceConnected( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params *params = (struct IVRSystem_IVRSystem_020_IsTrackedDeviceConnected_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetBoolTrackedDeviceProperty_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetFloatTrackedDeviceProperty_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetInt32TrackedDeviceProperty_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetUint64TrackedDeviceProperty_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetMatrix34TrackedDeviceProperty_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
*params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetArrayTrackedDeviceProperty_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetArrayTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->propType, params->pBuffer, params->unBufferSize, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params *params = (struct IVRSystem_IVRSystem_020_GetStringTrackedDeviceProperty_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetPropErrorNameFromEnum_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetPropErrorNameFromEnum( params->error );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_PollNextEvent( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_PollNextEvent_params *params = (struct IVRSystem_IVRSystem_020_PollNextEvent_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
|
|
|
u_VREvent_t_1322 u_pEvent;
|
|
|
|
if (params->pEvent) u_pEvent = *params->pEvent;
|
|
|
|
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->PollNextEvent( params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent );
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pEvent) *params->pEvent = u_pEvent;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_PollNextEventWithPose( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_PollNextEventWithPose_params *params = (struct IVRSystem_IVRSystem_020_PollNextEventWithPose_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
|
|
|
u_VREvent_t_1322 u_pEvent;
|
|
|
|
if (params->pEvent) u_pEvent = *params->pEvent;
|
|
|
|
uint32_t u_uncbVREvent = params->uncbVREvent ? sizeof(u_pEvent) : 0;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &u_pEvent : nullptr, u_uncbVREvent, params->pTrackedDevicePose );
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pEvent) *params->pEvent = u_pEvent;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetEventTypeNameFromEnum_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetEventTypeNameFromEnum( params->eType );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetHiddenAreaMesh( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetHiddenAreaMesh_params *params = (struct IVRSystem_IVRSystem_020_GetHiddenAreaMesh_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
*params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetControllerState( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetControllerState_params *params = (struct IVRSystem_IVRSystem_020_GetControllerState_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
|
|
|
u_VRControllerState001_t u_pControllerState;
|
|
|
|
if (params->pControllerState) u_pControllerState = *params->pControllerState;
|
|
|
|
uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize );
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pControllerState) *params->pControllerState = u_pControllerState;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetControllerStateWithPose( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetControllerStateWithPose_params *params = (struct IVRSystem_IVRSystem_020_GetControllerStateWithPose_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
|
|
|
u_VRControllerState001_t u_pControllerState;
|
|
|
|
if (params->pControllerState) u_pControllerState = *params->pControllerState;
|
|
|
|
uint32_t u_unControllerStateSize = params->unControllerStateSize ? sizeof(u_pControllerState) : 0;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &u_pControllerState : nullptr, u_unControllerStateSize, params->pTrackedDevicePose );
|
2023-09-29 11:28:17 +02:00
|
|
|
if (params->pControllerState) *params->pControllerState = u_pControllerState;
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_TriggerHapticPulse( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_TriggerHapticPulse_params *params = (struct IVRSystem_IVRSystem_020_TriggerHapticPulse_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetButtonIdNameFromEnum_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params *params = (struct IVRSystem_IVRSystem_020_GetControllerAxisTypeNameFromEnum_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_IsInputAvailable( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_IsInputAvailable_params *params = (struct IVRSystem_IVRSystem_020_IsInputAvailable_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsInputAvailable( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params *params = (struct IVRSystem_IVRSystem_020_IsSteamVRDrawingControllers_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsSteamVRDrawingControllers( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_ShouldApplicationPause( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_ShouldApplicationPause_params *params = (struct IVRSystem_IVRSystem_020_ShouldApplicationPause_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ShouldApplicationPause( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params *params = (struct IVRSystem_IVRSystem_020_ShouldApplicationReduceRenderingWork_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ShouldApplicationReduceRenderingWork( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_PerformFirmwareUpdate( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_PerformFirmwareUpdate_params *params = (struct IVRSystem_IVRSystem_020_PerformFirmwareUpdate_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params *params = (struct IVRSystem_IVRSystem_020_AcknowledgeQuit_Exiting_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->AcknowledgeQuit_Exiting( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt( void *args )
|
2019-07-13 12:17:57 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params *params = (struct IVRSystem_IVRSystem_020_AcknowledgeQuit_UserPrompt_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->AcknowledgeQuit_UserPrompt( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-07-13 12:17:57 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetAppContainerFilePaths( void *args )
|
2019-08-16 16:10:37 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetAppContainerFilePaths_params *params = (struct IVRSystem_IVRSystem_020_GetAppContainerFilePaths_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetAppContainerFilePaths( params->pchBuffer, params->unBufferSize );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-08-16 16:10:37 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRSystem_IVRSystem_020_GetRuntimeVersion( void *args )
|
2019-08-16 16:10:37 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRSystem_IVRSystem_020_GetRuntimeVersion_params *params = (struct IVRSystem_IVRSystem_020_GetRuntimeVersion_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRSystem_IVRSystem_020 *iface = (struct u_IVRSystem_IVRSystem_020 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetRuntimeVersion( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2019-08-16 16:10:37 +02:00
|
|
|
}
|
|
|
|
|