Yucom/lsteamclient/cppISteamController_SteamController005.cpp

208 lines
12 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#if 0
#pragma makedep unix
#endif
NTSTATUS ISteamController_SteamController005_Init( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_Init_params *params = (struct ISteamController_SteamController005_Init_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->Init( );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_Shutdown( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_Shutdown_params *params = (struct ISteamController_SteamController005_Shutdown_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->Shutdown( );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_RunFrame( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_RunFrame_params *params = (struct ISteamController_SteamController005_RunFrame_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
iface->RunFrame( );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetConnectedControllers( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetConnectedControllers_params *params = (struct ISteamController_SteamController005_GetConnectedControllers_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetConnectedControllers( params->handlesOut );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_ShowBindingPanel( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_ShowBindingPanel_params *params = (struct ISteamController_SteamController005_ShowBindingPanel_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->ShowBindingPanel( params->controllerHandle );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetActionSetHandle( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetActionSetHandle_params *params = (struct ISteamController_SteamController005_GetActionSetHandle_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetActionSetHandle( params->pszActionSetName );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_ActivateActionSet( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_ActivateActionSet_params *params = (struct ISteamController_SteamController005_ActivateActionSet_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetCurrentActionSet( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetCurrentActionSet_params *params = (struct ISteamController_SteamController005_GetCurrentActionSet_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetCurrentActionSet( params->controllerHandle );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetDigitalActionHandle( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController005_GetDigitalActionHandle_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetDigitalActionHandle( params->pszActionName );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetDigitalActionData( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetDigitalActionData_params *params = (struct ISteamController_SteamController005_GetDigitalActionData_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
*params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetDigitalActionOrigins( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController005_GetDigitalActionOrigins_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetAnalogActionHandle( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController005_GetAnalogActionHandle_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetAnalogActionHandle( params->pszActionName );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetAnalogActionData( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetAnalogActionData_params *params = (struct ISteamController_SteamController005_GetAnalogActionData_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
*params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetAnalogActionOrigins( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController005_GetAnalogActionOrigins_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_StopAnalogActionMomentum( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController005_StopAnalogActionMomentum_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_TriggerHapticPulse( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_TriggerHapticPulse_params *params = (struct ISteamController_SteamController005_TriggerHapticPulse_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_TriggerRepeatedHapticPulse( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController005_TriggerRepeatedHapticPulse_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_TriggerVibration( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_TriggerVibration_params *params = (struct ISteamController_SteamController005_TriggerVibration_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
iface->TriggerVibration( params->controllerHandle, params->usLeftSpeed, params->usRightSpeed );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_SetLEDColor( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_SetLEDColor_params *params = (struct ISteamController_SteamController005_SetLEDColor_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
iface->SetLEDColor( params->controllerHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetGamepadIndexForController( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController005_GetGamepadIndexForController_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetControllerForGamepadIndex( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController005_GetControllerForGamepadIndex_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetControllerForGamepadIndex( params->nIndex );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetMotionData( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetMotionData_params *params = (struct ISteamController_SteamController005_GetMotionData_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
*params->_ret = iface->GetMotionData( params->controllerHandle );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_ShowDigitalActionOrigins( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_ShowDigitalActionOrigins_params *params = (struct ISteamController_SteamController005_ShowDigitalActionOrigins_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->ShowDigitalActionOrigins( params->controllerHandle, params->digitalActionHandle, params->flScale, params->flXPosition, params->flYPosition );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_ShowAnalogActionOrigins( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_ShowAnalogActionOrigins_params *params = (struct ISteamController_SteamController005_ShowAnalogActionOrigins_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->ShowAnalogActionOrigins( params->controllerHandle, params->analogActionHandle, params->flScale, params->flXPosition, params->flYPosition );
return 0;
2018-01-18 17:24:05 +01:00
}
NTSTATUS ISteamController_SteamController005_GetStringForActionOrigin( void *args )
2018-01-18 17:24:05 +01:00
{
struct ISteamController_SteamController005_GetStringForActionOrigin_params *params = (struct ISteamController_SteamController005_GetStringForActionOrigin_params *)args;
struct u_ISteamController_SteamController005 *iface = (struct u_ISteamController_SteamController005 *)params->linux_side;
params->_ret = iface->GetStringForActionOrigin( params->eOrigin );
return 0;
2018-01-18 17:24:05 +01:00
}