Proton/vrclient_x64/vrclient_x64/cppIVRSystem_IVRSystem_015.cpp

354 lines
20 KiB
C++
Raw Normal View History

2018-01-18 22:29:49 +03:00
#include "vrclient_private.h"
#include "vrclient_defs.h"
#include "openvr_v1.0.7/ivrclientcore.h"
using namespace vr;
extern "C" {
#include "struct_converters.h"
}
#include "cppIVRSystem_IVRSystem_015.h"
#ifdef __cplusplus
extern "C" {
#endif
struct cppIVRSystem_IVRSystem_015
{
#ifdef __cplusplus
virtual void GetRecommendedRenderTargetSize( uint32_t *, uint32_t * ) = 0;
virtual HmdMatrix44_t GetProjectionMatrix( uint32_t, float, float ) = 0;
virtual void GetProjectionRaw( uint32_t, float *, float *, float *, float * ) = 0;
virtual bool ComputeDistortion( uint32_t, float, float, DistortionCoordinates_t * ) = 0;
virtual HmdMatrix34_t GetEyeToHeadTransform( uint32_t ) = 0;
virtual bool GetTimeSinceLastVsync( float *, uint64_t * ) = 0;
virtual int32_t GetD3D9AdapterIndex( ) = 0;
virtual void GetDXGIOutputInfo( int32_t * ) = 0;
virtual bool IsDisplayOnDesktop( ) = 0;
virtual bool SetDisplayVisibility( bool ) = 0;
virtual void GetDeviceToAbsoluteTrackingPose( uint32_t, float, TrackedDevicePose_t *, uint32_t ) = 0;
virtual void ResetSeatedZeroPose( ) = 0;
virtual HmdMatrix34_t GetSeatedZeroPoseToStandingAbsoluteTrackingPose( ) = 0;
virtual HmdMatrix34_t GetRawZeroPoseToStandingAbsoluteTrackingPose( ) = 0;
virtual uint32_t GetSortedTrackedDeviceIndicesOfClass( uint32_t, uint32_t *, uint32_t, uint32_t ) = 0;
virtual uint32_t GetTrackedDeviceActivityLevel( uint32_t ) = 0;
virtual void ApplyTransform( TrackedDevicePose_t *, const TrackedDevicePose_t *, const HmdMatrix34_t * ) = 0;
virtual uint32_t GetTrackedDeviceIndexForControllerRole( uint32_t ) = 0;
virtual uint32_t GetControllerRoleForTrackedDeviceIndex( uint32_t ) = 0;
virtual uint32_t GetTrackedDeviceClass( uint32_t ) = 0;
virtual bool IsTrackedDeviceConnected( uint32_t ) = 0;
virtual bool GetBoolTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0;
virtual float GetFloatTrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0;
virtual int32_t GetInt32TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0;
virtual uint64_t GetUint64TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0;
virtual HmdMatrix34_t GetMatrix34TrackedDeviceProperty( uint32_t, uint32_t, uint32_t * ) = 0;
virtual uint32_t GetStringTrackedDeviceProperty( uint32_t, uint32_t, char *, uint32_t, uint32_t * ) = 0;
virtual const char * GetPropErrorNameFromEnum( uint32_t ) = 0;
virtual bool PollNextEvent( VREvent_t *, uint32_t ) = 0;
virtual bool PollNextEventWithPose( uint32_t, VREvent_t *, uint32_t, TrackedDevicePose_t * ) = 0;
virtual const char * GetEventTypeNameFromEnum( uint32_t ) = 0;
virtual HiddenAreaMesh_t GetHiddenAreaMesh( uint32_t, uint32_t ) = 0;
virtual bool GetControllerState( uint32_t, VRControllerState_t *, uint32_t ) = 0;
virtual bool GetControllerStateWithPose( uint32_t, uint32_t, VRControllerState_t *, uint32_t, TrackedDevicePose_t * ) = 0;
virtual void TriggerHapticPulse( uint32_t, uint32_t, uint16_t ) = 0;
virtual const char * GetButtonIdNameFromEnum( uint32_t ) = 0;
virtual const char * GetControllerAxisTypeNameFromEnum( uint32_t ) = 0;
virtual bool CaptureInputFocus( ) = 0;
virtual void ReleaseInputFocus( ) = 0;
virtual bool IsInputFocusCapturedByAnotherProcess( ) = 0;
virtual uint32_t DriverDebugRequest( uint32_t, const char *, char *, uint32_t ) = 0;
virtual uint32_t PerformFirmwareUpdate( uint32_t ) = 0;
virtual void AcknowledgeQuit_Exiting( ) = 0;
virtual void AcknowledgeQuit_UserPrompt( ) = 0;
#endif /* __cplusplus */
};
void cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize( struct cppIVRSystem_IVRSystem_015_GetRecommendedRenderTargetSize_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->GetRecommendedRenderTargetSize( params->pnWidth, params->pnHeight );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetProjectionMatrix( struct cppIVRSystem_IVRSystem_015_GetProjectionMatrix_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
*params->_ret = iface->GetProjectionMatrix( params->eEye, params->fNearZ, params->fFarZ );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetProjectionRaw( struct cppIVRSystem_IVRSystem_015_GetProjectionRaw_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->GetProjectionRaw( params->eEye, params->pfLeft, params->pfRight, params->pfTop, params->pfBottom );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_ComputeDistortion( struct cppIVRSystem_IVRSystem_015_ComputeDistortion_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->ComputeDistortion( params->eEye, params->fU, params->fV, params->pDistortionCoordinates );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform( struct cppIVRSystem_IVRSystem_015_GetEyeToHeadTransform_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
*params->_ret = iface->GetEyeToHeadTransform( params->eEye );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync( struct cppIVRSystem_IVRSystem_015_GetTimeSinceLastVsync_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetTimeSinceLastVsync( params->pfSecondsSinceLastVsync, params->pulFrameCounter );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex( struct cppIVRSystem_IVRSystem_015_GetD3D9AdapterIndex_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetD3D9AdapterIndex( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo( struct cppIVRSystem_IVRSystem_015_GetDXGIOutputInfo_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->GetDXGIOutputInfo( params->pnAdapterIndex );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop( struct cppIVRSystem_IVRSystem_015_IsDisplayOnDesktop_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->IsDisplayOnDesktop( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_SetDisplayVisibility( struct cppIVRSystem_IVRSystem_015_SetDisplayVisibility_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->SetDisplayVisibility( params->bIsVisibleOnDesktop );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetDeviceToAbsoluteTrackingPose_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->GetDeviceToAbsoluteTrackingPose( params->eOrigin, params->fPredictedSecondsToPhotonsFromNow, params->pTrackedDevicePoseArray, params->unTrackedDevicePoseArrayCount );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose( struct cppIVRSystem_IVRSystem_015_ResetSeatedZeroPose_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->ResetSeatedZeroPose( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetSeatedZeroPoseToStandingAbsoluteTrackingPose_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
*params->_ret = iface->GetSeatedZeroPoseToStandingAbsoluteTrackingPose( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose( struct cppIVRSystem_IVRSystem_015_GetRawZeroPoseToStandingAbsoluteTrackingPose_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
*params->_ret = iface->GetRawZeroPoseToStandingAbsoluteTrackingPose( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass( struct cppIVRSystem_IVRSystem_015_GetSortedTrackedDeviceIndicesOfClass_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetSortedTrackedDeviceIndicesOfClass( params->eTrackedDeviceClass, params->punTrackedDeviceIndexArray, params->unTrackedDeviceIndexArrayCount, params->unRelativeToTrackedDeviceIndex );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceActivityLevel_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetTrackedDeviceActivityLevel( params->unDeviceId );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_ApplyTransform( struct cppIVRSystem_IVRSystem_015_ApplyTransform_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->ApplyTransform( params->pOutputPose, params->pTrackedDevicePose, params->pTransform );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceIndexForControllerRole_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetTrackedDeviceIndexForControllerRole( params->unDeviceType );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex( struct cppIVRSystem_IVRSystem_015_GetControllerRoleForTrackedDeviceIndex_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetControllerRoleForTrackedDeviceIndex( params->unDeviceIndex );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass( struct cppIVRSystem_IVRSystem_015_GetTrackedDeviceClass_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetTrackedDeviceClass( params->unDeviceIndex );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected( struct cppIVRSystem_IVRSystem_015_IsTrackedDeviceConnected_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->IsTrackedDeviceConnected( params->unDeviceIndex );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetBoolTrackedDeviceProperty_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetBoolTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetFloatTrackedDeviceProperty_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetFloatTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetInt32TrackedDeviceProperty_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetInt32TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetUint64TrackedDeviceProperty_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetUint64TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetMatrix34TrackedDeviceProperty_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
*params->_ret = iface->GetMatrix34TrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pError );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty( struct cppIVRSystem_IVRSystem_015_GetStringTrackedDeviceProperty_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetStringTrackedDeviceProperty( params->unDeviceIndex, params->prop, params->pchValue, params->unBufferSize, params->pError );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetPropErrorNameFromEnum_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetPropErrorNameFromEnum( params->error );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_PollNextEvent( struct cppIVRSystem_IVRSystem_015_PollNextEvent_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
VREvent_t lin_pEvent;
if (params->pEvent)
struct_VREvent_t_107_win_to_lin( params->pEvent, &lin_pEvent );
uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0;
params->_ret = iface->PollNextEvent( params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent );
if (params->pEvent)
struct_VREvent_t_107_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_PollNextEventWithPose( struct cppIVRSystem_IVRSystem_015_PollNextEventWithPose_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
VREvent_t lin_pEvent;
if (params->pEvent)
struct_VREvent_t_107_win_to_lin( params->pEvent, &lin_pEvent );
uint32_t lin_uncbVREvent = params->uncbVREvent ? sizeof(lin_pEvent) : 0;
params->_ret = iface->PollNextEventWithPose( params->eOrigin, params->pEvent ? &lin_pEvent : nullptr, lin_uncbVREvent, params->pTrackedDevicePose );
if (params->pEvent)
struct_VREvent_t_107_lin_to_win( &lin_pEvent, params->pEvent, params->uncbVREvent );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetEventTypeNameFromEnum_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetEventTypeNameFromEnum( params->eType );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh( struct cppIVRSystem_IVRSystem_015_GetHiddenAreaMesh_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
*params->_ret = iface->GetHiddenAreaMesh( params->eEye, params->type );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetControllerState( struct cppIVRSystem_IVRSystem_015_GetControllerState_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
VRControllerState_t lin_pControllerState;
if (params->pControllerState)
struct_VRControllerState001_t_107_win_to_lin( params->pControllerState, &lin_pControllerState );
uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0;
params->_ret = iface->GetControllerState( params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize );
if (params->pControllerState)
struct_VRControllerState001_t_107_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetControllerStateWithPose( struct cppIVRSystem_IVRSystem_015_GetControllerStateWithPose_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
VRControllerState_t lin_pControllerState;
if (params->pControllerState)
struct_VRControllerState001_t_107_win_to_lin( params->pControllerState, &lin_pControllerState );
uint32_t lin_unControllerStateSize = params->unControllerStateSize ? sizeof(lin_pControllerState) : 0;
params->_ret = iface->GetControllerStateWithPose( params->eOrigin, params->unControllerDeviceIndex, params->pControllerState ? &lin_pControllerState : nullptr, lin_unControllerStateSize, params->pTrackedDevicePose );
if (params->pControllerState)
struct_VRControllerState001_t_107_lin_to_win( &lin_pControllerState, params->pControllerState, params->unControllerStateSize );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_TriggerHapticPulse( struct cppIVRSystem_IVRSystem_015_TriggerHapticPulse_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->TriggerHapticPulse( params->unControllerDeviceIndex, params->unAxisId, params->usDurationMicroSec );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetButtonIdNameFromEnum_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetButtonIdNameFromEnum( params->eButtonId );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum( struct cppIVRSystem_IVRSystem_015_GetControllerAxisTypeNameFromEnum_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->GetControllerAxisTypeNameFromEnum( params->eAxisType );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_CaptureInputFocus( struct cppIVRSystem_IVRSystem_015_CaptureInputFocus_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->CaptureInputFocus( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_ReleaseInputFocus( struct cppIVRSystem_IVRSystem_015_ReleaseInputFocus_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->ReleaseInputFocus( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess( struct cppIVRSystem_IVRSystem_015_IsInputFocusCapturedByAnotherProcess_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->IsInputFocusCapturedByAnotherProcess( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_DriverDebugRequest( struct cppIVRSystem_IVRSystem_015_DriverDebugRequest_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->DriverDebugRequest( params->unDeviceIndex, params->pchRequest, params->pchResponseBuffer, params->unResponseBufferSize );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate( struct cppIVRSystem_IVRSystem_015_PerformFirmwareUpdate_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
params->_ret = iface->PerformFirmwareUpdate( params->unDeviceIndex );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_Exiting_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->AcknowledgeQuit_Exiting( );
2018-01-18 22:29:49 +03:00
}
void cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt( struct cppIVRSystem_IVRSystem_015_AcknowledgeQuit_UserPrompt_params *params )
2018-01-18 22:29:49 +03:00
{
struct cppIVRSystem_IVRSystem_015 *iface = (struct cppIVRSystem_IVRSystem_015 *)params->linux_side;
iface->AcknowledgeQuit_UserPrompt( );
2018-01-18 22:29:49 +03:00
}
#ifdef __cplusplus
}
#endif