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-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_Init( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_Init_params *params = (struct ISteamInput_SteamInput005_Init_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->Init( params->bExplicitlyCallRunFrame );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_Shutdown( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_Shutdown_params *params = (struct ISteamInput_SteamInput005_Shutdown_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_SetInputActionManifestFilePath( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params *params = (struct ISteamInput_SteamInput005_SetInputActionManifestFilePath_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->SetInputActionManifestFilePath( params->pchInputActionManifestAbsolutePath );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_RunFrame( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_RunFrame_params *params = (struct ISteamInput_SteamInput005_RunFrame_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->RunFrame( params->bReservedValue );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_BWaitForData( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_BWaitForData_params *params = (struct ISteamInput_SteamInput005_BWaitForData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BWaitForData( params->bWaitForever, params->unTimeout );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_BNewDataAvailable( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_BNewDataAvailable_params *params = (struct ISteamInput_SteamInput005_BNewDataAvailable_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->BNewDataAvailable( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetConnectedControllers( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetConnectedControllers_params *params = (struct ISteamInput_SteamInput005_GetConnectedControllers_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_EnableDeviceCallbacks( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_EnableDeviceCallbacks_params *params = (struct ISteamInput_SteamInput005_EnableDeviceCallbacks_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->EnableDeviceCallbacks( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetActionSetHandle( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetActionSetHandle_params *params = (struct ISteamInput_SteamInput005_GetActionSetHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_ActivateActionSet( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_ActivateActionSet_params *params = (struct ISteamInput_SteamInput005_ActivateActionSet_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->ActivateActionSet( params->inputHandle, params->actionSetHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetCurrentActionSet( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetCurrentActionSet_params *params = (struct ISteamInput_SteamInput005_GetCurrentActionSet_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetCurrentActionSet( params->inputHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_ActivateActionSetLayer( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_ActivateActionSetLayer_params *params = (struct ISteamInput_SteamInput005_ActivateActionSetLayer_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->ActivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_DeactivateActionSetLayer( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_DeactivateActionSetLayer_params *params = (struct ISteamInput_SteamInput005_DeactivateActionSetLayer_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->DeactivateActionSetLayer( params->inputHandle, params->actionSetLayerHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_DeactivateAllActionSetLayers( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_DeactivateAllActionSetLayers_params *params = (struct ISteamInput_SteamInput005_DeactivateAllActionSetLayers_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->DeactivateAllActionSetLayers( params->inputHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetActiveActionSetLayers( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetActiveActionSetLayers_params *params = (struct ISteamInput_SteamInput005_GetActiveActionSetLayers_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetActiveActionSetLayers( params->inputHandle, params->handlesOut );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetDigitalActionHandle( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetDigitalActionHandle_params *params = (struct ISteamInput_SteamInput005_GetDigitalActionHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetDigitalActionData( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetDigitalActionData_params *params = (struct ISteamInput_SteamInput005_GetDigitalActionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetDigitalActionData( params->inputHandle, params->digitalActionHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetDigitalActionOrigins( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetDigitalActionOrigins_params *params = (struct ISteamInput_SteamInput005_GetDigitalActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetDigitalActionOrigins( params->inputHandle, params->actionSetHandle, params->digitalActionHandle, params->originsOut );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetStringForDigitalActionName( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetStringForDigitalActionName_params *params = (struct ISteamInput_SteamInput005_GetStringForDigitalActionName_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetStringForDigitalActionName( params->eActionHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetAnalogActionHandle( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetAnalogActionHandle_params *params = (struct ISteamInput_SteamInput005_GetAnalogActionHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetAnalogActionData( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetAnalogActionData_params *params = (struct ISteamInput_SteamInput005_GetAnalogActionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetAnalogActionData( params->inputHandle, params->analogActionHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetAnalogActionOrigins( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetAnalogActionOrigins_params *params = (struct ISteamInput_SteamInput005_GetAnalogActionOrigins_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetAnalogActionOrigins( params->inputHandle, params->actionSetHandle, params->analogActionHandle, params->originsOut );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetStringForActionOrigin( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetStringForActionOrigin_params *params = (struct ISteamInput_SteamInput005_GetStringForActionOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetStringForAnalogActionName( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetStringForAnalogActionName_params *params = (struct ISteamInput_SteamInput005_GetStringForAnalogActionName_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetStringForAnalogActionName( params->eActionHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_StopAnalogActionMomentum( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_StopAnalogActionMomentum_params *params = (struct ISteamInput_SteamInput005_StopAnalogActionMomentum_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->StopAnalogActionMomentum( params->inputHandle, params->eAction );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetMotionData( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetMotionData_params *params = (struct ISteamInput_SteamInput005_GetMotionData_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
*params->_ret = iface->GetMotionData( params->inputHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_TriggerVibration( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_TriggerVibration_params *params = (struct ISteamInput_SteamInput005_TriggerVibration_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TriggerVibration( params->inputHandle, params->usLeftSpeed, params->usRightSpeed );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_TriggerVibrationExtended( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_TriggerVibrationExtended_params *params = (struct ISteamInput_SteamInput005_TriggerVibrationExtended_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TriggerVibrationExtended( params->inputHandle, params->usLeftSpeed, params->usRightSpeed, params->usLeftTriggerSpeed, params->usRightTriggerSpeed );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_TriggerSimpleHapticEvent( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_TriggerSimpleHapticEvent_params *params = (struct ISteamInput_SteamInput005_TriggerSimpleHapticEvent_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->TriggerSimpleHapticEvent( params->inputHandle, params->eHapticLocation, params->nIntensity, params->nGainDB, params->nOtherIntensity, params->nOtherGainDB );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_SetLEDColor( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_SetLEDColor_params *params = (struct ISteamInput_SteamInput005_SetLEDColor_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->SetLEDColor( params->inputHandle, params->nColorR, params->nColorG, params->nColorB, params->nFlags );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_Legacy_TriggerHapticPulse( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params *params = (struct ISteamInput_SteamInput005_Legacy_TriggerHapticPulse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->Legacy_TriggerHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params *params = (struct ISteamInput_SteamInput005_Legacy_TriggerRepeatedHapticPulse_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
iface->Legacy_TriggerRepeatedHapticPulse( params->inputHandle, params->eTargetPad, params->usDurationMicroSec, params->usOffMicroSec, params->unRepeat, params->nFlags );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_ShowBindingPanel( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_ShowBindingPanel_params *params = (struct ISteamInput_SteamInput005_ShowBindingPanel_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->ShowBindingPanel( params->inputHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetInputTypeForHandle( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetInputTypeForHandle_params *params = (struct ISteamInput_SteamInput005_GetInputTypeForHandle_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetInputTypeForHandle( params->inputHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetControllerForGamepadIndex( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetControllerForGamepadIndex_params *params = (struct ISteamInput_SteamInput005_GetControllerForGamepadIndex_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetGamepadIndexForController( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetGamepadIndexForController_params *params = (struct ISteamInput_SteamInput005_GetGamepadIndexForController_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetGamepadIndexForController( params->ulinputHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetStringForXboxOrigin( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetStringForXboxOrigin_params *params = (struct ISteamInput_SteamInput005_GetStringForXboxOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params *params = (struct ISteamInput_SteamInput005_GetActionOriginFromXboxOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetActionOriginFromXboxOrigin( params->inputHandle, params->eOrigin );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_TranslateActionOrigin( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_TranslateActionOrigin_params *params = (struct ISteamInput_SteamInput005_TranslateActionOrigin_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)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-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetDeviceBindingRevision( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetDeviceBindingRevision_params *params = (struct ISteamInput_SteamInput005_GetDeviceBindingRevision_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetDeviceBindingRevision( params->inputHandle, params->pMajor, params->pMinor );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetRemotePlaySessionID( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetRemotePlaySessionID_params *params = (struct ISteamInput_SteamInput005_GetRemotePlaySessionID_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetRemotePlaySessionID( params->inputHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS ISteamInput_SteamInput005_GetSessionInputConfigurationSettings( void *args )
|
2021-09-15 21:52:44 +02:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct ISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params *params = (struct ISteamInput_SteamInput005_GetSessionInputConfigurationSettings_params *)args;
|
2023-09-30 14:02:30 +02:00
|
|
|
struct u_ISteamInput_SteamInput005 *iface = (struct u_ISteamInput_SteamInput005 *)params->linux_side;
|
2023-09-23 23:44:45 +02:00
|
|
|
params->_ret = iface->GetSessionInputConfigurationSettings( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2021-09-15 21:52:44 +02:00
|
|
|
}
|
|
|
|
|