aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix/m12og/rev2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/matrix/m12og/rev2')
-rw-r--r--keyboards/matrix/m12og/rev2/keyboard.json (renamed from keyboards/matrix/m12og/rev2/info.json)9
-rw-r--r--keyboards/matrix/m12og/rev2/rev2.c4
-rw-r--r--keyboards/matrix/m12og/rev2/rules.mk12
3 files changed, 12 insertions, 13 deletions
diff --git a/keyboards/matrix/m12og/rev2/info.json b/keyboards/matrix/m12og/rev2/keyboard.json
index 2205db43fa..42df6a75e8 100644
--- a/keyboards/matrix/m12og/rev2/info.json
+++ b/keyboards/matrix/m12og/rev2/keyboard.json
@@ -29,6 +29,15 @@
"ws2812": {
"pin": "B3"
},
+ "features": {
+ "bootmagic": true,
+ "command": false,
+ "console": false,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "rgblight": true
+ },
"matrix_pins": {
"cols": ["F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D0", "D2", "D6", "D4", "D5"],
"rows": ["E6", "F0", "B7", "C7", "D3", "B0", "D1"]
diff --git a/keyboards/matrix/m12og/rev2/rev2.c b/keyboards/matrix/m12og/rev2/rev2.c
index 1a35dff7a9..fb424b164f 100644
--- a/keyboards/matrix/m12og/rev2/rev2.c
+++ b/keyboards/matrix/m12og/rev2/rev2.c
@@ -4,10 +4,12 @@
#include "quantum.h"
-void matrix_init_user(void) {
+void matrix_init_kb(void) {
setPinOutput(C6);
setPinOutput(B2);
setPinOutput(B1);
+
+ matrix_init_user();
}
bool led_update_kb(led_t led_state) {
diff --git a/keyboards/matrix/m12og/rev2/rules.mk b/keyboards/matrix/m12og/rev2/rules.mk
deleted file mode 100644
index f1af8ca4c9..0000000000
--- a/keyboards/matrix/m12og/rev2/rules.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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
-AUDIO_ENABLE = no
-RGBLIGHT_ENABLE = yes