-
Notifications
You must be signed in to change notification settings - Fork 15
Add support for RGB command #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fecda01
to
04e8b09
Compare
); | ||
} else { | ||
let start_key = args.rgbkbd[0] as u8; | ||
let colors = args.rgbkbd[1..].iter().map(|color| RgbS { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bonus points if you figure out how to do the *8 multipliers like i have on the ec console.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left as an exercise for the reader
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh like ws2812
on the console, ectool or rgbkbd also doesn't have this
Only code formatting difference. Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
Works like this: ``` > cargo build && sudo ./target/debug/framework_tool --rgbkbd 0 16711680 65280 255 ``` Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
``` sudo framework_tool --rgbkbd 0 0xFF0000 0x00FF00 0x0000FF ``` Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
FreeBSD build failing for CI reasons, ignoring that. |
Tested on Framework Desktop, can work fine. |
Yes, called rgbkbd because of the host command and to match ectool.
But we are actually planning to use it for the Framework Deskop's ARGB header (with fans, etc.)
For example: