Rework is_steam_deck_detected function to detect unknown models

This commit is contained in:
Jordon Brooks 2024-05-11 23:58:06 +01:00
parent e16f008dfc
commit 07f1877117
Signed by: jordon
GPG key ID: DBD9758CD53E786A
7 changed files with 82 additions and 32 deletions

View file

@ -18,13 +18,15 @@
#include "Enums/EDevice.h"
#include "Enums/EPlatform.h"
#include "Enums/ESteamDeck.h"
namespace HarmonyLinkLib
{
// Struct to represent a specific device with both platform and device type
struct FDevice : HarmonyLinkStruct
{
EPlatform platform;
EDevice device;
EPlatform platform = EPlatform::UNKNOWN;
EDevice device = EDevice::UNKNOWN;
ESteamDeck steam_deck_model = ESteamDeck::NONE;
};
}