From 2c61cd8da6c546b538c9ca1150d34e012ffa5323 Mon Sep 17 00:00:00 2001 From: Ghoul Date: Wed, 21 Jan 2026 16:26:16 +0500 Subject: [PATCH] chore: fix comments documenting Scar 18 implementation plan Removed comments mentioning monochrome/grayscale LEDs added under the impression G14 and M16 used to have RGB LED lighting. This assumption has been proved false. Additionally added agent md files to gitignore and uncommented G635L width as even a random value is likely necessary --- .gitignore | 4 ++++ rog-anime/src/data.rs | 4 ++-- rog-anime/src/diagonal.rs | 4 ---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index e5209aae..161718aa 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,7 @@ desktop-extensions/gnome*/@types/gir-generated desktop-extensions/gnome*/node_modules desktop-extensions/gnome*/schemas/gschemas.compiled desktop-extensions/gnome*/*.zip + +# agents +CLAUDE.md +AGENT.md diff --git a/rog-anime/src/data.rs b/rog-anime/src/data.rs index 45a9d15b..fa8d06fc 100644 --- a/rog-anime/src/data.rs +++ b/rog-anime/src/data.rs @@ -114,7 +114,7 @@ impl AnimeType { match self { AnimeType::GU604 => 70, // TODO: Find G635L W*H - // AnimeType::G635L => 68 + AnimeType::G635L => 68, AnimeType::G835L => 68, _ => 74, } @@ -125,7 +125,7 @@ impl AnimeType { match self { AnimeType::GA401 => 36, AnimeType::GU604 => 43, - // AnimeType::G635L => 34, + AnimeType::G635L => 34, AnimeType::G835L => 34, _ => 39, } diff --git a/rog-anime/src/diagonal.rs b/rog-anime/src/diagonal.rs index 4418ae90..12199b77 100644 --- a/rog-anime/src/diagonal.rs +++ b/rog-anime/src/diagonal.rs @@ -44,8 +44,6 @@ impl AnimeDiagonal { /// Generate the base image from inputs. The result can be displayed as is /// or updated via scale, position, or angle then displayed again after /// `update()`. - /// - /// TODO: G835L and G635L only supports grayscale #[inline] pub fn from_png( path: &Path, @@ -385,8 +383,6 @@ impl AnimeDiagonal { } // TODO: Implement `to_g635l_packets` and `to_g835l_packets` functions - // IMPORTANT NOTE: G635L and G835L ONLY SUPPORT GRAYSCALE - // // fn to_g835l_packets(buf: &[u8]) -> Result { // let mut buf = vec![0u8; AnimeType::GU604.data_length()];