Proton/lsteamclient/cppISteamInput_SteamInput001.hpp

244 lines
13 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
2019-02-25 18:53:13 +03:00
#include "cppISteamInput_SteamInput001.h"
struct u_ISteamInput_SteamInput001
{
#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 TriggerVibration( uint64_t, uint16_t, uint16_t ) = 0;
virtual void SetLEDColor( uint64_t, uint8_t, uint8_t, uint8_t, uint32_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 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;
#endif /* __cplusplus */
};
void cppISteamInput_SteamInput001_Init( struct cppISteamInput_SteamInput001_Init_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->Init( );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_Shutdown( struct cppISteamInput_SteamInput001_Shutdown_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->Shutdown( );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_RunFrame( struct cppISteamInput_SteamInput001_RunFrame_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->RunFrame( );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetConnectedControllers( struct cppISteamInput_SteamInput001_GetConnectedControllers_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetConnectedControllers( params->handlesOut );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetActionSetHandle( struct cppISteamInput_SteamInput001_GetActionSetHandle_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetActionSetHandle( params->pszActionSetName );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_ActivateActionSet( struct cppISteamInput_SteamInput001_ActivateActionSet_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->ActivateActionSet( params->inputHandle, params->actionSetHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetCurrentActionSet( struct cppISteamInput_SteamInput001_GetCurrentActionSet_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetCurrentActionSet( params->inputHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_ActivateActionSetLayer( struct cppISteamInput_SteamInput001_ActivateActionSetLayer_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->ActivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_DeactivateActionSetLayer( struct cppISteamInput_SteamInput001_DeactivateActionSetLayer_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->DeactivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_DeactivateAllActionSetLayers( struct cppISteamInput_SteamInput001_DeactivateAllActionSetLayers_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->DeactivateAllActionSetLayers( params->inputHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetActiveActionSetLayers( struct cppISteamInput_SteamInput001_GetActiveActionSetLayers_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetActiveActionSetLayers( params->inputHandle, params->handlesOut );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetDigitalActionHandle( struct cppISteamInput_SteamInput001_GetDigitalActionHandle_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetDigitalActionHandle( params->pszActionName );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetDigitalActionData( struct cppISteamInput_SteamInput001_GetDigitalActionData_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
*params->_ret = iface->GetDigitalActionData( params->inputHandle, params->digitalActionHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetDigitalActionOrigins( struct cppISteamInput_SteamInput001_GetDigitalActionOrigins_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetDigitalActionOrigins( params->inputHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetAnalogActionHandle( struct cppISteamInput_SteamInput001_GetAnalogActionHandle_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetAnalogActionHandle( params->pszActionName );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetAnalogActionData( struct cppISteamInput_SteamInput001_GetAnalogActionData_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
*params->_ret = iface->GetAnalogActionData( params->inputHandle, params->analogActionHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetAnalogActionOrigins( struct cppISteamInput_SteamInput001_GetAnalogActionOrigins_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetAnalogActionOrigins( params->inputHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetStringForActionOrigin( struct cppISteamInput_SteamInput001_GetStringForActionOrigin_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetStringForActionOrigin( params->eOrigin );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_StopAnalogActionMomentum( struct cppISteamInput_SteamInput001_StopAnalogActionMomentum_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->StopAnalogActionMomentum( params->inputHandle, params->eAction );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetMotionData( struct cppISteamInput_SteamInput001_GetMotionData_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
*params->_ret = iface->GetMotionData( params->inputHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_TriggerVibration( struct cppISteamInput_SteamInput001_TriggerVibration_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->TriggerVibration( params->inputHandle, params->usLeftSpeed, params->usRightSpeed );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_SetLEDColor( struct cppISteamInput_SteamInput001_SetLEDColor_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->SetLEDColor( params->inputHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_TriggerHapticPulse( struct cppISteamInput_SteamInput001_TriggerHapticPulse_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->TriggerHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse( struct cppISteamInput_SteamInput001_TriggerRepeatedHapticPulse_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
iface->TriggerRepeatedHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_ShowBindingPanel( struct cppISteamInput_SteamInput001_ShowBindingPanel_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->ShowBindingPanel( params->inputHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetInputTypeForHandle( struct cppISteamInput_SteamInput001_GetInputTypeForHandle_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetInputTypeForHandle( params->inputHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetControllerForGamepadIndex( struct cppISteamInput_SteamInput001_GetControllerForGamepadIndex_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetControllerForGamepadIndex( params->nIndex );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetGamepadIndexForController( struct cppISteamInput_SteamInput001_GetGamepadIndexForController_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetGamepadIndexForController( params->ulinputHandle );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetStringForXboxOrigin( struct cppISteamInput_SteamInput001_GetStringForXboxOrigin_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetStringForXboxOrigin( params->eOrigin );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin( struct cppISteamInput_SteamInput001_GetActionOriginFromXboxOrigin_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetActionOriginFromXboxOrigin( params->inputHandle, params->eOrigin );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_TranslateActionOrigin( struct cppISteamInput_SteamInput001_TranslateActionOrigin_params *params )
2019-02-25 18:53:13 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin );
2019-02-25 18:53:13 +03:00
}
void cppISteamInput_SteamInput001_GetDeviceBindingRevision( struct cppISteamInput_SteamInput001_GetDeviceBindingRevision_params *params )
2019-08-16 15:44:08 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetDeviceBindingRevision( params->inputHandle, params->pMajor, params->pMinor );
2019-08-16 15:44:08 +03:00
}
void cppISteamInput_SteamInput001_GetRemotePlaySessionID( struct cppISteamInput_SteamInput001_GetRemotePlaySessionID_params *params )
2019-08-16 16:39:30 +03:00
{
struct u_ISteamInput_SteamInput001 *iface = (struct u_ISteamInput_SteamInput001 *)params->linux_side;
params->_ret = iface->GetRemotePlaySessionID( params->inputHandle );
2019-08-16 16:39:30 +03:00
}