aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix/m12og/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/matrix/m12og/rev1')
-rw-r--r--keyboards/matrix/m12og/rev1/info.json9
-rw-r--r--keyboards/matrix/m12og/rev1/matrix.c3
-rw-r--r--keyboards/matrix/m12og/rev1/rules.mk14
3 files changed, 9 insertions, 17 deletions
diff --git a/keyboards/matrix/m12og/rev1/info.json b/keyboards/matrix/m12og/rev1/info.json
index 38a9de45ac..d5ee589cc1 100644
--- a/keyboards/matrix/m12og/rev1/info.json
+++ b/keyboards/matrix/m12og/rev1/info.json
@@ -31,6 +31,15 @@
"ws2812": {
"pin": "B8"
},
+ "features": {
+ "bootmagic": false,
+ "mousekey": false,
+ "extrakey": true,
+ "rgblight": true
+ },
+ "build": {
+ "lto": true
+ },
"layout_aliases": {
"LAYOUT_all": "LAYOUT_tkl_ansi_tsangan"
},
diff --git a/keyboards/matrix/m12og/rev1/matrix.c b/keyboards/matrix/m12og/rev1/matrix.c
index 9c36153da1..c127aa35b9 100644
--- a/keyboards/matrix/m12og/rev1/matrix.c
+++ b/keyboards/matrix/m12og/rev1/matrix.c
@@ -14,12 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdint.h>
-#include <stdbool.h>
#include "util.h"
#include "matrix.h"
#include "debounce.h"
-#include "quantum.h"
static const pin_t row_pins[MATRIX_ROWS] = MATRIX_ROW_PINS;
static const pin_t col_pins[MATRIX_COLS] = MATRIX_COL_PINS;
diff --git a/keyboards/matrix/m12og/rev1/rules.mk b/keyboards/matrix/m12og/rev1/rules.mk
index 136d07cbaa..bc406d1cba 100644
--- a/keyboards/matrix/m12og/rev1/rules.mk
+++ b/keyboards/matrix/m12og/rev1/rules.mk
@@ -8,19 +8,5 @@ BOARD = m12og_v1
# Bootloader selection
BOOTLOADER = custom
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # 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 = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # HAS TO BE ON! Otherwise the custom matrix doesn't work
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes
-
CUSTOM_MATRIX = lite
SRC += matrix.c