Browse Source

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

pull/11878/head
James Young 3 years ago
committed by GitHub
parent
commit
6e74abc643
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions
  1. +9
    -0
      keyboards/tunks/ergo33/config.h
  2. +5
    -2
      keyboards/tunks/ergo33/keymaps/rgb/config.h

+ 9
- 0
keyboards/tunks/ergo33/config.h View File

@ -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


+ 5
- 2
keyboards/tunks/ergo33/keymaps/rgb/config.h View File

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

Loading…
Cancel
Save