Basic Steam Dick support (#166)

Without gamepadui library
This commit is contained in:
exstrim401
2023-01-08 17:38:24 +05:00
committed by GitHub
parent f63849bb34
commit e26b40d889
6 changed files with 62 additions and 10 deletions

View File

@@ -613,7 +613,7 @@ void CEngineVGui::Init()
return;
}
if ( IsX360() )
if ( IsX360() || IsSteamDeck() )
{
CCommand ccommand;
if ( CL_ShouldLoadBackgroundLevel( ccommand ) )
@@ -1273,7 +1273,7 @@ void CEngineVGui::OnLevelLoadingStarted()
}
}
if ( IsX360() )
if ( IsX360() || IsSteamDeck() )
{
// TCR requirement, always!!!
m_bShowProgressDialog = true;