platform: Use single platform configuration for Legion Go and Legion Go S

Both the Legion Go and Legion Go S share the same performance profiles
and platform controls, so we can use a single toml file for both devices.
This commit is contained in:
Matthew Schwartz 2025-05-26 15:15:19 -07:00
parent ef9c329898
commit 2f7c83d663
2 changed files with 2 additions and 1 deletions

View file

@ -165,7 +165,8 @@ impl PlatformConfig {
async fn load() -> Result<Option<PlatformConfig>> {
let platform = match device_type().await? {
DeviceType::SteamDeck => "jupiter",
DeviceType::LegionGoS => "legion-go-s",
DeviceType::LegionGo => "legion-go-series",
DeviceType::LegionGoS => "legion-go-series",
_ => return Ok(None),
};
let config = read_to_string(format!(