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_SteamController008_Init( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_Init_params *params = (struct ISteamController_SteamController008_Init_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_Shutdown( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_Shutdown_params *params = (struct ISteamController_SteamController008_Shutdown_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_RunFrame( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_RunFrame_params *params = (struct ISteamController_SteamController008_RunFrame_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->RunFrame( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetConnectedControllers( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetConnectedControllers_params *params = (struct ISteamController_SteamController008_GetConnectedControllers_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetActionSetHandle( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetActionSetHandle_params *params = (struct ISteamController_SteamController008_GetActionSetHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_ActivateActionSet( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_ActivateActionSet_params *params = (struct ISteamController_SteamController008_ActivateActionSet_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetCurrentActionSet( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetCurrentActionSet_params *params = (struct ISteamController_SteamController008_GetCurrentActionSet_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_ActivateActionSetLayer( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_ActivateActionSetLayer_params *params = (struct ISteamController_SteamController008_ActivateActionSetLayer_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->ActivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_DeactivateActionSetLayer( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_DeactivateActionSetLayer_params *params = (struct ISteamController_SteamController008_DeactivateActionSetLayer_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->DeactivateActionSetLayer( params->controllerHandle, params->actionSetLayerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_DeactivateAllActionSetLayers( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_DeactivateAllActionSetLayers_params *params = (struct ISteamController_SteamController008_DeactivateAllActionSetLayers_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->DeactivateAllActionSetLayers( params->controllerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetActiveActionSetLayers( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetActiveActionSetLayers_params *params = (struct ISteamController_SteamController008_GetActiveActionSetLayers_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetActiveActionSetLayers( params->controllerHandle, params->handlesOut );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetDigitalActionHandle( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetDigitalActionHandle_params *params = (struct ISteamController_SteamController008_GetDigitalActionHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetDigitalActionData( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetDigitalActionData_params *params = (struct ISteamController_SteamController008_GetDigitalActionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetDigitalActionOrigins( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetDigitalActionOrigins_params *params = (struct ISteamController_SteamController008_GetDigitalActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetAnalogActionHandle( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetAnalogActionHandle_params *params = (struct ISteamController_SteamController008_GetAnalogActionHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetAnalogActionData( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetAnalogActionData_params *params = (struct ISteamController_SteamController008_GetAnalogActionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetAnalogActionOrigins( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetAnalogActionOrigins_params *params = (struct ISteamController_SteamController008_GetAnalogActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetStringForActionOrigin( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetStringForActionOrigin_params *params = (struct ISteamController_SteamController008_GetStringForActionOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetStringForActionOrigin( params->eOrigin );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_StopAnalogActionMomentum( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_StopAnalogActionMomentum_params *params = (struct ISteamController_SteamController008_StopAnalogActionMomentum_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetMotionData( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetMotionData_params *params = (struct ISteamController_SteamController008_GetMotionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_TriggerHapticPulse( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_TriggerHapticPulse_params *params = (struct ISteamController_SteamController008_TriggerHapticPulse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_TriggerRepeatedHapticPulse( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_TriggerRepeatedHapticPulse_params *params = (struct ISteamController_SteamController008_TriggerRepeatedHapticPulse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_TriggerVibration( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_TriggerVibration_params *params = (struct ISteamController_SteamController008_TriggerVibration_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TriggerVibration( params->controllerHandle, params->usLeftSpeed, params->usRightSpeed );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_SetLEDColor( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_SetLEDColor_params *params = (struct ISteamController_SteamController008_SetLEDColor_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->SetLEDColor( params->controllerHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_ShowBindingPanel( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_ShowBindingPanel_params *params = (struct ISteamController_SteamController008_ShowBindingPanel_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetInputTypeForHandle( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetInputTypeForHandle_params *params = (struct ISteamController_SteamController008_GetInputTypeForHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetInputTypeForHandle( params->controllerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetControllerForGamepadIndex( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetControllerForGamepadIndex_params *params = (struct ISteamController_SteamController008_GetControllerForGamepadIndex_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetGamepadIndexForController( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetGamepadIndexForController_params *params = (struct ISteamController_SteamController008_GetGamepadIndexForController_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)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;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetStringForXboxOrigin( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetStringForXboxOrigin_params *params = (struct ISteamController_SteamController008_GetStringForXboxOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetStringForXboxOrigin( params->eOrigin );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetActionOriginFromXboxOrigin( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetActionOriginFromXboxOrigin_params *params = (struct ISteamController_SteamController008_GetActionOriginFromXboxOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetActionOriginFromXboxOrigin( params->controllerHandle, params->eOrigin );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_TranslateActionOrigin( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_TranslateActionOrigin_params *params = (struct ISteamController_SteamController008_TranslateActionOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->TranslateActionOrigin( params->eDestinationInputType, params->eSourceOrigin );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamController_SteamController008_GetControllerBindingRevision( void *args )
|
2021-03-01 17:04:28 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamController_SteamController008_GetControllerBindingRevision_params *params = (struct ISteamController_SteamController008_GetControllerBindingRevision_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamController_SteamController008 *iface = (struct u_ISteamController_SteamController008 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetControllerBindingRevision( params->controllerHandle, params->pMajor, params->pMinor );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-03-01 17:04:28 +01:00
|
|
|
}
|
|
|
|
|