Add initial score-based dock detection

This is early development & untested code specifically targeting the steam deck for now until further finalised
This commit is contained in:
Jordon Brooks 2024-01-16 00:09:12 +00:00
parent 470f4a318f
commit 545815fd6d
No known key found for this signature in database
GPG key ID: 83964894E5D98D57
8 changed files with 336 additions and 150 deletions

View file

@ -43,6 +43,17 @@ namespace HarmonyLinkLib
return PlatformUtilities->is_linux();
}
bool get_is_docked()
{
if (!PlatformUtilities)
{
std::wcout << "Failed to get platform utilities!\n";
return false;
}
return PlatformUtilities->is_docked();
}
FCPUInfo* get_cpu_info()
{
if (!PlatformUtilities)