summaryrefslogtreecommitdiff
path: root/keyboards/boardsource/microdox/v2/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-04-19 11:04:21 +0000
committerQMK Bot <hello@qmk.fm>2022-04-19 11:04:21 +0000
commit2b23237da1fd21db4d05e666f690b3b1ea44cd66 (patch)
tree7ba0af947b6a792f8414381f5b3513fd082dc2db /keyboards/boardsource/microdox/v2/config.h
parent671b62efab9d73cde791cc7b0b2c877516de6012 (diff)
parentad31ea3f515630f922ccad54cc879e13a05020fa (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/boardsource/microdox/v2/config.h')
-rw-r--r--keyboards/boardsource/microdox/v2/config.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/boardsource/microdox/v2/config.h b/keyboards/boardsource/microdox/v2/config.h
new file mode 100644
index 0000000000..1f8bc7c3d9
--- /dev/null
+++ b/keyboards/boardsource/microdox/v2/config.h
@@ -0,0 +1,45 @@
+// 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