summaryrefslogtreecommitdiff
path: root/keyboards/mb44
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mb44')
-rw-r--r--keyboards/mb44/config.h12
-rw-r--r--keyboards/mb44/info.json7
-rw-r--r--keyboards/mb44/rules.mk6
3 files changed, 7 insertions, 18 deletions
diff --git a/keyboards/mb44/config.h b/keyboards/mb44/config.h
index da822ddfe9..365fed7340 100644
--- a/keyboards/mb44/config.h
+++ b/keyboards/mb44/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 4
-#define MATRIX_COLS 12
/*
* Keyboard Matrix Assignments
@@ -38,10 +33,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
-/*Encoder Definition*/
-#define ENCODERS_PAD_A { D3 }
-#define ENCODERS_PAD_B { D2 }
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
diff --git a/keyboards/mb44/info.json b/keyboards/mb44/info.json
index 4f916a0bf0..865f05674f 100644
--- a/keyboards/mb44/info.json
+++ b/keyboards/mb44/info.json
@@ -8,6 +8,13 @@
"pid": "0x6D62",
"device_version": "0.0.1"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "D3", "pin_b": "D2"}
+ ]
+ },
+ "processor": "atmega32u2",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_default": {
"layout": [
diff --git a/keyboards/mb44/rules.mk b/keyboards/mb44/rules.mk
index 25bfe0732a..9d77ae8a3c 100644
--- a/keyboards/mb44/rules.mk
+++ b/keyboards/mb44/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u2
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#