diff options
| author | la-ninpre <aaoth@aaoth.xyz> | 2024-07-13 12:04:19 +0300 |
|---|---|---|
| committer | la-ninpre <aaoth@aaoth.xyz> | 2024-07-13 12:04:19 +0300 |
| commit | f53a5c92e36ff17f0ccdeb9f2b7f222dad02faad (patch) | |
| tree | d7cc9eb9c53ea7d1e5d8af2e17fa768e8b9c19e5 /keyboards/keychron/v1/ansi/keymaps/lbr/config.h | |
| parent | 4384322201012ef258bd663b2c4f46225fca7cbb (diff) | |
| download | qmk-userspace-f53a5c92e36ff17f0ccdeb9f2b7f222dad02faad.tar.gz qmk-userspace-f53a5c92e36ff17f0ccdeb9f2b7f222dad02faad.zip | |
simplify rgb lighting
set colors using post-init hook instead of relying on eeprom.
previously keyboard would load colour from eeprom, and if different firmware set
it to a different one, it would stay as is, which is why i added the eeprom clean button.
now there's no need to touch eeprom at all.
Diffstat (limited to 'keyboards/keychron/v1/ansi/keymaps/lbr/config.h')
| -rw-r--r-- | keyboards/keychron/v1/ansi/keymaps/lbr/config.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/keyboards/keychron/v1/ansi/keymaps/lbr/config.h b/keyboards/keychron/v1/ansi/keymaps/lbr/config.h index 218a1a3..97d6b5e 100644 --- a/keyboards/keychron/v1/ansi/keymaps/lbr/config.h +++ b/keyboards/keychron/v1/ansi/keymaps/lbr/config.h @@ -1,4 +1,3 @@ -/* override defaults */ #undef ENABLE_RGB_MATRIX_BREATHING #undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL #undef ENABLE_RGB_MATRIX_CYCLE_ALL @@ -16,9 +15,4 @@ #undef RGB_MATRIX_KEYPRESSES #undef RGB_MATRIX_FRAMEBUFFER_EFFECTS -/* set our defaults */ #define RGB_MATRIX_DISABLE_KEYCODES -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR -#define RGB_MATRIX_DEFAULT_HUE 0 -#define RGB_MATRIX_DEFAULT_SAT 191 -#define RGB_MATRIX_DEFAULT_VAL 204 |
