This commit is contained in:
Mr_Goldberg 2022-08-05 01:32:20 -04:00
parent 0fc5a564e1
commit ba877b6e78
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
9 changed files with 44 additions and 1 deletions

View file

@ -2497,6 +2497,11 @@ STEAMAPI_API steam_bool SteamAPI_ISteamApps_BIsTimedTrial( ISteamApps* self, uin
return self->BIsTimedTrial(punSecondsAllowed, punSecondsPlayed);
}
STEAMAPI_API steam_bool SteamAPI_ISteamApps_SetDlcContext( ISteamApps* self, AppId_t nAppID )
{
return self->SetDlcContext(nAppID);
}
STEAMAPI_API ISteamNetworking *SteamAPI_SteamNetworking_v006()
{
return get_steam_client()->GetISteamNetworking(flat_hsteamuser(), flat_hsteampipe(), "SteamNetworking006");
@ -3288,6 +3293,11 @@ STEAMAPI_API uint16 SteamAPI_ISteamInput_GetSessionInputConfigurationSettings( I
return (get_steam_client()->steam_controller)->GetSessionInputConfigurationSettings();
}
STEAMAPI_API void SteamAPI_ISteamInput_SetDualSenseTriggerEffect( ISteamInput* self, InputHandle_t inputHandle, const ScePadTriggerEffectParam * pParam )
{
return (get_steam_client()->steam_controller)->SetDualSenseTriggerEffect(inputHandle, pParam);
}
STEAMAPI_API ISteamController *SteamAPI_SteamController_v007()
{
return get_steam_client()->GetISteamController(flat_hsteamuser(), flat_hsteampipe(), "SteamController007");

View file

@ -337,3 +337,10 @@ bool Steam_Apps::BIsTimedTrial( uint32* punSecondsAllowed, uint32* punSecondsPla
PRINT_DEBUG("BIsTimedTrial\n");
return false;
}
// set current DLC AppID being played (or 0 if none). Allows Steam to track usage of major DLC extensions
bool Steam_Apps::SetDlcContext( AppId_t nAppID )
{
PRINT_DEBUG("SetDlcContext %u\n", nAppID);
return true;
}

View file

@ -106,4 +106,7 @@ public:
// check if game is a timed trial with limited playtime
bool BIsTimedTrial( uint32* punSecondsAllowed, uint32* punSecondsPlayed );
// set current DLC AppID being played (or 0 if none). Allows Steam to track usage of major DLC extensions
bool SetDlcContext( AppId_t nAppID );
};

View file

@ -1231,6 +1231,12 @@ uint16 GetSessionInputConfigurationSettings()
return 0;
}
// Set the trigger effect for a DualSense controller
void SetDualSenseTriggerEffect( InputHandle_t inputHandle, const ScePadTriggerEffectParam *pParam )
{
PRINT_DEBUG("TODO %s\n", __FUNCTION__);
}
void RunCallbacks()
{
if (explicitly_call_run_frame) {