2018-01-18 19:24:05 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
#include "steam_defs.h"
|
|
|
|
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
2019-02-26 18:05:29 +03:00
|
|
|
#include "struct_converters.h"
|
|
|
|
|
2018-01-18 19:24:05 +03:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h"
|
2021-03-01 19:04:28 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, 8)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode, 8)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(struct w_steam_iface *_this, const char *pchAbsolutePathToControllerConfigVDF)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchAbsolutePathToControllerConfigVDF = pchAbsolutePathToControllerConfigVDF,
|
|
|
|
};
|
|
|
|
params.pchAbsolutePathToControllerConfigVDF = steamclient_dos_to_unix_path( pchAbsolutePathToControllerConfigVDF, 0 );
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( ¶ms );
|
|
|
|
steamclient_free_path( params.pchAbsolutePathToControllerConfigVDF );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(struct w_steam_iface *_this, uint32_t unControllerIndex, SteamControllerState001_t *pState)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unControllerIndex = unControllerIndex,
|
|
|
|
.pState = pState,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(struct w_steam_iface *_this, uint32_t unControllerIndex, uint32_t eTargetPad, uint16_t usDurationMicroSec)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.unControllerIndex = unControllerIndex,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode(struct w_steam_iface *_this, const char *pchMode)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pchMode = pchMode,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION,
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
2023-09-21 00:58:12 +03:00
|
|
|
#endif
|
2021-03-01 19:04:28 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION(void *u_iface)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMCONTROLLER_INTERFACE_VERSION");
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable, 6, "STEAMCONTROLLER_INTERFACE_VERSION");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2023-09-21 00:58:12 +03:00
|
|
|
return r;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamController_SteamController003.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_Init, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_Shutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetConnectedControllers, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_ShowBindingPanel, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetActionSetHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_ActivateActionSet, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetCurrentActionSet, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_GetAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_StopAnalogActionMomentum, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_TriggerHapticPulse, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_TriggerRepeatedHapticPulse, 32)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController003_Init(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_Init_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_Init( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController003_Shutdown(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_Shutdown_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_Shutdown( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController003_RunFrame(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_RunFrame( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController003_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetConnectedControllers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetConnectedControllers( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController003_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_ShowBindingPanel_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_ShowBindingPanel( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetActionSetHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionSetName = pszActionSetName,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetActionSetHandle( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController003_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_ActivateActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_ActivateActionSet( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetCurrentActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetCurrentActionSet( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController003_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetDigitalActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetDigitalActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionData_t * __thiscall winISteamController_SteamController003_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetDigitalActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetDigitalActionData( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController003_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, uint32_t *originsOut)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController003_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetAnalogActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetAnalogActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionData_t * __thiscall winISteamController_SteamController003_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetAnalogActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetAnalogActionData( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController003_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, uint32_t *originsOut)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_GetAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_GetAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController003_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_StopAnalogActionMomentum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eAction = eAction,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_StopAnalogActionMomentum( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController003_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_TriggerHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_TriggerHapticPulse( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController003_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController003_TriggerRepeatedHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
.usOffMicroSec = usOffMicroSec,
|
|
|
|
.unRepeat = unRepeat,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController003_TriggerRepeatedHapticPulse( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamController_SteamController003_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamController_SteamController003,
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_Init)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_Shutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetConnectedControllers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_ShowBindingPanel)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetActionSetHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_ActivateActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetCurrentActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_GetAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_StopAnalogActionMomentum)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController003_TriggerRepeatedHapticPulse)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
2023-09-21 00:58:12 +03:00
|
|
|
#endif
|
2021-03-01 19:04:28 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamController_SteamController003(void *u_iface)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController003");
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamController_SteamController003_vtable, 17, "SteamController003");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2023-09-21 00:58:12 +03:00
|
|
|
return r;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamController_SteamController004.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_Init, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_Shutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetConnectedControllers, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowBindingPanel, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetActionSetHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ActivateActionSet, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetCurrentActionSet, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_StopAnalogActionMomentum, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_TriggerHapticPulse, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_TriggerRepeatedHapticPulse, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetGamepadIndexForController, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetControllerForGamepadIndex, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_GetMotionData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_ShowAnalogActionOrigins, 32)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController004_Init(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_Init_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_Init( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController004_Shutdown(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_Shutdown_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_Shutdown( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController004_RunFrame(struct w_steam_iface *_this)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_RunFrame( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController004_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetConnectedControllers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetConnectedControllers( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController004_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_ShowBindingPanel_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_ShowBindingPanel( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetActionSetHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionSetName = pszActionSetName,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetActionSetHandle( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController004_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_ActivateActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
};
|
2021-03-01 19:04:28 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_ActivateActionSet( ¶ms );
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetCurrentActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetCurrentActionSet( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
2021-03-01 19:04:28 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController004_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetDigitalActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetDigitalActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionData_t * __thiscall winISteamController_SteamController004_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
|
2021-03-01 19:04:28 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetDigitalActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetDigitalActionData( ¶ms );
|
|
|
|
return params._ret;
|
2021-03-01 19:04:28 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController004_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, uint32_t *originsOut)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
2019-02-25 18:44:23 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController004_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetAnalogActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetAnalogActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
2019-02-25 18:44:23 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionData_t * __thiscall winISteamController_SteamController004_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetAnalogActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetAnalogActionData( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController004_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, uint32_t *originsOut)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController004_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_StopAnalogActionMomentum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eAction = eAction,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_StopAnalogActionMomentum( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController004_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_TriggerHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_TriggerHapticPulse( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController004_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_TriggerRepeatedHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
.usOffMicroSec = usOffMicroSec,
|
|
|
|
.unRepeat = unRepeat,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_TriggerRepeatedHapticPulse( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController004_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetGamepadIndexForController_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.ulControllerHandle = ulControllerHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetGamepadIndexForController( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
ControllerHandle_t __thiscall winISteamController_SteamController004_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetControllerForGamepadIndex_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nIndex = nIndex,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetControllerForGamepadIndex( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerMotionData_t * __thiscall winISteamController_SteamController004_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, ControllerHandle_t controllerHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_GetMotionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_GetMotionData( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController004_ShowDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_ShowDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.flScale = flScale,
|
|
|
|
.flXPosition = flXPosition,
|
|
|
|
.flYPosition = flYPosition,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_ShowDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController004_ShowAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController004_ShowAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.flScale = flScale,
|
|
|
|
.flXPosition = flXPosition,
|
|
|
|
.flYPosition = flYPosition,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController004_ShowAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamController_SteamController004_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamController_SteamController004,
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_Init)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_Shutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetConnectedControllers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowBindingPanel)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetActionSetHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_ActivateActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetCurrentActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_StopAnalogActionMomentum)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_TriggerHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_TriggerRepeatedHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetGamepadIndexForController)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetControllerForGamepadIndex)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_GetMotionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController004_ShowAnalogActionOrigins)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamController_SteamController004(void *u_iface)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController004");
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("-> %p\n", r);
|
|
|
|
r->vtable = alloc_vtable(&winISteamController_SteamController004_vtable, 22, "SteamController004");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2023-09-21 00:58:12 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "cppISteamController_SteamController005.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_Init, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_Shutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetConnectedControllers, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowBindingPanel, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetActionSetHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ActivateActionSet, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetCurrentActionSet, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_StopAnalogActionMomentum, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerHapticPulse, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerRepeatedHapticPulse, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_TriggerVibration, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_SetLEDColor, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetGamepadIndexForController, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetControllerForGamepadIndex, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetMotionData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_ShowAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetStringForActionOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_GetGlyphForActionOrigin, 8)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController005_Init(struct w_steam_iface *_this)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_Init_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_Init( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController005_Shutdown(struct w_steam_iface *_this)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_Shutdown_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_Shutdown( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController005_RunFrame(struct w_steam_iface *_this)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_RunFrame( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController005_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetConnectedControllers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetConnectedControllers( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController005_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_ShowBindingPanel_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_ShowBindingPanel( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetActionSetHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionSetName = pszActionSetName,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetActionSetHandle( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController005_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_ActivateActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_ActivateActionSet( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetCurrentActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetCurrentActionSet( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController005_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetDigitalActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetDigitalActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionData_t * __thiscall winISteamController_SteamController005_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetDigitalActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetDigitalActionData( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController005_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, uint32_t *originsOut)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController005_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetAnalogActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetAnalogActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionData_t * __thiscall winISteamController_SteamController005_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetAnalogActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetAnalogActionData( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController005_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, uint32_t *originsOut)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController005_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_StopAnalogActionMomentum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eAction = eAction,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_StopAnalogActionMomentum( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController005_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_TriggerHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_TriggerHapticPulse( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController005_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_TriggerRepeatedHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
.usOffMicroSec = usOffMicroSec,
|
|
|
|
.unRepeat = unRepeat,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_TriggerRepeatedHapticPulse( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController005_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_TriggerVibration_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.usLeftSpeed = usLeftSpeed,
|
|
|
|
.usRightSpeed = usRightSpeed,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_TriggerVibration( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController005_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_SetLEDColor_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.nColorR = nColorR,
|
|
|
|
.nColorG = nColorG,
|
|
|
|
.nColorB = nColorB,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_SetLEDColor( ¶ms );
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController005_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetGamepadIndexForController_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.ulControllerHandle = ulControllerHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetGamepadIndexForController( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
ControllerHandle_t __thiscall winISteamController_SteamController005_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetControllerForGamepadIndex_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nIndex = nIndex,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetControllerForGamepadIndex( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerMotionData_t * __thiscall winISteamController_SteamController005_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, ControllerHandle_t controllerHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetMotionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetMotionData( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController005_ShowDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_ShowDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.flScale = flScale,
|
|
|
|
.flXPosition = flXPosition,
|
|
|
|
.flYPosition = flYPosition,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_ShowDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController005_ShowAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_ShowAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.flScale = flScale,
|
|
|
|
.flXPosition = flXPosition,
|
|
|
|
.flYPosition = flYPosition,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_ShowAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController005_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetStringForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetStringForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController005_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2019-08-16 15:44:08 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController005_GetGlyphForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2019-08-16 15:44:08 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController005_GetGlyphForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2019-08-16 15:44:08 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamController_SteamController005_vtable;
|
2019-02-25 18:44:23 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamController_SteamController005,
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_Init)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_Shutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetConnectedControllers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowBindingPanel)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetActionSetHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_ActivateActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetCurrentActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_StopAnalogActionMomentum)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerRepeatedHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_TriggerVibration)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_SetLEDColor)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetGamepadIndexForController)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetControllerForGamepadIndex)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetMotionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_ShowAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetStringForActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController005_GetGlyphForActionOrigin)
|
2019-02-25 18:44:23 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamController_SteamController005(void *u_iface)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController005");
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamController_SteamController005_vtable, 26, "SteamController005");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2019-02-25 18:44:23 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2018-01-18 19:24:05 +03:00
|
|
|
#include "cppISteamController_SteamController006.h"
|
|
|
|
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_Init, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_Shutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetConnectedControllers, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowBindingPanel, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetActionSetHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ActivateActionSet, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetCurrentActionSet, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ActivateActionSetLayer, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_DeactivateActionSetLayer, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_DeactivateAllActionSetLayers, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetActiveActionSetLayers, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_StopAnalogActionMomentum, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerHapticPulse, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerRepeatedHapticPulse, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_TriggerVibration, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_SetLEDColor, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetGamepadIndexForController, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetControllerForGamepadIndex, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetMotionData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_ShowAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetStringForActionOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetGlyphForActionOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController006_GetInputTypeForHandle, 12)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController006_Init(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_Init_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_Init( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController006_Shutdown(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_Shutdown_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_Shutdown( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_RunFrame(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_RunFrame( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController006_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetConnectedControllers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetConnectedControllers( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController006_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_ShowBindingPanel_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_ShowBindingPanel( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetActionSetHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionSetName = pszActionSetName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetActionSetHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_ActivateActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_ActivateActionSet( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetCurrentActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetCurrentActionSet( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_ActivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_ActivateActionSetLayer_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetLayerHandle = actionSetLayerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_ActivateActionSetLayer( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_DeactivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_DeactivateActionSetLayer_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetLayerHandle = actionSetLayerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_DeactivateActionSetLayer( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_DeactivateAllActionSetLayers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_DeactivateAllActionSetLayers( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController006_GetActiveActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetActiveActionSetLayers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetActiveActionSetLayers( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController006_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetDigitalActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetDigitalActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionData_t * __thiscall winISteamController_SteamController006_GetDigitalActionData(struct w_steam_iface *_this, ControllerDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetDigitalActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetDigitalActionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController006_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, uint32_t *originsOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController006_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetAnalogActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetAnalogActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionData_t * __thiscall winISteamController_SteamController006_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetAnalogActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetAnalogActionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController006_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, uint32_t *originsOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_StopAnalogActionMomentum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eAction = eAction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_StopAnalogActionMomentum( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_TriggerHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_TriggerHapticPulse( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_TriggerRepeatedHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
.usOffMicroSec = usOffMicroSec,
|
|
|
|
.unRepeat = unRepeat,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_TriggerRepeatedHapticPulse( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_TriggerVibration_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.usLeftSpeed = usLeftSpeed,
|
|
|
|
.usRightSpeed = usRightSpeed,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_TriggerVibration( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController006_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_SetLEDColor_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.nColorR = nColorR,
|
|
|
|
.nColorG = nColorG,
|
|
|
|
.nColorB = nColorB,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_SetLEDColor( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController006_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetGamepadIndexForController_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.ulControllerHandle = ulControllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetGamepadIndexForController( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
ControllerHandle_t __thiscall winISteamController_SteamController006_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetControllerForGamepadIndex_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nIndex = nIndex,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetControllerForGamepadIndex( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerMotionData_t * __thiscall winISteamController_SteamController006_GetMotionData(struct w_steam_iface *_this, ControllerMotionData_t *_ret, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetMotionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetMotionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController006_ShowDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_ShowDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.flScale = flScale,
|
|
|
|
.flXPosition = flXPosition,
|
|
|
|
.flYPosition = flYPosition,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_ShowDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController006_ShowAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_ShowAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.flScale = flScale,
|
|
|
|
.flXPosition = flXPosition,
|
|
|
|
.flYPosition = flYPosition,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_ShowAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController006_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetStringForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetStringForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController006_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetGlyphForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetGlyphForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamController_SteamController006_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController006_GetInputTypeForHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController006_GetInputTypeForHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamController_SteamController006_vtable;
|
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
|
|
|
__ASM_VTABLE(winISteamController_SteamController006,
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_Init)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_Shutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetConnectedControllers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_ShowBindingPanel)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetActionSetHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_ActivateActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetCurrentActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_ActivateActionSetLayer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_DeactivateActionSetLayer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_DeactivateAllActionSetLayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetActiveActionSetLayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetDigitalActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetDigitalActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetAnalogActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetAnalogActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_StopAnalogActionMomentum)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_TriggerHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_TriggerRepeatedHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_TriggerVibration)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_SetLEDColor)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetGamepadIndexForController)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetControllerForGamepadIndex)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetMotionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_ShowDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_ShowAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetStringForActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetGlyphForActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController006_GetInputTypeForHandle)
|
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamController_SteamController006(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController006");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 06:02:39 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamController_SteamController006_vtable, 31, "SteamController006");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamController_SteamController007.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_Init, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_Shutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetConnectedControllers, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActionSetHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ActivateActionSet, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetCurrentActionSet, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ActivateActionSetLayer, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_DeactivateActionSetLayer, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_DeactivateAllActionSetLayers, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActiveActionSetLayers, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGlyphForActionOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetStringForActionOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_StopAnalogActionMomentum, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetMotionData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerHapticPulse, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerRepeatedHapticPulse, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TriggerVibration, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_SetLEDColor, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_ShowBindingPanel, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetInputTypeForHandle, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerForGamepadIndex, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGamepadIndexForController, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetStringForXboxOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetGlyphForXboxOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetActionOriginFromXboxOrigin, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_TranslateActionOrigin, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_GetControllerBindingRevision, 20)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController007_Init(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_Init_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_Init( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController007_Shutdown(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_Shutdown_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_Shutdown( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_RunFrame(struct w_steam_iface *_this)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_RunFrame( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController007_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetConnectedControllers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetConnectedControllers( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetActionSetHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionSetName = pszActionSetName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetActionSetHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_ActivateActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_ActivateActionSet( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetCurrentActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetCurrentActionSet( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_ActivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_ActivateActionSetLayer_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetLayerHandle = actionSetLayerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_ActivateActionSetLayer( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_DeactivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_DeactivateActionSetLayer_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetLayerHandle = actionSetLayerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_DeactivateActionSetLayer( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_DeactivateAllActionSetLayers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_DeactivateAllActionSetLayers( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController007_GetActiveActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetActiveActionSetLayers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetActiveActionSetLayers( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
2023-09-21 00:58:12 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController007_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetDigitalActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetDigitalActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
InputDigitalActionData_t * __thiscall winISteamController_SteamController007_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetDigitalActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetDigitalActionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController007_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, uint32_t *originsOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController007_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetAnalogActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetAnalogActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
InputAnalogActionData_t * __thiscall winISteamController_SteamController007_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetAnalogActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetAnalogActionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController007_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, uint32_t *originsOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController007_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetGlyphForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetGlyphForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController007_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetStringForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetStringForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_StopAnalogActionMomentum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eAction = eAction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_StopAnalogActionMomentum( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
InputMotionData_t * __thiscall winISteamController_SteamController007_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetMotionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetMotionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_TriggerHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_TriggerHapticPulse( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_TriggerRepeatedHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
.usOffMicroSec = usOffMicroSec,
|
|
|
|
.unRepeat = unRepeat,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_TriggerRepeatedHapticPulse( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_TriggerVibration_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.usLeftSpeed = usLeftSpeed,
|
|
|
|
.usRightSpeed = usRightSpeed,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_TriggerVibration( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController007_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_SetLEDColor_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.nColorR = nColorR,
|
|
|
|
.nColorG = nColorG,
|
|
|
|
.nColorB = nColorB,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_SetLEDColor( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController007_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_ShowBindingPanel_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_ShowBindingPanel( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamController_SteamController007_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetInputTypeForHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetInputTypeForHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
ControllerHandle_t __thiscall winISteamController_SteamController007_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetControllerForGamepadIndex_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nIndex = nIndex,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetControllerForGamepadIndex( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController007_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetGamepadIndexForController_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.ulControllerHandle = ulControllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetGamepadIndexForController( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController007_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetStringForXboxOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetStringForXboxOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController007_GetGlyphForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetGlyphForXboxOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetGlyphForXboxOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamController_SteamController007_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetActionOriginFromXboxOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetActionOriginFromXboxOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamController_SteamController007_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_TranslateActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eDestinationInputType = eDestinationInputType,
|
|
|
|
.eSourceOrigin = eSourceOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_TranslateActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamController_SteamController007_GetControllerBindingRevision(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, int32_t *pMajor, int32_t *pMinor)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController007_GetControllerBindingRevision_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.pMajor = pMajor,
|
|
|
|
.pMinor = pMinor,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController007_GetControllerBindingRevision( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamController_SteamController007_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamController_SteamController007,
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_Init)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_Shutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetConnectedControllers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActionSetHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_ActivateActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetCurrentActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_ActivateActionSetLayer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_DeactivateActionSetLayer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_DeactivateAllActionSetLayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActiveActionSetLayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGlyphForActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetStringForActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_StopAnalogActionMomentum)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetMotionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerRepeatedHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_TriggerVibration)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_SetLEDColor)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_ShowBindingPanel)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetInputTypeForHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerForGamepadIndex)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGamepadIndexForController)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetStringForXboxOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetGlyphForXboxOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetActionOriginFromXboxOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_TranslateActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController007_GetControllerBindingRevision)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamController_SteamController007(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController007");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamController_SteamController007_vtable, 34, "SteamController007");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
#include "cppISteamController_SteamController008.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_Init, 4)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_Shutdown, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_RunFrame, 4)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetConnectedControllers, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActionSetHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ActivateActionSet, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetCurrentActionSet, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ActivateActionSetLayer, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_DeactivateActionSetLayer, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_DeactivateAllActionSetLayers, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActiveActionSetLayers, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetDigitalActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionHandle, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionData, 24)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetAnalogActionOrigins, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGlyphForActionOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetStringForActionOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_StopAnalogActionMomentum, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetMotionData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerHapticPulse, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerRepeatedHapticPulse, 32)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TriggerVibration, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_SetLEDColor, 28)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_ShowBindingPanel, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetInputTypeForHandle, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetControllerForGamepadIndex, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGamepadIndexForController, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetStringForXboxOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetGlyphForXboxOrigin, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetActionOriginFromXboxOrigin, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_TranslateActionOrigin, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_GetControllerBindingRevision, 20)
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController008_Init(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_Init_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_Init( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController008_Shutdown(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_Shutdown_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_Shutdown( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_RunFrame(struct w_steam_iface *_this)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_RunFrame_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_RunFrame( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController008_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetConnectedControllers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetConnectedControllers( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetActionSetHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionSetName = pszActionSetName,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetActionSetHandle( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_ActivateActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_ActivateActionSet( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetCurrentActionSet_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetCurrentActionSet( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_ActivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_ActivateActionSetLayer_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetLayerHandle = actionSetLayerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_ActivateActionSetLayer( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_DeactivateActionSetLayer(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_DeactivateActionSetLayer_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetLayerHandle = actionSetLayerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_DeactivateActionSetLayer( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_DeactivateAllActionSetLayers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_DeactivateAllActionSetLayers( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController008_GetActiveActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetActiveActionSetLayers_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.handlesOut = handlesOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetActiveActionSetLayers( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController008_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetDigitalActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetDigitalActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
InputDigitalActionData_t * __thiscall winISteamController_SteamController008_GetDigitalActionData(struct w_steam_iface *_this, InputDigitalActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetDigitalActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetDigitalActionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController008_GetDigitalActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, uint32_t *originsOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetDigitalActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.digitalActionHandle = digitalActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetDigitalActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController008_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetAnalogActionHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.pszActionName = pszActionName,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetAnalogActionHandle( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
InputAnalogActionData_t * __thiscall winISteamController_SteamController008_GetAnalogActionData(struct w_steam_iface *_this, InputAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetAnalogActionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetAnalogActionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController008_GetAnalogActionOrigins(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, uint32_t *originsOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetAnalogActionOrigins_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.actionSetHandle = actionSetHandle,
|
|
|
|
.analogActionHandle = analogActionHandle,
|
|
|
|
.originsOut = originsOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetAnalogActionOrigins( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController008_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetGlyphForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetGlyphForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController008_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetStringForActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetStringForActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_StopAnalogActionMomentum(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_StopAnalogActionMomentum_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eAction = eAction,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_StopAnalogActionMomentum( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
InputMotionData_t * __thiscall winISteamController_SteamController008_GetMotionData(struct w_steam_iface *_this, InputMotionData_t *_ret, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetMotionData_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
._ret = _ret,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetMotionData( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_TriggerHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_TriggerHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_TriggerHapticPulse( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_TriggerRepeatedHapticPulse(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eTargetPad, uint16_t usDurationMicroSec, uint16_t usOffMicroSec, uint16_t unRepeat, uint32_t nFlags)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_TriggerRepeatedHapticPulse_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eTargetPad = eTargetPad,
|
|
|
|
.usDurationMicroSec = usDurationMicroSec,
|
|
|
|
.usOffMicroSec = usOffMicroSec,
|
|
|
|
.unRepeat = unRepeat,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_TriggerRepeatedHapticPulse( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_TriggerVibration_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.usLeftSpeed = usLeftSpeed,
|
|
|
|
.usRightSpeed = usRightSpeed,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_TriggerVibration( ¶ms );
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
void __thiscall winISteamController_SteamController008_SetLEDColor(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint8_t nColorR, uint8_t nColorG, uint8_t nColorB, uint32_t nFlags)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_SetLEDColor_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.nColorR = nColorR,
|
|
|
|
.nColorG = nColorG,
|
|
|
|
.nColorB = nColorB,
|
|
|
|
.nFlags = nFlags,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_SetLEDColor( ¶ms );
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
bool __thiscall winISteamController_SteamController008_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_ShowBindingPanel_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_ShowBindingPanel( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamController_SteamController008_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetInputTypeForHandle_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetInputTypeForHandle( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
ControllerHandle_t __thiscall winISteamController_SteamController008_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetControllerForGamepadIndex_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.nIndex = nIndex,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetControllerForGamepadIndex( ¶ms );
|
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t __thiscall winISteamController_SteamController008_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetGamepadIndexForController_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.ulControllerHandle = ulControllerHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetGamepadIndexForController( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController008_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetStringForXboxOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetStringForXboxOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
const char * __thiscall winISteamController_SteamController008_GetGlyphForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetGlyphForXboxOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetGlyphForXboxOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamController_SteamController008_GetActionOriginFromXboxOrigin(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint32_t eOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetActionOriginFromXboxOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.eOrigin = eOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetActionOriginFromXboxOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t __thiscall winISteamController_SteamController008_TranslateActionOrigin(struct w_steam_iface *_this, uint32_t eDestinationInputType, uint32_t eSourceOrigin)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_TranslateActionOrigin_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eDestinationInputType = eDestinationInputType,
|
|
|
|
.eSourceOrigin = eSourceOrigin,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_TranslateActionOrigin( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-14 15:53:26 +03:00
|
|
|
bool __thiscall winISteamController_SteamController008_GetControllerBindingRevision(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, int32_t *pMajor, int32_t *pMinor)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamController_SteamController008_GetControllerBindingRevision_params params =
|
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.controllerHandle = controllerHandle,
|
|
|
|
.pMajor = pMajor,
|
|
|
|
.pMinor = pMinor,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-27 15:34:23 +03:00
|
|
|
cppISteamController_SteamController008_GetControllerBindingRevision( ¶ms );
|
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamController_SteamController008_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
|
|
|
#ifndef __GNUC__
|
|
|
|
void __asm_dummy_vtables(void) {
|
|
|
|
#endif
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamController_SteamController008,
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_Init)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_Shutdown)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_RunFrame)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetConnectedControllers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActionSetHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_ActivateActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetCurrentActionSet)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_ActivateActionSetLayer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_DeactivateActionSetLayer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_DeactivateAllActionSetLayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActiveActionSetLayers)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetDigitalActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetAnalogActionOrigins)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGlyphForActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetStringForActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_StopAnalogActionMomentum)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetMotionData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerRepeatedHapticPulse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_TriggerVibration)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_SetLEDColor)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_ShowBindingPanel)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetInputTypeForHandle)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetControllerForGamepadIndex)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGamepadIndexForController)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetStringForXboxOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetGlyphForXboxOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetActionOriginFromXboxOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_TranslateActionOrigin)
|
|
|
|
VTABLE_ADD_FUNC(winISteamController_SteamController008_GetControllerBindingRevision)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
|
|
|
#ifndef __GNUC__
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamController_SteamController008(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController008");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamController_SteamController008_vtable, 34, "SteamController008");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|