mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 09:52:00 -04:00
hardware: Detect ZOTAC Gaming Zone
This commit is contained in:
parent
3e1ab5a2c0
commit
b690f9b723
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ pub(crate) enum DeviceType {
|
|||
LegionGoS,
|
||||
RogAlly,
|
||||
RogAllyX,
|
||||
ZotacGamingZone,
|
||||
}
|
||||
|
||||
#[derive(Display, EnumString, PartialEq, Debug, Copy, Clone, TryFromPrimitive)]
|
||||
|
@ -88,6 +89,7 @@ pub(crate) async fn device_variant() -> Result<(DeviceType, String)> {
|
|||
(DeviceType::LegionGoS, product_name.to_string())
|
||||
}
|
||||
("Valve", _, "Jupiter" | "Galileo") => (DeviceType::SteamDeck, board_name.to_string()),
|
||||
("ZOTAC", _, "G0A1W") => (DeviceType::ZotacGamingZone, board_name.to_string()),
|
||||
_ => (DeviceType::Unknown, String::from("unknown")),
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue