mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-12 01:12:30 -04:00
platform: Add platform configuration for ROG Ally and ROG Ally X
Both the ROG Ally and ROG Ally X share the same performance profiles and platform controls, so we can use a single toml file for both devices.
This commit is contained in:
parent
2f7c83d663
commit
65ee50f841
2 changed files with 14 additions and 0 deletions
12
data/platforms/rog-ally-series.toml
Normal file
12
data/platforms/rog-ally-series.toml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[performance_profile]
|
||||||
|
platform_profile_name = "asus-wmi"
|
||||||
|
# until custom mode is added
|
||||||
|
suggested_default = "performance"
|
||||||
|
|
||||||
|
[tdp_limit]
|
||||||
|
method = "firmware_attribute"
|
||||||
|
|
||||||
|
[tdp_limit.firmware_attribute]
|
||||||
|
attribute = "asus-armoury"
|
||||||
|
# until custom mode is added
|
||||||
|
performance_profile = "performance"
|
|
@ -167,6 +167,8 @@ impl PlatformConfig {
|
||||||
DeviceType::SteamDeck => "jupiter",
|
DeviceType::SteamDeck => "jupiter",
|
||||||
DeviceType::LegionGo => "legion-go-series",
|
DeviceType::LegionGo => "legion-go-series",
|
||||||
DeviceType::LegionGoS => "legion-go-series",
|
DeviceType::LegionGoS => "legion-go-series",
|
||||||
|
DeviceType::RogAlly => "rog-ally-series",
|
||||||
|
DeviceType::RogAllyX => "rog-ally-series",
|
||||||
_ => return Ok(None),
|
_ => return Ok(None),
|
||||||
};
|
};
|
||||||
let config = read_to_string(format!(
|
let config = read_to_string(format!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue