summaryrefslogtreecommitdiffstats
path: root/keyboards/boardsource/microdox
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/boardsource/microdox')
-rw-r--r--keyboards/boardsource/microdox/.noci0
-rw-r--r--keyboards/boardsource/microdox/info.json124
-rw-r--r--keyboards/boardsource/microdox/keymaps/cole/keymap.c2
-rw-r--r--keyboards/boardsource/microdox/keymaps/cole/rules.mk1
-rw-r--r--keyboards/boardsource/microdox/keymaps/default/keymap.c2
-rw-r--r--keyboards/boardsource/microdox/keymaps/via/rules.mk2
-rw-r--r--keyboards/boardsource/microdox/microdox.c37
-rw-r--r--keyboards/boardsource/microdox/microdox.h38
-rw-r--r--keyboards/boardsource/microdox/readme.md3
-rw-r--r--keyboards/boardsource/microdox/rules.mk21
-rw-r--r--keyboards/boardsource/microdox/v1/config.h20
-rw-r--r--keyboards/boardsource/microdox/v1/info.json25
-rw-r--r--keyboards/boardsource/microdox/v1/rules.mk1
-rw-r--r--keyboards/boardsource/microdox/v2/config.h51
-rw-r--r--keyboards/boardsource/microdox/v2/info.json82
-rw-r--r--keyboards/boardsource/microdox/v2/rules.mk7
-rw-r--r--keyboards/boardsource/microdox/v2/v2.c62
-rw-r--r--keyboards/boardsource/microdox/v2/v2.h22
18 files changed, 239 insertions, 261 deletions
diff --git a/keyboards/boardsource/microdox/.noci b/keyboards/boardsource/microdox/.noci
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/boardsource/microdox/.noci
+++ /dev/null
diff --git a/keyboards/boardsource/microdox/info.json b/keyboards/boardsource/microdox/info.json
index 45aa89dc25..37f190d42d 100644
--- a/keyboards/boardsource/microdox/info.json
+++ b/keyboards/boardsource/microdox/info.json
@@ -1,60 +1,70 @@
{
- "keyboard_name": "microdox",
- "manufacturer": "Boardsource",
- "url": "https://boardsource.xyz/store/5f2e7e4a2902de7151494f92",
- "maintainer": "boardsource",
- "usb": {
- "vid": "0xF7E0",
- "pid": "0x0412",
- "device_version": "0.0.1"
- },
- "layouts": {
- "LAYOUT_split_3x5_3": {
- "layout": [
- { "label": "Q", "x": 0, "y": 0.3 },
- { "label": "W", "x": 1, "y": 0.1 },
- { "label": "E", "x": 2, "y": 0 },
- { "label": "R", "x": 3, "y": 0.1 },
- { "label": "T", "x": 4, "y": 0.2 },
-
- { "label": "Y", "x": 8, "y": 0.2 },
- { "label": "U", "x": 9, "y": 0.1 },
- { "label": "I", "x": 10, "y": 0 },
- { "label": "O", "x": 11, "y": 0.1 },
- { "label": "P", "x": 12, "y": 0.3 },
-
- { "label": "A", "x": 0, "y": 1.3 },
- { "label": "S", "x": 1, "y": 1.1 },
- { "label": "D", "x": 2, "y": 1 },
- { "label": "F", "x": 3, "y": 1.1 },
- { "label": "G", "x": 4, "y": 1.2 },
-
- { "label": "H", "x": 8, "y": 1.2 },
- { "label": "J", "x": 9, "y": 1.1 },
- { "label": "K", "x": 10, "y": 1 },
- { "label": "L", "x": 11, "y": 1.1 },
- { "label": ";", "x": 12, "y": 1.3 },
-
- { "label": "Z", "x": 0, "y": 2.3 },
- { "label": "X", "x": 1, "y": 2.1 },
- { "label": "C", "x": 2, "y": 2 },
- { "label": "V", "x": 3, "y": 2.1 },
- { "label": "B", "x": 4, "y": 2.2 },
-
- { "label": "N", "x": 8, "y": 2.2 },
- { "label": "M", "x": 9, "y": 2.1 },
- { "label": ",", "x": 10, "y": 2 },
- { "label": ".", "x": 11, "y": 2.1 },
- { "label": "/", "x": 12, "y": 2.3 },
-
- { "label": "GUI / KC_HANJ", "x": 3, "y": 3.7 },
- { "label": "Lower", "x": 4, "y": 3.7 },
- { "label": "Space", "x": 5, "y": 3.2 },
-
- { "label": "Enter", "x": 7, "y": 3.2 },
- { "label": "Raise", "x": 8, "y": 3.7 },
- { "label": "Alt / KC_HAEN", "x": 9, "y": 3.7 }
- ]
- }
+ "manufacturer": "Boardsource",
+ "keyboard_name": "microdox",
+ "maintainer": "waffle87",
+ "development_board": "promicro",
+ "diode_direction": "COL2ROW",
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "oled": true
+ },
+ "url": "https://boardsource.xyz/store/5f2e7e4a2902de7151494f92",
+ "usb": {
+ "pid": "0x0412",
+ "vid": "0xF7E0"
+ },
+ "split": {
+ "enabled": true
+ },
+ "community_layouts": [
+ "split_3x5_3"
+ ],
+ "layouts": {
+ "LAYOUT_split_3x5_3": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0 },
+ { "matrix": [0, 1], "x": 1, "y": 0 },
+ { "matrix": [0, 2], "x": 2, "y": 0 },
+ { "matrix": [0, 3], "x": 3, "y": 0 },
+ { "matrix": [0, 4], "x": 4, "y": 0 },
+ { "matrix": [4, 4], "x": 5, "y": 0 },
+ { "matrix": [4, 3], "x": 6, "y": 0 },
+ { "matrix": [4, 2], "x": 7, "y": 0 },
+ { "matrix": [4, 1], "x": 8, "y": 0 },
+ { "matrix": [4, 0], "x": 9, "y": 0 },
+ { "matrix": [1, 0], "x": 10, "y": 0 },
+ { "matrix": [1, 1], "x": 11, "y": 0 },
+ { "matrix": [1, 2], "x": 12, "y": 0 },
+ { "matrix": [1, 3], "x": 13, "y": 0 },
+ { "matrix": [1, 4], "x": 14, "y": 0 },
+ { "matrix": [5, 4], "x": 15, "y": 0 },
+ { "matrix": [5, 3], "x": 16, "y": 0 },
+ { "matrix": [5, 2], "x": 17, "y": 0 },
+ { "matrix": [5, 1], "x": 18, "y": 0 },
+ { "matrix": [5, 0], "x": 19, "y": 0 },
+ { "matrix": [2, 0], "x": 20, "y": 0 },
+ { "matrix": [2, 1], "x": 21, "y": 0 },
+ { "matrix": [2, 2], "x": 22, "y": 0 },
+ { "matrix": [2, 3], "x": 23, "y": 0 },
+ { "matrix": [2, 4], "x": 24, "y": 0 },
+ { "matrix": [6, 4], "x": 25, "y": 0 },
+ { "matrix": [6, 3], "x": 26, "y": 0 },
+ { "matrix": [6, 2], "x": 27, "y": 0 },
+ { "matrix": [6, 1], "x": 28, "y": 0 },
+ { "matrix": [6, 0], "x": 29, "y": 0 },
+ { "matrix": [3, 2], "x": 30, "y": 0 },
+ { "matrix": [3, 3], "x": 31, "y": 0 },
+ { "matrix": [3, 4], "x": 32, "y": 0 },
+ { "matrix": [7, 4], "x": 33, "y": 0 },
+ { "matrix": [7, 3], "x": 34, "y": 0 },
+ { "matrix": [7, 2], "x": 35, "y": 0 }
+ ]
}
+ }
}
diff --git a/keyboards/boardsource/microdox/keymaps/cole/keymap.c b/keyboards/boardsource/microdox/keymaps/cole/keymap.c
index f4ac92ea0d..8c177be5a5 100644
--- a/keyboards/boardsource/microdox/keymaps/cole/keymap.c
+++ b/keyboards/boardsource/microdox/keymaps/cole/keymap.c
@@ -1,5 +1,5 @@
/*
-Copyright 2020 Cole Smith <cole@boadsource.xyz>
+Copyright 2022 Cole Smith <cole@boadsource.xyz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/keyboards/boardsource/microdox/keymaps/cole/rules.mk b/keyboards/boardsource/microdox/keymaps/cole/rules.mk
deleted file mode 100644
index dd68e9d3b0..0000000000
--- a/keyboards/boardsource/microdox/keymaps/cole/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-OLED_ENABLE = yes
diff --git a/keyboards/boardsource/microdox/keymaps/default/keymap.c b/keyboards/boardsource/microdox/keymaps/default/keymap.c
index 6fe94011f4..8a090b6f8f 100644
--- a/keyboards/boardsource/microdox/keymaps/default/keymap.c
+++ b/keyboards/boardsource/microdox/keymaps/default/keymap.c
@@ -1,5 +1,5 @@
/*
-Copyright 2020 Cole Smith <cole@boadsource.xyz>
+Copyright 2022 Cole Smith <cole@boadsource.xyz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/keyboards/boardsource/microdox/keymaps/via/rules.mk b/keyboards/boardsource/microdox/keymaps/via/rules.mk
index 7fad85c015..1e5b99807c 100644
--- a/keyboards/boardsource/microdox/keymaps/via/rules.mk
+++ b/keyboards/boardsource/microdox/keymaps/via/rules.mk
@@ -1,3 +1 @@
-OLED_ENABLE = yes
VIA_ENABLE = yes
-LTO_ENABLE = yes
diff --git a/keyboards/boardsource/microdox/microdox.c b/keyboards/boardsource/microdox/microdox.c
index abfe65a2bd..76ee6bc54e 100644
--- a/keyboards/boardsource/microdox/microdox.c
+++ b/keyboards/boardsource/microdox/microdox.c
@@ -1,5 +1,5 @@
/*
-Copyright 2020 Cole Smith <cole@boadsource.xyz>
+Copyright 2022 Cole Smith <cole@boadsource.xyz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -15,9 +15,11 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "microdox.h"
-
#ifdef OLED_ENABLE
+#include "oled_driver.h"
+#include "bitwise.h"
+#include "action_layer.h"
+
oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
if (is_keyboard_master())
return OLED_ROTATION_180;
@@ -26,14 +28,12 @@ oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
static void render_logo(void) {
static const char PROGMEM qmk_logo[] = {
- 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x93,0x94,
- 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb1,0xb2,0xb3,0xb4,
- 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,
- 0
+ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x90, 0x91, 0x92, 0x93, 0x94,
+ 0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4,
+ 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0x00
};
oled_write_P(qmk_logo, false);
}
-
static void render_status(void) {
switch (get_highest_layer(layer_state)) {
case 0:
@@ -74,3 +74,24 @@ bool oled_task_kb(void) {
return false;
}
#endif
+
+#ifdef ENCODER_ENABLE
+#include "encoder.h"
+bool encoder_update_kb(uint8_t index, bool clockwise) {
+ if (!encoder_update_user(index, clockwise)) { return false; }
+ if (index == 0) {
+ if (clockwise) {
+ tap_code_delay(KC_VOLU, 10);
+ } else {
+ tap_code_delay(KC_VOLD, 10);
+ }
+ } else {
+ if (clockwise) {
+ tap_code(KC_MNXT);
+ } else {
+ tap_code(KC_MPRV);
+ }
+ }
+ return true;
+}
+#endif
diff --git a/keyboards/boardsource/microdox/microdox.h b/keyboards/boardsource/microdox/microdox.h
deleted file mode 100644
index 8b63b46415..0000000000
--- a/keyboards/boardsource/microdox/microdox.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-Copyright 2020 Cole Smith <cole@boadsource.xyz>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "quantum.h"
-#define xxx KC_NO
-
-#define LAYOUT_split_3x5_3(\
- k00, k01, k02, k03, k04, k44, k43, k42, k41, k40, \
- k10, k11, k12, k13, k14, k54, k53, k52, k51, k50, \
- k20, k21, k22, k23, k24, k64, k63, k62, k61, k60, \
- k32, k33, k34, k74, k73, k72 \
- ) \
- { \
- { k00, k01, k02, k03, k04 }, \
- { k10, k11, k12, k13, k14 }, \
- { k20, k21, k22, k23, k24 }, \
- { xxx, xxx, k32, k33, k34 }, \
- { k40, k41, k42, k43, k44 }, \
- { k50, k51, k52, k53, k54 }, \
- { k60, k61, k62, k63, k64 }, \
- { xxx, xxx, k72, k73, k74 } \
- }
diff --git a/keyboards/boardsource/microdox/readme.md b/keyboards/boardsource/microdox/readme.md
index 0a468bd4a3..d5b22a2854 100644
--- a/keyboards/boardsource/microdox/readme.md
+++ b/keyboards/boardsource/microdox/readme.md
@@ -8,8 +8,9 @@
Make example for this keyboard (after setting up your build environment):
+ make boardsource/microdox/v1:default
make boardsource/microdox/v2:default
-Remove `v2` from above command if you purchased your PCBs prior to April 2022
+Compile `v1` firmware if you purchased your PCBs prior to April 2022.
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/boardsource/microdox/rules.mk b/keyboards/boardsource/microdox/rules.mk
deleted file mode 100644
index a15c5aded1..0000000000
--- a/keyboards/boardsource/microdox/rules.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-SPLIT_KEYBOARD = yes
-
-LAYOUTS = split_3x5_3
diff --git a/keyboards/boardsource/microdox/v1/config.h b/keyboards/boardsource/microdox/v1/config.h
new file mode 100644
index 0000000000..111033dd67
--- /dev/null
+++ b/keyboards/boardsource/microdox/v1/config.h
@@ -0,0 +1,20 @@
+// Copyright 2022 jack (@waffle87)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
diff --git a/keyboards/boardsource/microdox/v1/info.json b/keyboards/boardsource/microdox/v1/info.json
new file mode 100644
index 0000000000..a79153a73c
--- /dev/null
+++ b/keyboards/boardsource/microdox/v1/info.json
@@ -0,0 +1,25 @@
+{
+ "features": {
+ "rgblight": true
+ },
+ "matrix_pins": {
+ "cols": ["F4", "F5", "F6", "F7", "B1"],
+ "rows": ["B2", "B6", "B4", "B5"]
+ },
+ "usb": {
+ "device_version": "1.0.0"
+ },
+ "split": {
+ "soft_serial_pin": "D2"
+ },
+ "rgblight": {
+ "pin": "D3",
+ "sleep": true,
+ "led_count": 12,
+ "split_count": [6, 6],
+ "max_brightness": 150,
+ "animations": {
+ "all": true
+ }
+ }
+}
diff --git a/keyboards/boardsource/microdox/v1/rules.mk b/keyboards/boardsource/microdox/v1/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/boardsource/microdox/v1/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank
diff --git a/keyboards/boardsource/microdox/v2/config.h b/keyboards/boardsource/microdox/v2/config.h
index 1f8bc7c3d9..b2e6ba9335 100644
--- a/keyboards/boardsource/microdox/v2/config.h
+++ b/keyboards/boardsource/microdox/v2/config.h
@@ -1,45 +1,16 @@
// 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
diff --git a/keyboards/boardsource/microdox/v2/info.json b/keyboards/boardsource/microdox/v2/info.json
new file mode 100644
index 0000000000..a53dfff708
--- /dev/null
+++ b/keyboards/boardsource/microdox/v2/info.json
@@ -0,0 +1,82 @@
+{
+ "features": {
+ "rgb_matrix": true
+ },
+ "matrix_pins": {
+ "cols": ["D4", "D7", "B3", "F7", "F6"],
+ "rows": ["F4", "D2", "C6", "B1"]
+ },
+ "usb": {
+ "device_version": "2.0.0"
+ },
+ "encoder": {
+ "enabled": true,
+ "rotary": [
+ { "pin_a": "E6", "pin_b": "B2"}
+ ]
+ },
+ "split": {
+ "soft_serial_pin": "D3",
+ "matrix_pins": {
+ "right": {
+ "cols": ["F4", "B1", "D7", "C6", "B3"],
+ "rows": ["F5", "F7", "F6", "E6"]
+ }
+ },
+ "encoder": {
+ "right": {
+ "rotary": [
+ { "pin_a": "B6", "pin_b": "B2" }
+ ]
+ }
+ }
+ },
+ "rgb_matrix": {
+ "layout": [
+ { "flags": 2, "x": 12, "y": 11 },
+ { "flags": 2, "x": 86, "y": 11 },
+ { "flags": 2, "x": 86, "y": 53 },
+ { "flags": 2, "x": 0, "y": 64 },
+ { "flags": 2, "x": 211, "y": 11 },
+ { "flags": 2, "x": 136, "y": 11 },
+ { "flags": 2, "x": 136, "y": 53 },
+ { "flags": 2, "x": 224, "y": 64 },
+ { "flags": 4, "matrix": [0, 0], "x": 0, "y": 0 },
+ { "flags": 4, "matrix": [0, 1], "x": 24, "y": 0 },
+ { "flags": 4, "matrix": [0, 2], "x": 49, "y": 0 },
+ { "flags": 4, "matrix": [0, 3], "x": 74, "y": 0 },
+ { "flags": 4, "matrix": [0, 4], "x": 99, "y": 0 },
+ { "flags": 4, "matrix": [4, 4], "x": 124, "y": 0 },
+ { "flags": 4, "matrix": [4, 3], "x": 149, "y": 0 },
+ { "flags": 4, "matrix": [4, 2], "x": 174, "y": 0 },
+ { "flags": 4, "matrix": [4, 1], "x": 199, "y": 0 },
+ { "flags": 4, "matrix": [4, 0], "x": 224, "y": 0 },
+ { "flags": 4, "matrix": [1, 0], "x": 0, "y": 21 },
+ { "flags": 4, "matrix": [1, 1], "x": 24, "y": 21 },
+ { "flags": 4, "matrix": [1, 2], "x": 49, "y": 21 },
+ { "flags": 4, "matrix": [1, 3], "x": 74, "y": 21 },
+ { "flags": 4, "matrix": [1, 4], "x": 99, "y": 21 },
+ { "flags": 4, "matrix": [5, 4], "x": 124, "y": 21 },
+ { "flags": 4, "matrix": [5, 3], "x": 149, "y": 21 },
+ { "flags": 4, "matrix": [5, 2], "x": 174, "y": 21 },
+ { "flags": 4, "matrix": [5, 1], "x": 199, "y": 21 },
+ { "flags": 4, "matrix": [5, 0], "x": 224, "y": 21 },
+ { "flags": 4, "matrix": [2, 0], "x": 0, "y": 42 },
+ { "flags": 4, "matrix": [2, 1], "x": 24, "y": 42 },
+ { "flags": 4, "matrix": [2, 2], "x": 49, "y": 42 },
+ { "flags": 4, "matrix": [2, 3], "x": 74, "y": 42 },
+ { "flags": 4, "matrix": [2, 4], "x": 99, "y": 42 },
+ { "flags": 4, "matrix": [6, 4], "x": 124, "y": 42 },
+ { "flags": 4, "matrix": [6, 3], "x": 149, "y": 42 },
+ { "flags": 4, "matrix": [6, 2], "x": 174, "y": 42 },
+ { "flags": 4, "matrix": [6, 1], "x": 199, "y": 42 },
+ { "flags": 4, "matrix": [6, 0], "x": 224, "y": 42 },
+ { "flags": 1, "matrix": [3, 2], "x": 49, "y": 64 },
+ { "flags": 1, "matrix": [3, 3], "x": 74, "y": 64 },
+ { "flags": 1, "matrix": [3, 4], "x": 99, "y": 64 },
+ { "flags": 1, "matrix": [7, 4], "x": 124, "y": 64 },
+ { "flags": 1, "matrix": [7, 3], "x": 149, "y": 64 },
+ { "flags": 1, "matrix": [7, 2], "x": 174, "y": 64 }
+ ]
+ }
+}
diff --git a/keyboards/boardsource/microdox/v2/rules.mk b/keyboards/boardsource/microdox/v2/rules.mk
index 0d57a06d1e..32afd21635 100644
--- a/keyboards/boardsource/microdox/v2/rules.mk
+++ b/keyboards/boardsource/microdox/v2/rules.mk
@@ -1,8 +1 @@
-RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
-RGB_MATRIX_SUPPORTED = yes
-RGBLIGHT_ENABLE = no
-OLED_ENABLE = yes
-OLED_DRIVER = SSD1306
-ENCODER_ENABLE = yes
-LTO_ENABLE = yes
diff --git a/keyboards/boardsource/microdox/v2/v2.c b/keyboards/boardsource/microdox/v2/v2.c
deleted file mode 100644
index 11476a6ea2..0000000000
--- a/keyboards/boardsource/microdox/v2/v2.c
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2022 jack (@waffle87)
-// SPDX-License-Identifier: GPL-2.0-or-later
-#include "v2.h"
-
-#ifdef RGB_MATRIX_ENABLE
-led_config_t g_led_config = {
- {
- { 13, 14, 15, 16, 17 },
- { 12, 11, 10, 9, 8 },
- { 3, 4, 5, 6, 7 },
- { NO_LED, NO_LED, 2, 1, 0 },
- //18-21 left underglow
- { 35, 36, 37, 38, 39 },
- { 34, 33, 32, 31, 30 },
- { 25, 26, 27, 28, 29 },
- { NO_LED, NO_LED, 24, 23, 22 }
- //40-44 right underglow
- }, {
- {99,64}, {74,64}, {49,64}, //0-2
- {0,42}, {24,42}, {49,42}, {74,42}, {99,42}, //3-7
- {99,21}, {74,21}, {49,21}, {24,21}, {0,21}, //8-12
- {0,0}, {24,0}, {49,0}, {74,0}, {99,0}, //13-17
- {12,11}, {86,11}, {86,53}, {0,64}, //18-21
- {124,64}, {149,64}, {174,64}, //22-24
- {224,42}, {199,42}, {174,42}, {149,42}, {124,42}, //25-29
- {124,21}, {149,21}, {174,21}, {199,21}, {224,21}, //30-34
- {224,0}, {199,0}, {174,0}, {149,0}, {124,0}, //35-39
- {211,11}, {136,11}, {136,53}, {224,64} //40-44
- }, {
- 1, 1, 1,
- 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4,
- 2, 2, 2, 2,
- 1, 1, 1,
- 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4,
- 4, 4, 4, 4, 4,
- 2, 2, 2, 2
- }
-};
-#endif
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) { return false; }
- if (index == 0) {
- if (clockwise) {
- tap_code_delay(KC_VOLU, 10);
- } else {
- tap_code_delay(KC_VOLD, 10);
- }
- } else {
- if (clockwise) {
- tap_code(KC_MNXT);
- } else {
- tap_code(KC_MPRV);
- }
- }
- return false;
-}
-#endif
diff --git a/keyboards/boardsource/microdox/v2/v2.h b/keyboards/boardsource/microdox/v2/v2.h
deleted file mode 100644
index 400660fffa..0000000000
--- a/keyboards/boardsource/microdox/v2/v2.h
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2022 jack (@waffle87)
-// SPDX-License-Identifier: GPL-2.0-or-later
-#pragma once
-#include "quantum.h"
-#define xxx KC_NO
-
-#define LAYOUT_split_3x5_3(\
- k00, k01, k02, k03, k04, k44, k43, k42, k41, k40, \
- k10, k11, k12, k13, k14, k54, k53, k52, k51, k50, \
- k20, k21, k22, k23, k24, k64, k63, k62, k61, k60, \
- k32, k33, k34, k74, k73, k72 \
- ) \
- { \
- { k00, k01, k02, k03, k04 }, \
- { k10, k11, k12, k13, k14 }, \
- { k20, k21, k22, k23, k24 }, \
- { xxx, xxx, k32, k33, k34 }, \
- { k40, k41, k42, k43, k44 }, \
- { k50, k51, k52, k53, k54 }, \
- { k60, k61, k62, k63, k64 }, \
- { xxx, xxx, k72, k73, k74 } \
- }