mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Animatrix: Default to GA402 style if Unknown, use default-workspace.
Also rename daemon crates to the bin names they use to be less confusing. Signed-off-by: Luke D. Jones <luke@ljones.dev>
This commit is contained in:
@@ -57,9 +57,8 @@ impl AnimeType {
|
||||
/// The width of diagonal images
|
||||
pub fn width(&self) -> usize {
|
||||
match self {
|
||||
AnimeType::GA401 | AnimeType::GA402 => 74,
|
||||
AnimeType::GU604 => 70,
|
||||
AnimeType::Unknown => 0,
|
||||
_ => 74,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,9 +66,8 @@ impl AnimeType {
|
||||
pub fn height(&self) -> usize {
|
||||
match self {
|
||||
AnimeType::GA401 => 36,
|
||||
AnimeType::GA402 => 39,
|
||||
AnimeType::GU604 => 43,
|
||||
AnimeType::Unknown => 0,
|
||||
_ => 39,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,9 +75,8 @@ impl AnimeType {
|
||||
pub fn data_length(&self) -> usize {
|
||||
match self {
|
||||
AnimeType::GA401 => PANE_LEN * 2,
|
||||
AnimeType::GA402 => PANE_LEN * 3,
|
||||
AnimeType::GU604 => PANE_LEN * 3,
|
||||
AnimeType::Unknown => 0,
|
||||
_ => PANE_LEN * 3,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user