Proton/lsteamclient/cppISteamInput_SteamInput005.hpp

310 lines
17 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
2021-09-15 22:52:44 +03:00
#include "cppISteamInput_SteamInput005.h"
struct u_ISteamInput_SteamInput005
{
#ifdef __cplusplus
virtual bool Init( bool ) = 0;
virtual bool Shutdown( ) = 0;
virtual bool SetInputActionManifestFilePath( const char * ) = 0;
virtual void RunFrame( bool ) = 0;
virtual bool BWaitForData( bool, uint32_t ) = 0;
virtual bool BNewDataAvailable( ) = 0;
virtual int32_t GetConnectedControllers( uint64_t * ) = 0;
virtual void EnableDeviceCallbacks( ) = 0;
virtual void EnableActionEventCallbacks( void (*U_STDCALL )(SteamInputActionEvent_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 const char * GetStringForDigitalActionName( uint64_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 * GetGlyphPNGForActionOrigin( uint32_t, uint32_t, uint32_t ) = 0;
virtual const char * GetGlyphSVGForActionOrigin( uint32_t, uint32_t ) = 0;
virtual const char * GetGlyphForActionOrigin_Legacy( uint32_t ) = 0;
virtual const char * GetStringForActionOrigin( uint32_t ) = 0;
virtual const char * GetStringForAnalogActionName( uint64_t ) = 0;
virtual void StopAnalogActionMomentum( uint64_t, uint64_t ) = 0;
virtual InputMotionData_t GetMotionData( uint64_t ) = 0;
virtual void TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0;
virtual void TriggerVibrationExtended( uint64_t, uint16_t, uint16_t, uint16_t, uint16_t ) = 0;
virtual void TriggerSimpleHapticEvent( uint64_t, uint32_t, uint8_t, char, uint8_t, char ) = 0;
virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_t ) = 0;
virtual void Legacy_TriggerHapticPulse( uint64_t, uint32_t, uint16_t ) = 0;
virtual void Legacy_TriggerRepeatedHapticPulse( uint64_t, uint32_t, uint16_t, uint16_t, uint16_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 GetDeviceBindingRevision( uint64_t, int32_t *, int32_t * ) = 0;
virtual uint32_t GetRemotePlaySessionID( uint64_t ) = 0;
virtual uint16_t GetSessionInputConfigurationSettings( ) = 0;
#endif /* __cplusplus */
};
void cppISteamInput_SteamInput005_Init( struct cppISteamInput_SteamInput005_Init_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->Init( params->bExplicitlyCallRunFrame );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_Shutdown( struct cppISteamInput_SteamInput005_Shutdown_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->Shutdown( );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_SetInputActionManifestFilePath( struct cppISteamInput_SteamInput005_SetInputActionManifestFilePath_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->SetInputActionManifestFilePath( params->pchInputActionManifestAbsolutePath );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_RunFrame( struct cppISteamInput_SteamInput005_RunFrame_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->RunFrame( params->bReservedValue );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_BWaitForData( struct cppISteamInput_SteamInput005_BWaitForData_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->BWaitForData( params->bWaitForever, params->unTimeout );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_BNewDataAvailable( struct cppISteamInput_SteamInput005_BNewDataAvailable_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->BNewDataAvailable( );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetConnectedControllers( struct cppISteamInput_SteamInput005_GetConnectedControllers_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetConnectedControllers( params->handlesOut );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_EnableDeviceCallbacks( struct cppISteamInput_SteamInput005_EnableDeviceCallbacks_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->EnableDeviceCallbacks( );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetActionSetHandle( struct cppISteamInput_SteamInput005_GetActionSetHandle_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetActionSetHandle( params->pszActionSetName );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_ActivateActionSet( struct cppISteamInput_SteamInput005_ActivateActionSet_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->ActivateActionSet( params->inputHandle, params->actionSetHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetCurrentActionSet( struct cppISteamInput_SteamInput005_GetCurrentActionSet_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetCurrentActionSet( params->inputHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_ActivateActionSetLayer( struct cppISteamInput_SteamInput005_ActivateActionSetLayer_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->ActivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_DeactivateActionSetLayer( struct cppISteamInput_SteamInput005_DeactivateActionSetLayer_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->DeactivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput005_DeactivateAllActionSetLayers_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->DeactivateAllActionSetLayers( params->inputHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetActiveActionSetLayers( struct cppISteamInput_SteamInput005_GetActiveActionSetLayers_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetActiveActionSetLayers( params->inputHandle, params->handlesOut );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetDigitalActionHandle( struct cppISteamInput_SteamInput005_GetDigitalActionHandle_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetDigitalActionHandle( params->pszActionName );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetDigitalActionData( struct cppISteamInput_SteamInput005_GetDigitalActionData_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
*params->_ret = iface->GetDigitalActionData( params->inputHandle, params->digitalActionHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetDigitalActionOrigins( struct cppISteamInput_SteamInput005_GetDigitalActionOrigins_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetDigitalActionOrigins( params->inputHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetStringForDigitalActionName( struct cppISteamInput_SteamInput005_GetStringForDigitalActionName_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetStringForDigitalActionName( params->eActionHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetAnalogActionHandle( struct cppISteamInput_SteamInput005_GetAnalogActionHandle_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetAnalogActionHandle( params->pszActionName );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetAnalogActionData( struct cppISteamInput_SteamInput005_GetAnalogActionData_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
*params->_ret = iface->GetAnalogActionData( params->inputHandle, params->analogActionHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetAnalogActionOrigins( struct cppISteamInput_SteamInput005_GetAnalogActionOrigins_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetAnalogActionOrigins( params->inputHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetStringForActionOrigin( struct cppISteamInput_SteamInput005_GetStringForActionOrigin_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetStringForActionOrigin( params->eOrigin );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetStringForAnalogActionName( struct cppISteamInput_SteamInput005_GetStringForAnalogActionName_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetStringForAnalogActionName( params->eActionHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_StopAnalogActionMomentum( struct cppISteamInput_SteamInput005_StopAnalogActionMomentum_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->StopAnalogActionMomentum( params->inputHandle, params->eAction );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetMotionData( struct cppISteamInput_SteamInput005_GetMotionData_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
*params->_ret = iface->GetMotionData( params->inputHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_TriggerVibration( struct cppISteamInput_SteamInput005_TriggerVibration_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->TriggerVibration( params->inputHandle, params->usLeftSpeed, params->usRightSpeed );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_TriggerVibrationExtended( struct cppISteamInput_SteamInput005_TriggerVibrationExtended_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->TriggerVibrationExtended( params->inputHandle, params->usLeftSpeed, params->usRightSpeed, params->usLeftTriggerSpeed, params->usRightTriggerSpeed );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_TriggerSimpleHapticEvent( struct cppISteamInput_SteamInput005_TriggerSimpleHapticEvent_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->TriggerSimpleHapticEvent( params->inputHandle, params->eHapticLocation, params->nIntensity, params->nGainDB, params->nOtherIntensity, params->nOtherGainDB );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_SetLEDColor( struct cppISteamInput_SteamInput005_SetLEDColor_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->SetLEDColor( params->inputHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse( struct cppISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->Legacy_TriggerHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
iface->Legacy_TriggerRepeatedHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_ShowBindingPanel( struct cppISteamInput_SteamInput005_ShowBindingPanel_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->ShowBindingPanel( params->inputHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetInputTypeForHandle( struct cppISteamInput_SteamInput005_GetInputTypeForHandle_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetInputTypeForHandle( params->inputHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput005_GetControllerForGamepadIndex_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetControllerForGamepadIndex( params->nIndex );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetGamepadIndexForController( struct cppISteamInput_SteamInput005_GetGamepadIndexForController_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetGamepadIndexForController( params->ulinputHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetStringForXboxOrigin( struct cppISteamInput_SteamInput005_GetStringForXboxOrigin_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetStringForXboxOrigin( params->eOrigin );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetActionOriginFromXboxOrigin( params->inputHandle, params->eOrigin );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_TranslateActionOrigin( struct cppISteamInput_SteamInput005_TranslateActionOrigin_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetDeviceBindingRevision( struct cppISteamInput_SteamInput005_GetDeviceBindingRevision_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetDeviceBindingRevision( params->inputHandle, params->pMajor, params->pMinor );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetRemotePlaySessionID( struct cppISteamInput_SteamInput005_GetRemotePlaySessionID_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetRemotePlaySessionID( params->inputHandle );
2021-09-15 22:52:44 +03:00
}
void cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings( struct cppISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params *params )
2021-09-15 22:52:44 +03:00
{
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
params->_ret = iface->GetSessionInputConfigurationSettings( );
2021-09-15 22:52:44 +03:00
}