summaryrefslogtreecommitdiff
path: root/keyboards/kingly_keys/ave
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-04-02 23:20:11 -0700
committerGitHub <noreply@github.com>2021-04-02 23:20:11 -0700
commit59c8672f5c09ae078162beb836032482c79c4b93 (patch)
treefaba1f257912d3c58ce4f8f49faa7f57dbc2ac49 /keyboards/kingly_keys/ave
parenta7920acff5667d24f14eff3cc21eeeaae58d3711 (diff)
kingly_keys/ave: move RGBLight config to keyboard level (#12457)
QMK Configurator's API can't use the RGBLight configurator when it's defined at keymap level.
Diffstat (limited to 'keyboards/kingly_keys/ave')
-rw-r--r--keyboards/kingly_keys/ave/config.h6
-rw-r--r--keyboards/kingly_keys/ave/ortho/keymaps/default/config.h12
-rw-r--r--keyboards/kingly_keys/ave/staggered/keymaps/default/config.h12
3 files changed, 6 insertions, 24 deletions
diff --git a/keyboards/kingly_keys/ave/config.h b/keyboards/kingly_keys/ave/config.h
index 06fda4c26d..8a663da356 100644
--- a/keyboards/kingly_keys/ave/config.h
+++ b/keyboards/kingly_keys/ave/config.h
@@ -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
diff --git a/keyboards/kingly_keys/ave/ortho/keymaps/default/config.h b/keyboards/kingly_keys/ave/ortho/keymaps/default/config.h
index 6fba9d2b9c..204d3236eb 100644
--- a/keyboards/kingly_keys/ave/ortho/keymaps/default/config.h
+++ b/keyboards/kingly_keys/ave/ortho/keymaps/default/config.h
@@ -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
diff --git a/keyboards/kingly_keys/ave/staggered/keymaps/default/config.h b/keyboards/kingly_keys/ave/staggered/keymaps/default/config.h
index 6fba9d2b9c..204d3236eb 100644
--- a/keyboards/kingly_keys/ave/staggered/keymaps/default/config.h
+++ b/keyboards/kingly_keys/ave/staggered/keymaps/default/config.h
@@ -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