summaryrefslogtreecommitdiff
path: root/keyboards/mlego/m65/rev3
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mlego/m65/rev3')
-rw-r--r--keyboards/mlego/m65/rev3/config.h12
-rw-r--r--keyboards/mlego/m65/rev3/info.json15
-rw-r--r--keyboards/mlego/m65/rev3/rules.mk8
3 files changed, 14 insertions, 21 deletions
diff --git a/keyboards/mlego/m65/rev3/config.h b/keyboards/mlego/m65/rev3/config.h
index e58a84f3d8..4a71449cb0 100644
--- a/keyboards/mlego/m65/rev3/config.h
+++ b/keyboards/mlego/m65/rev3/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define LED_NUM_LOCK_PIN B12
-#define LED_SCROLL_LOCK_PIN B13
-#define LED_CAPS_LOCK_PIN C13
-
// 0 1 2 3 4
#define MATRIX_ROW_PINS \
{ B10, A5, A6, A7, B0 }
@@ -28,14 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS \
{ A10, A15, B3, B4, B5, B9, B8, B7, A1, A2, A3, A4, B1 }
-#ifdef ENCODER_ENABLE
-#define ENCODERS_PAD_A \
- { A0 }
-#define ENCODERS_PAD_B \
- { B6 }
-#define ENCODER_RESOLUTION 4
-#endif
-
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN B15
diff --git a/keyboards/mlego/m65/rev3/info.json b/keyboards/mlego/m65/rev3/info.json
index e42ab50857..39c26191c6 100644
--- a/keyboards/mlego/m65/rev3/info.json
+++ b/keyboards/mlego/m65/rev3/info.json
@@ -2,5 +2,18 @@
"usb": {
"pid": "0x6062",
"device_version": "0.0.1"
- }
+ },
+ "encoder": {
+ "rotary": [
+ {"pin_a": "A0", "pin_b": "B6"}
+ ]
+ },
+ "indicators": {
+ "caps_lock": "C13",
+ "num_lock": "B12",
+ "scroll_lock": "B13"
+ },
+ "processor": "STM32F401",
+ "bootloader": "tinyuf2",
+ "board": "BLACKPILL_STM32_F401"
}
diff --git a/keyboards/mlego/m65/rev3/rules.mk b/keyboards/mlego/m65/rev3/rules.mk
index 57908335fd..fa351eadba 100644
--- a/keyboards/mlego/m65/rev3/rules.mk
+++ b/keyboards/mlego/m65/rev3/rules.mk
@@ -1,11 +1,3 @@
-# MCU name
-MCU = STM32F401
-BOARD = BLACKPILL_STM32_F401
-
-# Bootloader selection
-BOOTLOADER = tinyuf2
-#BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#