diff options
| author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-01-10 15:00:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-10 23:00:17 +0000 |
| commit | 46b3245d6628a78eefab1b09209021d9b02bcdb9 (patch) | |
| tree | 2d4391bad938959817aec823b5052b78ef586d2d | |
| parent | d58d7dd1921d6b2993c663d8d46afccf44356e3e (diff) | |
| download | qmk_firmware-46b3245d6628a78eefab1b09209021d9b02bcdb9.tar.gz qmk_firmware-46b3245d6628a78eefab1b09209021d9b02bcdb9.zip | |
freoduo: define RGBLight config at keyboard level (#11491)
Configurator compiles fail without the number of LEDs defined here. Included the rest to match the default keymap's settings.
| -rw-r--r-- | keyboards/handwired/freoduo/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/handwired/freoduo/config.h b/keyboards/handwired/freoduo/config.h index c65da93ac..3af04f4ea 100644 --- a/keyboards/handwired/freoduo/config.h +++ b/keyboards/handwired/freoduo/config.h | |||
| @@ -45,6 +45,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 45 | 45 | ||
| 46 | /* ws2812 RGB LED */ | 46 | /* ws2812 RGB LED */ |
| 47 | #define RGB_DI_PIN D4 | 47 | #define RGB_DI_PIN D4 |
| 48 | #if !defined(RGBLED_NUM) | ||
| 49 | # define RGBLED_NUM 18 | ||
| 50 | # define RGBLIGHT_SPLIT | ||
| 51 | # define RGBLED_SPLIT { 9, 9 } | ||
| 52 | // Switch RGB sides with LED MAP. | ||
| 53 | # define RGBLIGHT_LED_MAP { 8, 7, 6, 5, 4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9} | ||
| 54 | # define RGBLIGHT_LAYERS | ||
| 55 | #endif | ||
| 48 | #define RGBLIGHT_ANIMATIONS | 56 | #define RGBLIGHT_ANIMATIONS |
| 49 | #define RGBLIGHT_SLEEP | 57 | #define RGBLIGHT_SLEEP |
| 50 | #define RGBLIGHT_HUE_STEP 16 | 58 | #define RGBLIGHT_HUE_STEP 16 |
