mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-25 16:54:19 +01:00
lsteamclient: Don't convert callbacks with identical layouts
This commit is contained in:
parent
3714637f08
commit
17ce82bc1c
59 changed files with 567 additions and 6195 deletions
|
|
@ -23,11 +23,7 @@ void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_RunFrame(void *linux_
|
|||
|
||||
bool cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_GetControllerState(void *linux_side, uint32 unControllerIndex, SteamControllerState001_t * pState)
|
||||
{
|
||||
SteamControllerState001_t lin_pState;
|
||||
win_to_lin_struct_SteamControllerState001_t_134(pState, &lin_pState);
|
||||
bool retval = ((ISteamController*)linux_side)->GetControllerState((uint32)unControllerIndex, &lin_pState);
|
||||
lin_to_win_struct_SteamControllerState001_t_134(&lin_pState, pState);
|
||||
return retval;
|
||||
return ((ISteamController*)linux_side)->GetControllerState((uint32)unControllerIndex, (SteamControllerState001_t *)pState);
|
||||
}
|
||||
|
||||
void cppISteamController_STEAMCONTROLLER_INTERFACE_VERSION_TriggerHapticPulse(void *linux_side, uint32 unControllerIndex, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue