lsteamclient: Don't convert callbacks with identical layouts

This commit is contained in:
Andrew Eikum 2018-10-30 08:09:46 -05:00
parent 3714637f08
commit 17ce82bc1c
59 changed files with 567 additions and 6195 deletions

View file

@ -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)