Skip to content
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

Feature request: Read (pick) current RGB value of a key #295

Open
mfvianna opened this issue Nov 19, 2022 · 0 comments
Open

Feature request: Read (pick) current RGB value of a key #295

mfvianna opened this issue Nov 19, 2022 · 0 comments

Comments

@mfvianna
Copy link

mfvianna commented Nov 19, 2022

This will allow querying the current RGB color of a key (suggested command option "-i" and profile "pick" directive, similar to "var"). Command example:
command: g810-led -i KEY_1
output: ffffff

This will be especially useful on profiles where one could clone a key color from another key. Example:

pick key1color KEY_1

k 2 $key1color

Would be very helpful for processes that, for example, change the letters colors based on capslock keypress or keypad number colors based on numlock keypress.

OBS: Would work o a patch for further PR, but I have no idea on how the protocol works and specific hidapi usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant