2023-09-30 14:02:30 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-23 23:44:45 +02:00
|
|
|
|
2023-10-03 11:04:33 +02:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_Init( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_Init_params *params = (struct ISteamController_SteamController004_Init_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->Init( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_Shutdown( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_Shutdown_params *params = (struct ISteamController_SteamController004_Shutdown_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->Shutdown( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_RunFrame( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_RunFrame_params *params = (struct ISteamController_SteamController004_RunFrame_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->RunFrame( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetConnectedControllers( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetConnectedControllers_params *params = (struct ISteamController_SteamController004_GetConnectedControllers_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetConnectedControllers( params->handlesOut );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_ShowBindingPanel( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_ShowBindingPanel_params *params = (struct ISteamController_SteamController004_ShowBindingPanel_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->ShowBindingPanel( params->controllerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetActionSetHandle( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetActionSetHandle_params *params = (struct ISteamController_SteamController004_GetActionSetHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetActionSetHandle( params->pszActionSetName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_ActivateActionSet( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_ActivateActionSet_params *params = (struct ISteamController_SteamController004_ActivateActionSet_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->ActivateActionSet( params->controllerHandle, params->actionSetHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetCurrentActionSet( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetCurrentActionSet_params *params = (struct ISteamController_SteamController004_GetCurrentActionSet_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetCurrentActionSet( params->controllerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetDigitalActionHandle( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController004_GetDigitalActionHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetDigitalActionHandle( params->pszActionName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetDigitalActionData( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetDigitalActionData_params *params = (struct ISteamController_SteamController004_GetDigitalActionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetDigitalActionData( params->controllerHandle, params->digitalActionHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetDigitalActionOrigins( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController004_GetDigitalActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetDigitalActionOrigins( params->controllerHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetAnalogActionHandle( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController004_GetAnalogActionHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetAnalogActionHandle( params->pszActionName );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetAnalogActionData( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetAnalogActionData_params *params = (struct ISteamController_SteamController004_GetAnalogActionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetAnalogActionData( params->controllerHandle, params->analogActionHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetAnalogActionOrigins( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController004_GetAnalogActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetAnalogActionOrigins( params->controllerHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_StopAnalogActionMomentum( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController004_StopAnalogActionMomentum_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->StopAnalogActionMomentum( params->controllerHandle, params->eAction );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_TriggerHapticPulse( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_TriggerHapticPulse_params *params = (struct ISteamController_SteamController004_TriggerHapticPulse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TriggerHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_TriggerRepeatedHapticPulse( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController004_TriggerRepeatedHapticPulse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TriggerRepeatedHapticPulse( params->controllerHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetGamepadIndexForController( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController004_GetGamepadIndexForController_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetGamepadIndexForController( params->ulControllerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetControllerForGamepadIndex( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController004_GetControllerForGamepadIndex_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetControllerForGamepadIndex( params->nIndex );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_GetMotionData( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_GetMotionData_params *params = (struct ISteamController_SteamController004_GetMotionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetMotionData( params->controllerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_ShowDigitalActionOrigins( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_ShowDigitalActionOrigins_params *params = (struct ISteamController_SteamController004_ShowDigitalActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->ShowDigitalActionOrigins( params->controllerHandle, params->digitalActionHandle, params->flScale, params->flXPosition, params->flYPosition );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController004_ShowAnalogActionOrigins( void *args )
|
2018-01-18 17:24:05 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController004_ShowAnalogActionOrigins_params *params = (struct ISteamController_SteamController004_ShowAnalogActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController004 *iface = (struct u_ISteamController_SteamController004 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->ShowAnalogActionOrigins( params->controllerHandle, params->analogActionHandle, params->flScale, params->flXPosition, params->flYPosition );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|