Skip to content

Commit

Permalink
kingly_keys/ave: move RGBLight config to keyboard level (qmk#12457)
Browse files Browse the repository at this point in the history
QMK Configurator's API can't use the RGBLight configurator when it's defined at keymap level.
  • Loading branch information
noroadsleft authored and mrtnee committed Nov 20, 2021
1 parent aded1c2 commit a1929e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 24 deletions.
6 changes: 6 additions & 0 deletions keyboards/kingly_keys/ave/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

#define RGB_DI_PIN B7
#if defined(RGBLIGHT_ENABLE)
# define RGBLED_NUM 2
# define RGBLIGHT_EFFECT_BREATHING
#endif

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5

Expand Down
12 changes: 0 additions & 12 deletions keyboards/kingly_keys/ave/ortho/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,3 @@
#pragma once

#define TAPPING_TERM_PER_KEY

#ifdef RGBLIGHT_ENABLE
/* ws2812 RGB LED */
#define RGB_DI_PIN B7
#define RGBLED_NUM 2 // Number of LEDs

#define RGBLIGHT_EFFECT_BREATHING
/* #define RGBLIGHT_HUE_STEP 6
* #define RGBLIGHT_SAT_STEP 4
* #define RGBLIGHT_VAL_STEP 4
*/
#endif
12 changes: 0 additions & 12 deletions keyboards/kingly_keys/ave/staggered/keymaps/default/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,3 @@
#pragma once

#define TAPPING_TERM_PER_KEY

#ifdef RGBLIGHT_ENABLE
/* ws2812 RGB LED */
#define RGB_DI_PIN B7
#define RGBLED_NUM 2 // Number of LEDs

#define RGBLIGHT_EFFECT_BREATHING
/* #define RGBLIGHT_HUE_STEP 6
* #define RGBLIGHT_SAT_STEP 4
* #define RGBLIGHT_VAL_STEP 4
*/
#endif

0 comments on commit a1929e9

Please sign in to comment.