summaryrefslogtreecommitdiff
path: root/keyboards/boardsource/microdox/v2/config.h
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-07-18 20:20:24 -0600
committerGitHub <noreply@github.com>2022-07-18 19:20:24 -0700
commit59c7b15b4da6e9325b7af6bd34fc4cb557ebb184 (patch)
tree26bfce868d7346f49ee6739ef2bd7d0ec5134b5d /keyboards/boardsource/microdox/v2/config.h
parente8b14a52de5deb7b2422362cb2dabeba21333058 (diff)
[Keyboard] boardsource/microdox data driven (#17675)
Diffstat (limited to 'keyboards/boardsource/microdox/v2/config.h')
-rw-r--r--keyboards/boardsource/microdox/v2/config.h51
1 files changed, 10 insertions, 41 deletions
diff --git a/keyboards/boardsource/microdox/v2/config.h b/keyboards/boardsource/microdox/v2/config.h
index 1f8bc7c3d9..50207651ab 100644
--- a/keyboards/boardsource/microdox/v2/config.h
+++ b/keyboards/boardsource/microdox/v2/config.h
@@ -1,45 +1,14 @@
// Copyright 2022 jack (@waffle87)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
-#undef MATRIX_ROW_PINS
-#undef MATRIX_COL_PINS
-#define MATRIX_ROW_PINS \
- { F4, D2, C6, B1 }
-#define MATRIX_COL_PINS \
- { D4, D7, B3, F7, F6 }
-#define MATRIX_ROW_PINS_RIGHT \
- { F5, F7, F6, E6 }
-#define MATRIX_COL_PINS_RIGHT \
- { F4, B1, D7, C6, B3 }
-#undef SOFT_SERIAL_PIN
-#define SOFT_SERIAL_PIN D3
-#undef RGB_DI_PIN
#define RGB_DI_PIN B5
-#ifdef RGBLIGHT_ENABLE
-# undef RGBLED_NUM
-# undef RGBLED_SPLIT
-# define RGBLED_NUM 8
-# define RGBLED_SPLIT { 4, 4 } // underglow only
-# define RGBLIGHT_SLEEP
-# define RGBLIGHT_EFFECT_BREATHING
-# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-# define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#endif
-#ifdef RGB_MATRIX_ENABLE
-# define DRIVER_LED_TOTAL 44
-# define RGB_MATRIX_SPLIT { 22, 22 }
-# define RGB_DISABLE_WHEN_USB_SUSPENDED
-# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
-# define ENABLE_RGB_MATRIX_ALPHAS_MODS
-# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
-# define ENABLE_RGB_MATRIX_BREATHING
-# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
-# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
-# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
-#endif
-#ifdef ENCODER_ENABLE
-# define ENCODERS_PAD_A { E6 }
-# define ENCODERS_PAD_B { B2 }
-# define ENCODERS_PAD_A_RIGHT { B6 }
-# define ENCODERS_PAD_B_RIGHT { B2 }
-#endif
+#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
+#define DRIVER_LED_TOTAL 44
+#define RGB_MATRIX_SPLIT { 22, 22 }
+#define RGB_DISABLE_WHEN_USB_SUSPENDED
+#define ENABLE_RGB_MATRIX_ALPHAS_MODS
+#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
+#define ENABLE_RGB_MATRIX_BREATHING
+#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
+#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
+#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS