Proton/lsteamclient/winISteamController.c

2676 lines
120 KiB
C
Raw Normal View History

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"
#include "struct_converters.h"
2018-01-18 19:24:05 +03:00
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
#include "cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION.h"
2021-03-01 19:04:28 +03:00
DEFINE_THISCALL_WRAPPER(winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init, 8)
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)
bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init(struct w_steam_iface *_this, const char *pchAbsolutePathToControllerConfigVDF)
2021-03-01 19:04:28 +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);
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( &params );
steamclient_free_path( params.pchAbsolutePathToControllerConfigVDF );
return params._ret;
2021-03-01 19:04:28 +03:00
}
bool __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Shutdown( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
void __thiscall winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame( &params );
2021-03-01 19:04:28 +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
{
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);
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse( &params );
2021-03-01 19:04:28 +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
{
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);
cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_SetOverrideMode( &params );
2021-03-01 19:04:28 +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
}
#endif
2021-03-01 19:04:28 +03:00
struct w_steam_iface *create_winISteamController_STEAMCONTROLLER_INTERFACE_VERSION(void *u_iface)
2021-03-01 19:04:28 +03:00
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMCONTROLLER_INTERFACE_VERSION");
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamController_STEAMCONTROLLER_INTERFACE_VERSION_vtable, 6, "STEAMCONTROLLER_INTERFACE_VERSION");
r->u_iface = u_iface;
return r;
2021-03-01 19:04:28 +03:00
}
#include "cppISteamController_SteamController003.h"
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController003_Init, 4)
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)
bool __thiscall winISteamController_SteamController003_Init(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_Init( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
bool __thiscall winISteamController_SteamController003_Shutdown(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_Shutdown( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
void __thiscall winISteamController_SteamController003_RunFrame(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_RunFrame( &params );
2021-03-01 19:04:28 +03:00
}
int32_t __thiscall winISteamController_SteamController003_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_GetConnectedControllers( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
bool __thiscall winISteamController_SteamController003_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_ShowBindingPanel( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_GetActionSetHandle( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_ActivateActionSet( &params );
2021-03-01 19:04:28 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController003_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_GetCurrentActionSet( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController003_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_GetDigitalActionHandle( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_GetDigitalActionData( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_GetDigitalActionOrigins( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController003_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController003_GetAnalogActionHandle( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_GetAnalogActionData( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_GetAnalogActionOrigins( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_StopAnalogActionMomentum( &params );
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_TriggerHapticPulse( &params );
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController003_TriggerRepeatedHapticPulse( &params );
2021-03-01 19:04:28 +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
}
#endif
2021-03-01 19:04:28 +03:00
struct w_steam_iface *create_winISteamController_SteamController003(void *u_iface)
2021-03-01 19:04:28 +03:00
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController003");
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamController_SteamController003_vtable, 17, "SteamController003");
r->u_iface = u_iface;
return r;
2021-03-01 19:04:28 +03:00
}
#include "cppISteamController_SteamController004.h"
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController004_Init, 4)
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)
bool __thiscall winISteamController_SteamController004_Init(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController004_Init( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
bool __thiscall winISteamController_SteamController004_Shutdown(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController004_Shutdown( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
void __thiscall winISteamController_SteamController004_RunFrame(struct w_steam_iface *_this)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController004_RunFrame( &params );
2021-03-01 19:04:28 +03:00
}
int32_t __thiscall winISteamController_SteamController004_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController004_GetConnectedControllers( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
bool __thiscall winISteamController_SteamController004_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController004_ShowBindingPanel( &params );
return params._ret;
2021-03-01 19:04:28 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
2021-03-01 19:04:28 +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);
cppISteamController_SteamController004_GetActionSetHandle( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
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);
cppISteamController_SteamController004_ActivateActionSet( &params );
2021-03-01 19:04:28 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController004_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
{
struct cppISteamController_SteamController004_GetCurrentActionSet_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
};
TRACE("%p\n", _this);
cppISteamController_SteamController004_GetCurrentActionSet( &params );
return params._ret;
}
2021-03-01 19:04:28 +03:00
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController004_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
{
struct cppISteamController_SteamController004_GetDigitalActionHandle_params params =
{
.linux_side = _this->u_iface,
.pszActionName = pszActionName,
};
TRACE("%p\n", _this);
cppISteamController_SteamController004_GetDigitalActionHandle( &params );
return params._ret;
2021-03-01 19:04:28 +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
{
struct cppISteamController_SteamController004_GetDigitalActionData_params params =
{
.linux_side = _this->u_iface,
._ret = _ret,
.controllerHandle = controllerHandle,
.digitalActionHandle = digitalActionHandle,
};
TRACE("%p\n", _this);
cppISteamController_SteamController004_GetDigitalActionData( &params );
return params._ret;
2021-03-01 19:04:28 +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)
{
struct cppISteamController_SteamController004_GetDigitalActionOrigins_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
.actionSetHandle = actionSetHandle,
.digitalActionHandle = digitalActionHandle,
.originsOut = originsOut,
};
TRACE("%p\n", _this);
cppISteamController_SteamController004_GetDigitalActionOrigins( &params );
return params._ret;
}
2019-02-25 18:44:23 +03:00
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController004_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
{
struct cppISteamController_SteamController004_GetAnalogActionHandle_params params =
{
.linux_side = _this->u_iface,
.pszActionName = pszActionName,
};
TRACE("%p\n", _this);
cppISteamController_SteamController004_GetAnalogActionHandle( &params );
return params._ret;
}
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_GetAnalogActionData( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_GetAnalogActionOrigins( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_StopAnalogActionMomentum( &params );
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_TriggerHapticPulse( &params );
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_TriggerRepeatedHapticPulse( &params );
2019-02-25 18:44:23 +03:00
}
int32_t __thiscall winISteamController_SteamController004_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
2019-02-25 18:44: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);
cppISteamController_SteamController004_GetGamepadIndexForController( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
ControllerHandle_t __thiscall winISteamController_SteamController004_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
2019-02-25 18:44: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);
cppISteamController_SteamController004_GetControllerForGamepadIndex( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_GetMotionData( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_ShowDigitalActionOrigins( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController004_ShowAnalogActionOrigins( &params );
return params._ret;
2019-02-25 18:44:23 +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
struct w_steam_iface *create_winISteamController_SteamController004(void *u_iface)
{
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "SteamController004");
TRACE("-> %p\n", r);
r->vtable = alloc_vtable(&winISteamController_SteamController004_vtable, 22, "SteamController004");
r->u_iface = u_iface;
return r;
}
#include "cppISteamController_SteamController005.h"
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController005_Init, 4)
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)
bool __thiscall winISteamController_SteamController005_Init(struct w_steam_iface *_this)
2019-02-25 18:44: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);
cppISteamController_SteamController005_Init( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
bool __thiscall winISteamController_SteamController005_Shutdown(struct w_steam_iface *_this)
2019-02-25 18:44: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);
cppISteamController_SteamController005_Shutdown( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
void __thiscall winISteamController_SteamController005_RunFrame(struct w_steam_iface *_this)
2019-02-25 18:44: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);
cppISteamController_SteamController005_RunFrame( &params );
2019-02-25 18:44:23 +03:00
}
int32_t __thiscall winISteamController_SteamController005_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
2019-02-25 18:44: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);
cppISteamController_SteamController005_GetConnectedControllers( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
bool __thiscall winISteamController_SteamController005_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2019-02-25 18:44: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);
cppISteamController_SteamController005_ShowBindingPanel( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
2019-02-25 18:44: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);
cppISteamController_SteamController005_GetActionSetHandle( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_ActivateActionSet( &params );
2019-02-25 18:44:23 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController005_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2019-02-25 18:44: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);
cppISteamController_SteamController005_GetCurrentActionSet( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController005_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2019-02-25 18:44: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);
cppISteamController_SteamController005_GetDigitalActionHandle( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_GetDigitalActionData( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_GetDigitalActionOrigins( &params );
return params._ret;
}
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController005_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
{
struct cppISteamController_SteamController005_GetAnalogActionHandle_params params =
{
.linux_side = _this->u_iface,
.pszActionName = pszActionName,
};
TRACE("%p\n", _this);
cppISteamController_SteamController005_GetAnalogActionHandle( &params );
return params._ret;
}
ControllerAnalogActionData_t * __thiscall winISteamController_SteamController005_GetAnalogActionData(struct w_steam_iface *_this, ControllerAnalogActionData_t *_ret, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)
{
struct cppISteamController_SteamController005_GetAnalogActionData_params params =
{
.linux_side = _this->u_iface,
._ret = _ret,
.controllerHandle = controllerHandle,
.analogActionHandle = analogActionHandle,
};
TRACE("%p\n", _this);
cppISteamController_SteamController005_GetAnalogActionData( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_GetAnalogActionOrigins( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_StopAnalogActionMomentum( &params );
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_TriggerHapticPulse( &params );
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_TriggerRepeatedHapticPulse( &params );
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_TriggerVibration( &params );
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_SetLEDColor( &params );
2019-02-25 18:44:23 +03:00
}
int32_t __thiscall winISteamController_SteamController005_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
2019-02-25 18:44: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);
cppISteamController_SteamController005_GetGamepadIndexForController( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
ControllerHandle_t __thiscall winISteamController_SteamController005_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
2019-02-25 18:44: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);
cppISteamController_SteamController005_GetControllerForGamepadIndex( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_GetMotionData( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_ShowDigitalActionOrigins( &params );
return params._ret;
2019-02-25 18:44:23 +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
{
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);
cppISteamController_SteamController005_ShowAnalogActionOrigins( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
const char * __thiscall winISteamController_SteamController005_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2019-02-25 18:44: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);
cppISteamController_SteamController005_GetStringForActionOrigin( &params );
return params._ret;
2019-02-25 18:44:23 +03:00
}
const char * __thiscall winISteamController_SteamController005_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2019-08-16 15:44:08 +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);
cppISteamController_SteamController005_GetGlyphForActionOrigin( &params );
return params._ret;
2019-08-16 15:44:08 +03:00
}
extern vtable_ptr winISteamController_SteamController005_vtable;
2019-02-25 18:44:23 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__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
struct w_steam_iface *create_winISteamController_SteamController005(void *u_iface)
2019-02-25 18:44:23 +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);
r->vtable = alloc_vtable(&winISteamController_SteamController005_vtable, 26, "SteamController005");
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)
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)
bool __thiscall winISteamController_SteamController006_Init(struct w_steam_iface *_this)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_Init( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
bool __thiscall winISteamController_SteamController006_Shutdown(struct w_steam_iface *_this)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_Shutdown( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
void __thiscall winISteamController_SteamController006_RunFrame(struct w_steam_iface *_this)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_RunFrame( &params );
2018-01-18 19:24:05 +03:00
}
int32_t __thiscall winISteamController_SteamController006_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetConnectedControllers( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
bool __thiscall winISteamController_SteamController006_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_ShowBindingPanel( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetActionSetHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_ActivateActionSet( &params );
2018-01-18 19:24:05 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController006_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetCurrentActionSet( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_ActivateActionSetLayer( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_DeactivateActionSetLayer( &params );
2018-01-18 19:24:05 +03:00
}
void __thiscall winISteamController_SteamController006_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_DeactivateAllActionSetLayers( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_GetActiveActionSetLayers( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController006_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetDigitalActionHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_GetDigitalActionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_GetDigitalActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController006_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetAnalogActionHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_GetAnalogActionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_GetAnalogActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_StopAnalogActionMomentum( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_TriggerHapticPulse( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_TriggerRepeatedHapticPulse( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_TriggerVibration( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_SetLEDColor( &params );
2018-01-18 19:24:05 +03:00
}
int32_t __thiscall winISteamController_SteamController006_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetGamepadIndexForController( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerHandle_t __thiscall winISteamController_SteamController006_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetControllerForGamepadIndex( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_GetMotionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_ShowDigitalActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController006_ShowAnalogActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController006_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetStringForActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController006_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetGlyphForActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
uint32_t __thiscall winISteamController_SteamController006_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController006_GetInputTypeForHandle( &params );
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
struct w_steam_iface *create_winISteamController_SteamController006(void *u_iface)
2018-01-18 19:24:05 +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);
r->vtable = alloc_vtable(&winISteamController_SteamController006_vtable, 31, "SteamController006");
r->u_iface = u_iface;
2018-01-18 19:24:05 +03:00
return r;
}
#include "cppISteamController_SteamController007.h"
2018-01-18 19:24:05 +03:00
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController007_Init, 4)
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)
bool __thiscall winISteamController_SteamController007_Init(struct w_steam_iface *_this)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_Init( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
bool __thiscall winISteamController_SteamController007_Shutdown(struct w_steam_iface *_this)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_Shutdown( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
void __thiscall winISteamController_SteamController007_RunFrame(struct w_steam_iface *_this)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_RunFrame( &params );
2018-01-18 19:24:05 +03:00
}
int32_t __thiscall winISteamController_SteamController007_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetConnectedControllers( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetActionSetHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_ActivateActionSet( &params );
2018-01-18 19:24:05 +03:00
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController007_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetCurrentActionSet( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_ActivateActionSetLayer( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_DeactivateActionSetLayer( &params );
2018-01-18 19:24:05 +03:00
}
void __thiscall winISteamController_SteamController007_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_DeactivateAllActionSetLayers( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_GetActiveActionSetLayers( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController007_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetDigitalActionHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_GetDigitalActionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_GetDigitalActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController007_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetAnalogActionHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_GetAnalogActionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_GetAnalogActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController007_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetGlyphForActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController007_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetStringForActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_StopAnalogActionMomentum( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_GetMotionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_TriggerHapticPulse( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_TriggerRepeatedHapticPulse( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_TriggerVibration( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_SetLEDColor( &params );
2018-01-18 19:24:05 +03:00
}
bool __thiscall winISteamController_SteamController007_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_ShowBindingPanel( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
uint32_t __thiscall winISteamController_SteamController007_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetInputTypeForHandle( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerHandle_t __thiscall winISteamController_SteamController007_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetControllerForGamepadIndex( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
int32_t __thiscall winISteamController_SteamController007_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetGamepadIndexForController( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController007_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetStringForXboxOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController007_GetGlyphForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController007_GetGlyphForXboxOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_GetActionOriginFromXboxOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController007_TranslateActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
bool __thiscall winISteamController_SteamController007_GetControllerBindingRevision(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, int32_t *pMajor, int32_t *pMinor)
{
struct cppISteamController_SteamController007_GetControllerBindingRevision_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
.pMajor = pMajor,
.pMinor = pMinor,
};
TRACE("%p\n", _this);
cppISteamController_SteamController007_GetControllerBindingRevision( &params );
return params._ret;
}
extern vtable_ptr winISteamController_SteamController007_vtable;
2018-01-18 19:24:05 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__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
struct w_steam_iface *create_winISteamController_SteamController007(void *u_iface)
2018-01-18 19:24:05 +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);
r->vtable = alloc_vtable(&winISteamController_SteamController007_vtable, 34, "SteamController007");
r->u_iface = u_iface;
2018-01-18 19:24:05 +03:00
return r;
}
#include "cppISteamController_SteamController008.h"
2018-01-18 19:24:05 +03:00
DEFINE_THISCALL_WRAPPER(winISteamController_SteamController008_Init, 4)
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)
bool __thiscall winISteamController_SteamController008_Init(struct w_steam_iface *_this)
{
struct cppISteamController_SteamController008_Init_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_Init( &params );
return params._ret;
}
bool __thiscall winISteamController_SteamController008_Shutdown(struct w_steam_iface *_this)
{
struct cppISteamController_SteamController008_Shutdown_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_Shutdown( &params );
return params._ret;
}
void __thiscall winISteamController_SteamController008_RunFrame(struct w_steam_iface *_this)
{
struct cppISteamController_SteamController008_RunFrame_params params =
{
.linux_side = _this->u_iface,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_RunFrame( &params );
}
int32_t __thiscall winISteamController_SteamController008_GetConnectedControllers(struct w_steam_iface *_this, ControllerHandle_t *handlesOut)
{
struct cppISteamController_SteamController008_GetConnectedControllers_params params =
{
.linux_side = _this->u_iface,
.handlesOut = handlesOut,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_GetConnectedControllers( &params );
return params._ret;
}
ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetActionSetHandle(struct w_steam_iface *_this, const char *pszActionSetName)
{
struct cppISteamController_SteamController008_GetActionSetHandle_params params =
{
.linux_side = _this->u_iface,
.pszActionSetName = pszActionSetName,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_GetActionSetHandle( &params );
return params._ret;
}
void __thiscall winISteamController_SteamController008_ActivateActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)
{
struct cppISteamController_SteamController008_ActivateActionSet_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
.actionSetHandle = actionSetHandle,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_ActivateActionSet( &params );
}
2018-01-18 19:24:05 +03:00
ControllerActionSetHandle_t __thiscall winISteamController_SteamController008_GetCurrentActionSet(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetCurrentActionSet( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_ActivateActionSetLayer( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_DeactivateActionSetLayer( &params );
2018-01-18 19:24:05 +03:00
}
void __thiscall winISteamController_SteamController008_DeactivateAllActionSetLayers(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_DeactivateAllActionSetLayers( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetActiveActionSetLayers( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerDigitalActionHandle_t __thiscall winISteamController_SteamController008_GetDigitalActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetDigitalActionHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetDigitalActionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetDigitalActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
ControllerAnalogActionHandle_t __thiscall winISteamController_SteamController008_GetAnalogActionHandle(struct w_steam_iface *_this, const char *pszActionName)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetAnalogActionHandle( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetAnalogActionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetAnalogActionOrigins( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController008_GetGlyphForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetGlyphForActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController008_GetStringForActionOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetStringForActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_StopAnalogActionMomentum( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetMotionData( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_TriggerHapticPulse( &params );
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_TriggerRepeatedHapticPulse( &params );
2018-01-18 19:24:05 +03:00
}
void __thiscall winISteamController_SteamController008_TriggerVibration(struct w_steam_iface *_this, ControllerHandle_t controllerHandle, uint16_t usLeftSpeed, uint16_t usRightSpeed)
{
struct cppISteamController_SteamController008_TriggerVibration_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
.usLeftSpeed = usLeftSpeed,
.usRightSpeed = usRightSpeed,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_TriggerVibration( &params );
}
2018-01-18 19:24:05 +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)
{
struct cppISteamController_SteamController008_SetLEDColor_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
.nColorR = nColorR,
.nColorG = nColorG,
.nColorB = nColorB,
.nFlags = nFlags,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_SetLEDColor( &params );
2018-01-18 19:24:05 +03:00
}
bool __thiscall winISteamController_SteamController008_ShowBindingPanel(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
2018-01-18 19:24:05 +03:00
{
struct cppISteamController_SteamController008_ShowBindingPanel_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_ShowBindingPanel( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
uint32_t __thiscall winISteamController_SteamController008_GetInputTypeForHandle(struct w_steam_iface *_this, ControllerHandle_t controllerHandle)
{
struct cppISteamController_SteamController008_GetInputTypeForHandle_params params =
{
.linux_side = _this->u_iface,
.controllerHandle = controllerHandle,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_GetInputTypeForHandle( &params );
return params._ret;
}
2018-01-18 19:24:05 +03:00
ControllerHandle_t __thiscall winISteamController_SteamController008_GetControllerForGamepadIndex(struct w_steam_iface *_this, int32_t nIndex)
{
struct cppISteamController_SteamController008_GetControllerForGamepadIndex_params params =
{
.linux_side = _this->u_iface,
.nIndex = nIndex,
};
TRACE("%p\n", _this);
cppISteamController_SteamController008_GetControllerForGamepadIndex( &params );
return params._ret;
}
2018-01-18 19:24:05 +03:00
int32_t __thiscall winISteamController_SteamController008_GetGamepadIndexForController(struct w_steam_iface *_this, ControllerHandle_t ulControllerHandle)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetGamepadIndexForController( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController008_GetStringForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetStringForXboxOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
const char * __thiscall winISteamController_SteamController008_GetGlyphForXboxOrigin(struct w_steam_iface *_this, uint32_t eOrigin)
2018-01-18 19:24:05 +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);
cppISteamController_SteamController008_GetGlyphForXboxOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetActionOriginFromXboxOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_TranslateActionOrigin( &params );
return params._ret;
2018-01-18 19:24:05 +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
{
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);
cppISteamController_SteamController008_GetControllerBindingRevision( &params );
return params._ret;
2018-01-18 19:24:05 +03:00
}
extern vtable_ptr winISteamController_SteamController008_vtable;
2018-01-18 19:24:05 +03:00
#ifndef __GNUC__
void __asm_dummy_vtables(void) {
#endif
__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
struct w_steam_iface *create_winISteamController_SteamController008(void *u_iface)
2018-01-18 19:24:05 +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);
r->vtable = alloc_vtable(&winISteamController_SteamController008_vtable, 34, "SteamController008");
r->u_iface = u_iface;
2018-01-18 19:24:05 +03:00
return r;
}