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:
parent
470f4a318f
commit
545815fd6d
8 changed files with 336 additions and 150 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue