mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
wip: support for G835L
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// TODO: This is a provisional copy paste of GA401
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::path::PathBuf;
|
||||
@@ -228,7 +230,7 @@ mod tests {
|
||||
|
||||
let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
// TODO: create a png file for G835L
|
||||
path.push("tests/data/ga401-diagonal.png");
|
||||
path.push("tests/data/g835l-diagonal.png");
|
||||
|
||||
let matrix = AnimeDiagonal::from_png(&path, None, 255.0, AnimeType::G835L).unwrap();
|
||||
let data = matrix.into_data_buffer(AnimeType::G835L).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user