mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-03 21:24:27 +01:00
lsteamclient: Wrap EnableActionEventCallbacks's callback also for SteamInput006.
This commit is contained in:
parent
6ded785ccd
commit
db61ec1f1e
3 changed files with 11 additions and 5 deletions
|
|
@ -27,6 +27,16 @@ extern "C" {
|
|||
|
||||
#include "queue.h"
|
||||
|
||||
/***** manual fn wrapper for ISteamInput::EnableActionEventCallbacks *****/
|
||||
extern win_SteamInputActionEventCallbackPointer win_EnableActionEventCallbacks;
|
||||
|
||||
void cppISteamInput_SteamInput006_EnableActionEventCallbacks(void *linux_side, win_SteamInputActionEventCallbackPointer pCallback)
|
||||
{
|
||||
win_EnableActionEventCallbacks = pCallback;
|
||||
((ISteamInput*)linux_side)->EnableActionEventCallbacks(pCallback ? &lin_SteamInputActionEventCallbackPointer : NULL);
|
||||
}
|
||||
|
||||
|
||||
/***** manual struct converter for SteamNetworkingMessage_t *****/
|
||||
|
||||
struct msg_wrapper {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue