-
Notifications
You must be signed in to change notification settings - Fork 73
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
LED commands #136
LED commands #136
Conversation
With this API, a client can determine if there's a controllable keyboard backlight by checking if the max brightness is non-zero, right? Is there anyway to determine whether or not RGB color is supported, since some models may have a monochrome backlight? |
@ids1024 I could adjust the led_get_color command to return a bool for whether the color can be changed, if that works |
I'm running quite low on EC space on the Launch keyboard so I think it would be best if the keyboard definition said wether it supported color |
I suppose that works too, since it's already assumed the configurator includes specifications for different keyboard models. |
46be558
to
b28c49b
Compare
Another useful feature here, that I had working through pop-os/system76-power#190 (using inotify), is notification of changes. So the Configurator color and brightness could show changes made through keybindings or other methods. Though that may complicate the API here too much. |
@ids1024 we can't really do that without a kernel driver to handle interrupts. I recommend that the configurator polls at a reasonable interval, maybe 1 second? |
Commands will be used by keyboard-configurator in pop-os/keyboard-configurator#22