mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-01 17:45:46 +03:00
4dfab8d8b6
CW-Bug-Id: #22729
36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
#include "steamclient_private.h"
|
|
|
|
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#pragma push_macro("strncpy")
|
|
#undef strncpy
|
|
#include "steamworks_sdk_151/steam_api.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#pragma pop_macro("strncpy")
|
|
|
|
extern "C" {
|
|
#define SDKVER_151
|
|
#include "struct_converters.h"
|
|
#include "cb_converters.h"
|
|
|
|
#define SDK_VERSION 1510
|
|
#include "steamclient_manual_common.h"
|
|
|
|
#include "cppISteamInput_SteamInput002.h"
|
|
}
|
|
|
|
void cppISteamInput_SteamInput002_GetGlyphForActionOrigin( struct cppISteamInput_SteamInput002_GetGlyphForActionOrigin_params *params )
|
|
{
|
|
ISteamInput *iface = (ISteamInput *)params->linux_side;
|
|
params->_ret = iface->GetGlyphForActionOrigin( (EInputActionOrigin)params->eOrigin );
|
|
params->_ret = steamclient_isteaminput_getglyph( params->eOrigin, params->_ret );
|
|
}
|
|
|
|
void cppISteamInput_SteamInput002_GetGlyphForXboxOrigin( struct cppISteamInput_SteamInput002_GetGlyphForXboxOrigin_params *params )
|
|
{
|
|
ISteamInput *iface = (ISteamInput *)params->linux_side;
|
|
params->_ret = iface->GetGlyphForXboxOrigin( (EXboxOrigin)params->eOrigin );
|
|
params->_ret = steamclient_isteaminput_getglyph_xbox( params->eOrigin, params->_ret );
|
|
}
|