~ruther/qmk_firmware

6e74abc643e944dc18d4f53762b52459b7691308 — James Young 4 years ago bf1c40d
[Keyboard] tunks/ergo33: define RGBLight config at kb level (#11855)

2 files changed, 14 insertions(+), 2 deletions(-)

M keyboards/tunks/ergo33/config.h
M keyboards/tunks/ergo33/keymaps/rgb/config.h
M keyboards/tunks/ergo33/config.h => keyboards/tunks/ergo33/config.h +9 -0
@@ 43,6 43,15 @@

/* Underglow + top RGB configuration */
#define RGB_DI_PIN D4
#define RGBLIGHT_ANIMATIONS

#if !defined(RGBLED_NUM)
/* RGB LED count
 * No external LED PCB: 10
 * External LED PCB: 14
 */
#    define RGBLED_NUM 14
#endif

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
//#define LOCKING_SUPPORT_ENABLE

M keyboards/tunks/ergo33/keymaps/rgb/config.h => keyboards/tunks/ergo33/keymaps/rgb/config.h +5 -2
@@ 20,5 20,8 @@
 * No external LED PCB: 10
 * External LED PCB: 14
 */
#define RGBLED_NUM 10
#define RGBLIGHT_ANIMATIONS
\ No newline at end of file
#if defined(RGBLED_NUM)
#    undef RGBLED_NUM
#    define RGBLED_NUM 10
#endif
#define RGBLIGHT_ANIMATIONS