mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-12 13:17:50 +02:00
lsteamclient: Convert glyph paths in new ISteamInput005 methods
CW-Bug-Id: #19517
This commit is contained in:
27
lsteamclient/steamclient_manual_142.cpp
Normal file
27
lsteamclient/steamclient_manual_142.cpp
Normal file
@ -0,0 +1,27 @@
|
||||
extern "C" {
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
||||
}
|
||||
|
||||
#include "steam_defs.h"
|
||||
#pragma push_macro("__cdecl")
|
||||
#undef __cdecl
|
||||
#include "steamworks_sdk_142/steam_api.h"
|
||||
#pragma pop_macro("__cdecl")
|
||||
#include "steamclient_private.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
const char * cppISteamController_SteamController006_GetGlyphForActionOrigin(void *linux_side, EControllerActionOrigin eOrigin)
|
||||
{
|
||||
const char *path_result;
|
||||
path_result = ((ISteamController*)linux_side)->GetGlyphForActionOrigin((EControllerActionOrigin)eOrigin);
|
||||
return steamclient_isteamcontroller_getglyph(eOrigin, path_result);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user