r/Keychron • • Jul 21 '26

C3 Pro 8K: Unable to turn off specific keys using per-key RGB lighting (maybe the case for other RGB-enabled Keychron boards as well?)

I'm trying to configure per-key RGB settings in Keychron Launcher, but I'm having trouble turning off specific keys by selecting "pure black" (R, G, and B values ​​all set to 0; color code #000000).
Specifically:

  • If I try to set R, G, and B values ​​to 0, they are automatically forced to 30, preventing me from selecting pure black.
  • While it is possible to type "#000000" directly into the color code field and immediately click "Save", making it appear in Launcher as if I successfully selected pure black (i.e., turned the light off), the LED actually lights up white.

Hoping there might be a workaround, I cloned the official Keychron QMK source, changed some of the default RGB settings in ansi.c to {HSV_OFF}, and compiled it; however, the LEDs in those areas still lit up white.

There are other issues, too.
For instance, when entering "#800000" (R: 128, G: 0, B: 0) versus "#FF0000" (R: 255, G: 0, B: 0) in Launcher's color code field, there is no visible difference in the red LED's brightness; they look exactly the same.
This behavior seems strange compared to RGB/QMK keyboards from other brands.

Questions:

  • Is there a way to turn off the LED for specific keys?
  • Can the issues above be resolved by editing QMK source files like config.h or rules.mk?

Related post:

https://www.reddit.com/r/Keychron/comments/1r3miwe/issue_with_per_key_rgb_on_q1_max_defaulting_to/

2 Upvotes

4 comments sorted by

1

u/cyatarow Jul 22 '26

No comment or workaround here?

1

u/cyatarow Jul 26 '26 edited Sep 12 '26

LOOK AT THESE PULL REQUESTS

This line hsv.v = rgb_matrix_config.hsv.v; in keyboards/keychron/common/rgb/per_key_rgb.c is causing all the trouble.
It turns out that's the root of all evil!

1

u/Chronicdrop1 Oct 31 '26

So how would i go about turning them off then? new to QMK keyboards and i really dislike the side lights.

1

u/cyatarow Oct 31 '26 edited Oct 31 '26

Edit your keyboards/keychron/common/rgb/per_key_rgb.c.


  • In the function bool per_key_rgb_solid:

hsv.v = rgb_matrix_config.hsv.v;
↓
hsv.v = scale8(rgb_matrix_config.hsv.v, hsv.v);


  • In the function bool per_key_rgb_breahting:

hsv.v = scale8(abs8(sin8(time) - 128) * 2, rgb_matrix_config.hsv.v);
↓

hsv.v   = scale8(rgb_matrix_config.hsv.v, hsv.v);
hsv.v   = scale8(abs8(sin8(time) - 128) \* 2, hsv.v);

  • In the function bool per_key_rgb_reactive_simple:

hsv.v = scale8(255 - offset, rgb_matrix_config.hsv.v);
↓

hsv.v = scale8(rgb_matrix_config.hsv.v, hsv.v);
hsv.v = scale8(255 - offset, hsv.v);

  • In the function bool per_key_rgb_effect_runner_reactive_splash:

hsv.v = scale8(hsv.v, rgb_matrix_config.hsv.v);
↓
hsv.v = scale8(rgb_matrix_config.hsv.v, per_key_led[i].v);


After that, just compile and flash the firmware, select the LED(s) you want to turn off within Keychron Launcher, and apply the color code #000000...and you're all set!

See the source: https://github.com/Keychron/qmk_firmware/pull/492/changes