aboutsummaryrefslogtreecommitdiff
path: root/keyboards/tunks
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-02-12 16:59:10 -0800
committerGitHub <noreply@github.com>2021-02-12 16:59:10 -0800
commit6e74abc643e944dc18d4f53762b52459b7691308 (patch)
treea66de980f888a590fec23e72b01f945972c8cf37 /keyboards/tunks
parentbf1c40d6820b5cfeee0e77483dae2931a9ee2ae1 (diff)
downloadqmk_firmware-6e74abc643e944dc18d4f53762b52459b7691308.tar.gz
qmk_firmware-6e74abc643e944dc18d4f53762b52459b7691308.zip
[Keyboard] tunks/ergo33: define RGBLight config at kb level (#11855)
Diffstat (limited to 'keyboards/tunks')
-rw-r--r--keyboards/tunks/ergo33/config.h9
-rw-r--r--keyboards/tunks/ergo33/keymaps/rgb/config.h7
2 files changed, 14 insertions, 2 deletions
diff --git a/keyboards/tunks/ergo33/config.h b/keyboards/tunks/ergo33/config.h
index 96cc5b93b..11a427a30 100644
--- a/keyboards/tunks/ergo33/config.h
+++ b/keyboards/tunks/ergo33/config.h
@@ -43,6 +43,15 @@
43 43
44/* Underglow + top RGB configuration */ 44/* Underglow + top RGB configuration */
45#define RGB_DI_PIN D4 45#define RGB_DI_PIN D4
46#define RGBLIGHT_ANIMATIONS
47
48#if !defined(RGBLED_NUM)
49/* RGB LED count
50 * No external LED PCB: 10
51 * External LED PCB: 14
52 */
53# define RGBLED_NUM 14
54#endif
46 55
47/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 56/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
48//#define LOCKING_SUPPORT_ENABLE 57//#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/tunks/ergo33/keymaps/rgb/config.h b/keyboards/tunks/ergo33/keymaps/rgb/config.h
index dceb82945..e2c8883ed 100644
--- a/keyboards/tunks/ergo33/keymaps/rgb/config.h
+++ b/keyboards/tunks/ergo33/keymaps/rgb/config.h
@@ -20,5 +20,8 @@
20 * No external LED PCB: 10 20 * No external LED PCB: 10
21 * External LED PCB: 14 21 * External LED PCB: 14
22 */ 22 */
23#define RGBLED_NUM 10 23#if defined(RGBLED_NUM)
24#define RGBLIGHT_ANIMATIONS \ No newline at end of file 24# undef RGBLED_NUM
25# define RGBLED_NUM 10
26#endif
27#define RGBLIGHT_ANIMATIONS