[Keyboard] tunks/ergo33: define RGBLight config at kb level (#11855)

master
James Young 2021-02-12 16:59:10 -08:00 committed by GitHub
parent bf1c40d682
commit 6e74abc643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View File

@ -43,6 +43,15 @@
/* Underglow + top RGB configuration */ /* Underglow + top RGB configuration */
#define RGB_DI_PIN D4 #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 */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
//#define LOCKING_SUPPORT_ENABLE //#define LOCKING_SUPPORT_ENABLE

View File

@ -20,5 +20,8 @@
* No external LED PCB: 10 * No external LED PCB: 10
* External LED PCB: 14 * External LED PCB: 14
*/ */
#define RGBLED_NUM 10 #if defined(RGBLED_NUM)
#define RGBLIGHT_ANIMATIONS # undef RGBLED_NUM
# define RGBLED_NUM 10
#endif
#define RGBLIGHT_ANIMATIONS