-
@pvazny I think I tried to set it, but it didn't work. Don't really remember for sure though! I just queried all 256 reports in a loop, and started messing with my keyboard! That's how I found it.
-
The Better but more complicated version: https://github.com/aliqandil/reactive-leds
-
I tried setting it and it did not make any difference. It only wrote two bytes and then it reported back what I sent, for example cc01 (without the ff as that got dropped). By the way (not that it matters) the two animation you have marked as off (
cc0affandcc0cff) are actually sound activated, but the sound must be coming through laptop speakers. https://download.lenovo.com/pccbbs/pubs/legion_7_16_6/html_en/EN/pre-defined_lighting_modes.html -
So, I was playing with sending reports and found that if you send
CC00<effect_id><solid_color_id><brightness>, you can actually set the effect and brightness. There are more effects built into the keyboard than Lenovo exposes through keyboard shortcuts.<brightness>seems to go from 0x00 to 0x0F and only controls keyboard, so there must be a different way to control the rest of the lights.<solid_color_id>- works only in 0x03 mode to control color of all LEDs, otherwise controls logo, neon and vents only if not overridden by the animation. I am guessing that the later is just an artifact. 0x00 - 0x11 goes through solid colors from red through blue, green, yellow to orange. 0x12 is solid white. Anything above that does not seem to do much, but I did not test but a couple values.<effect_id>- 0x00 - keyboard breathing. keyboard only effect
- 0x02 - keyboard cycles through all colors. keyboard only effect
- 0x03 - sets all lets the same color as specified by the <solid_color_id>
- 0x04 - lights up keys as you type and fades them away. keyboard only effect
- 0x05 - sliding rainbow, left to right. keyboard only effect
- 0x07, 0x08, 0x09 - don't do anything or freeze animation
- 0x0e and 0x0f - turn the lights off, but the keyboard reports the last valid status. Probably invalid options
Edited by Peter Vazny
Please register or sign in to comment