Proton/lsteamclient/cppISteamController_SteamController003.cpp

130 lines
7.4 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#include "cppISteamController_SteamController003.h"
struct u_ISteamController_SteamController003
{
#ifdef __cplusplus
virtual bool Init( ) = 0;
virtual bool Shutdown( ) = 0;
virtual void RunFrame( ) = 0;
virtual int32_t GetConnectedControllers( uint64_t * ) = 0;
virtual bool ShowBindingPanel( uint64_t ) = 0;
virtual uint64_t GetActionSetHandle( const char * ) = 0;
virtual void ActivateActionSet( uint64_t, uint64_t ) = 0;
virtual uint64_t GetCurrentActionSet( uint64_t ) = 0;
virtual uint64_t GetDigitalActionHandle( const char * ) = 0;
virtual ControllerDigitalActionData_t GetDigitalActionData( uint64_t, uint64_t ) = 0;
virtual int32_t GetDigitalActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0;
virtual uint64_t GetAnalogActionHandle( const char * ) = 0;
virtual ControllerAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0;
virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0;
virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0;
virtual void TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0;
virtual void TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_t, uint32_t ) = 0;
#endif /* __cplusplus */
};
void cppISteamController_SteamController003_Init( struct cppISteamController_SteamController003_Init_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->Init( );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_Shutdown( struct cppISteamController_SteamController003_Shutdown_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->Shutdown( );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_RunFrame( struct cppISteamController_SteamController003_RunFrame_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
iface->RunFrame( );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetConnectedControllers( struct cppISteamController_SteamController003_GetConnectedControllers_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->GetConnectedControllers( params->handlesOut );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_ShowBindingPanel( struct cppISteamController_SteamController003_ShowBindingPanel_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->ShowBindingPanel( params->controllerHandle );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetActionSetHandle( struct cppISteamController_SteamController003_GetActionSetHandle_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->GetActionSetHandle( params->pszActionSetName );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_ActivateActionSet( struct cppISteamController_SteamController003_ActivateActionSet_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetCurrentActionSet( struct cppISteamController_SteamController003_GetCurrentActionSet_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->GetCurrentActionSet( params->controllerHandle );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetDigitalActionHandle( struct cppISteamController_SteamController003_GetDigitalActionHandle_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->GetDigitalActionHandle( params->pszActionName );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetDigitalActionData( struct cppISteamController_SteamController003_GetDigitalActionData_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
*params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetDigitalActionOrigins( struct cppISteamController_SteamController003_GetDigitalActionOrigins_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetAnalogActionHandle( struct cppISteamController_SteamController003_GetAnalogActionHandle_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->GetAnalogActionHandle( params->pszActionName );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetAnalogActionData( struct cppISteamController_SteamController003_GetAnalogActionData_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
*params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_GetAnalogActionOrigins( struct cppISteamController_SteamController003_GetAnalogActionOrigins_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_StopAnalogActionMomentum( struct cppISteamController_SteamController003_StopAnalogActionMomentum_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_TriggerHapticPulse( struct cppISteamController_SteamController003_TriggerHapticPulse_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec );
2018-01-18 19:24:05 +03:00
}
void cppISteamController_SteamController003_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController003_TriggerRepeatedHapticPulse_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamController_SteamController003 *iface = (struct u_ISteamController_SteamController003 *)params->linux_side;
iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags );
2018-01-18 19:24:05 +03:00
}