mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
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.
This commit is contained in:
parent
a7920acff5
commit
59c8672f5c
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user