Proton/lsteamclient/cppISteamController_SteamController008.hpp

237 lines
14 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
2021-03-01 19:04:28 +03:00
#include "cppISteamController_SteamController008.h"
struct u_ISteamController_SteamController008
{
#ifdef __cplusplus
virtual bool Init( ) = 0;
virtual bool Shutdown( ) = 0;
virtual void RunFrame( ) = 0;
virtual int32_t GetConnectedControllers( 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 void ActivateActionSetLayer( uint64_t, uint64_t ) = 0;
virtual void DeactivateActionSetLayer( uint64_t, uint64_t ) = 0;
virtual void DeactivateAllActionSetLayers( uint64_t ) = 0;
virtual int32_t GetActiveActionSetLayers( uint64_t, uint64_t * ) = 0;
virtual uint64_t GetDigitalActionHandle( const char * ) = 0;
virtual InputDigitalActionData_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 InputAnalogActionData_t GetAnalogActionData( uint64_t, uint64_t ) = 0;
virtual int32_t GetAnalogActionOrigins( uint64_t, uint64_t, uint64_t, uint32_t * ) = 0;
virtual const char * GetGlyphForActionOrigin( uint32_t ) = 0;
virtual const char * GetStringForActionOrigin( uint32_t ) = 0;
virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0;
virtual InputMotionData_t GetMotionData( 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;
virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0;
virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0;
virtual bool ShowBindingPanel( uint64_t ) = 0;
virtual uint32_t GetInputTypeForHandle( uint64_t ) = 0;
virtual uint64_t GetControllerForGamepadIndex( int32_t ) = 0;
virtual int32_t GetGamepadIndexForController( uint64_t ) = 0;
virtual const char * GetStringForXboxOrigin( uint32_t ) = 0;
virtual const char * GetGlyphForXboxOrigin( uint32_t ) = 0;
virtual uint32_t GetActionOriginFromXboxOrigin( uint64_t, uint32_t ) = 0;
virtual uint32_t TranslateActionOrigin( uint32_t, uint32_t ) = 0;
virtual bool GetControllerBindingRevision( uint64_t, int32_t *, int32_t * ) = 0;
#endif /* __cplusplus */
};
void cppISteamController_SteamController008_Init( struct cppISteamController_SteamController008_Init_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->Init( );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_Shutdown( struct cppISteamController_SteamController008_Shutdown_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->Shutdown( );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_RunFrame( struct cppISteamController_SteamController008_RunFrame_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->RunFrame( );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetConnectedControllers( struct cppISteamController_SteamController008_GetConnectedControllers_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetConnectedControllers( params->handlesOut );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetActionSetHandle( struct cppISteamController_SteamController008_GetActionSetHandle_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetActionSetHandle( params->pszActionSetName );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_ActivateActionSet( struct cppISteamController_SteamController008_ActivateActionSet_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetCurrentActionSet( struct cppISteamController_SteamController008_GetCurrentActionSet_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetCurrentActionSet( params->controllerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_ActivateActionSetLayer( struct cppISteamController_SteamController008_ActivateActionSetLayer_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->ActivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_DeactivateActionSetLayer( struct cppISteamController_SteamController008_DeactivateActionSetLayer_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->DeactivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_DeactivateAllActionSetLayers( struct cppISteamController_SteamController008_DeactivateAllActionSetLayers_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->DeactivateAllActionSetLayers( params->controllerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetActiveActionSetLayers( struct cppISteamController_SteamController008_GetActiveActionSetLayers_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetActiveActionSetLayers( params->controllerHandle, params->handlesOut );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetDigitalActionHandle( struct cppISteamController_SteamController008_GetDigitalActionHandle_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetDigitalActionHandle( params->pszActionName );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetDigitalActionData( struct cppISteamController_SteamController008_GetDigitalActionData_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
*params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetDigitalActionOrigins( struct cppISteamController_SteamController008_GetDigitalActionOrigins_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetAnalogActionHandle( struct cppISteamController_SteamController008_GetAnalogActionHandle_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetAnalogActionHandle( params->pszActionName );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetAnalogActionData( struct cppISteamController_SteamController008_GetAnalogActionData_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
*params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetAnalogActionOrigins( struct cppISteamController_SteamController008_GetAnalogActionOrigins_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetStringForActionOrigin( struct cppISteamController_SteamController008_GetStringForActionOrigin_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetStringForActionOrigin( params->eOrigin );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_StopAnalogActionMomentum( struct cppISteamController_SteamController008_StopAnalogActionMomentum_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetMotionData( struct cppISteamController_SteamController008_GetMotionData_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
*params->_ret = iface->GetMotionData( params->controllerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_TriggerHapticPulse( struct cppISteamController_SteamController008_TriggerHapticPulse_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_TriggerRepeatedHapticPulse( struct cppISteamController_SteamController008_TriggerRepeatedHapticPulse_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_TriggerVibration( struct cppISteamController_SteamController008_TriggerVibration_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->TriggerVibration( params->controllerHandle, params->usLeftSpeed, params->usRightSpeed );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_SetLEDColor( struct cppISteamController_SteamController008_SetLEDColor_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
iface->SetLEDColor( params->controllerHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_ShowBindingPanel( struct cppISteamController_SteamController008_ShowBindingPanel_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->ShowBindingPanel( params->controllerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetInputTypeForHandle( struct cppISteamController_SteamController008_GetInputTypeForHandle_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetInputTypeForHandle( params->controllerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetControllerForGamepadIndex( struct cppISteamController_SteamController008_GetControllerForGamepadIndex_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetControllerForGamepadIndex( params->nIndex );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetGamepadIndexForController( struct cppISteamController_SteamController008_GetGamepadIndexForController_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetStringForXboxOrigin( struct cppISteamController_SteamController008_GetStringForXboxOrigin_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetStringForXboxOrigin( params->eOrigin );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetActionOriginFromXboxOrigin( struct cppISteamController_SteamController008_GetActionOriginFromXboxOrigin_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetActionOriginFromXboxOrigin( params->controllerHandle, params->eOrigin );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_TranslateActionOrigin( struct cppISteamController_SteamController008_TranslateActionOrigin_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin );
2021-03-01 19:04:28 +03:00
}
void cppISteamController_SteamController008_GetControllerBindingRevision( struct cppISteamController_SteamController008_GetControllerBindingRevision_params *params )
2021-03-01 19:04:28 +03:00
{
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
params->_ret = iface->GetControllerBindingRevision( params->controllerHandle, params->pMajor, params->pMinor );
2021-03-01 19:04:28 +03:00
}