Compare commits

..

2 Commits

Author SHA1 Message Date
Ghoul
b70bd134f2 Merge branch 'main' into 'devel'
Add custom image and gif support for G835L with other minor fixes

See merge request asus-linux/asusctl!249
2026-01-23 10:04:42 +00:00
Ghoul
3b5e82d6c5 chore: code clean up and remove planning comments 2026-01-23 15:03:55 +05:00

View File

@@ -42,23 +42,9 @@ pub struct AniMatrix {
impl AniMatrix { impl AniMatrix {
pub fn new(model: AnimeType) -> Self { pub fn new(model: AnimeType) -> Self {
let led_shape = match model { let led_shape = LedShape {
// TODO: Verify how this reacts on G635L and G835L vertical: 2,
// These are all doing the same thing. Can be simplified horizontal: 5,
AnimeType::GA401 => LedShape {
vertical: 2,
horizontal: 5,
},
AnimeType::GA402 | AnimeType::G635L | AnimeType::G835L | AnimeType::Unsupported => {
LedShape {
vertical: 2,
horizontal: 5,
}
}
AnimeType::GU604 => LedShape {
vertical: 2,
horizontal: 5,
},
}; };
// Do a hard mapping of each (derived from wireshardk captures) // Do a hard mapping of each (derived from wireshardk captures)