#Keychron V6 custom animation errors.

3 messages · Page 1 of 1 (latest)

hexed gust
#

what in the world is that code? some non-sense from a LLM? because i've never seen such a thing like rgb_matrix_effect_t

#

as per the actual issues on the compiler output, they are very clear

  • sin8/scale8 unknown: you are missing #include <lib/lib8tion/lib8tion.h>
  • excess elements: you are trying to create an HSV struct, which has 3 fields, passing 5 values (HSV_PURPLE is already the 3 values to create a struct, you are passing 2 extra numbers) -- by the way, that typename is deprecated in favor of hsv_t)
modest veldt
#

Yes, it was, and because I had no idea about anything, I really believed that it could work, but it didn't. Nevertheless, I wanted to have my effect, so I looked at the documentary a few more times and learned the necessary C basics.
My idea: Set all RGBs to 30% brightness, wait for an input, and then increase the brightness in a wave.
My real problem, I get the X and Y coordinates and the index of the RGB, so the "i" in the for loop, output in the console and the determination of the center point also seems to be correct. But when I test, the effect always only starts from the RGB under the spacebar when I press the keys to the left of the arrow keys, or from the RGB under Numpad Enter when I press something on the Numpad.
Here is everything from my user space and a .gif. I don't know if you can imagine something from the description.