summaryrefslogtreecommitdiff
path: root/keyboards/mechkeys/mechmini/v1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechkeys/mechmini/v1')
-rw-r--r--keyboards/mechkeys/mechmini/v1/config.h7
-rw-r--r--keyboards/mechkeys/mechmini/v1/info.json5
-rw-r--r--keyboards/mechkeys/mechmini/v1/rules.mk6
3 files changed, 5 insertions, 13 deletions
diff --git a/keyboards/mechkeys/mechmini/v1/config.h b/keyboards/mechkeys/mechmini/v1/config.h
index c9e56e62e3..3da5747d2b 100644
--- a/keyboards/mechkeys/mechmini/v1/config.h
+++ b/keyboards/mechkeys/mechmini/v1/config.h
@@ -17,18 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
-/* matrix size */
-#define MATRIX_ROWS 4
-#define MATRIX_COLS 12
#define MATRIX_ROW_PINS { B0, B1, B2, B3 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 }
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 3
-
/* RGB underglow */
// The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards.
// The same pin is used on the JJ40, at least.
diff --git a/keyboards/mechkeys/mechmini/v1/info.json b/keyboards/mechkeys/mechmini/v1/info.json
index 6a17171154..751be56e38 100644
--- a/keyboards/mechkeys/mechmini/v1/info.json
+++ b/keyboards/mechkeys/mechmini/v1/info.json
@@ -8,6 +8,11 @@
"pid": "0xCA40",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
+ "processor": "atmega32a",
+ "bootloader": "bootloadhid",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/mechkeys/mechmini/v1/rules.mk b/keyboards/mechkeys/mechmini/v1/rules.mk
index a7d4a67a16..1829f64e67 100644
--- a/keyboards/mechkeys/mechmini/v1/rules.mk
+++ b/keyboards/mechkeys/mechmini/v1/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32a
-
-# Bootloader selection
-BOOTLOADER = bootloadhid
-
# Build Options
# change yes to no to disable
#