aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-04-22 20:06:24 -0700
committerGitHub <[email protected]>2024-04-23 04:06:24 +0100
commita1cbdf145fe90a60fed2d567ac944277a4234089 (patch)
tree3799bb08f26802f25df95169f6b68176b4724977 /keyboards/matrix
parentdc0095c64b2658a8fb5421ce93cb6bdc53806693 (diff)
downloadqmk_firmware-a1cbdf145fe90a60fed2d567ac944277a4234089.tar.gz
qmk_firmware-a1cbdf145fe90a60fed2d567ac944277a4234089.zip
Data-Driven Keyboard Conversions: M, Part 1 (#23590)
Diffstat (limited to 'keyboards/matrix')
-rw-r--r--keyboards/matrix/abelx/info.json9
-rw-r--r--keyboards/matrix/abelx/rules.mk16
-rw-r--r--keyboards/matrix/m12og/rev1/info.json9
-rw-r--r--keyboards/matrix/m12og/rev1/rules.mk14
-rw-r--r--keyboards/matrix/m20add/info.json9
-rw-r--r--keyboards/matrix/m20add/rules.mk13
-rw-r--r--keyboards/matrix/noah/info.json10
-rw-r--r--keyboards/matrix/noah/rules.mk14
8 files changed, 35 insertions, 59 deletions
diff --git a/keyboards/matrix/abelx/info.json b/keyboards/matrix/abelx/info.json
index b9aa23b756..d62ddf53e2 100644
--- a/keyboards/matrix/abelx/info.json
+++ b/keyboards/matrix/abelx/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4D58",
"pid": "0xAB87",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "no_startup_check": true
},
"rgblight": {
"led_count": 9,
@@ -27,6 +28,12 @@
"ws2812": {
"pin": "B4"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "rgblight": true
+ },
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [
diff --git a/keyboards/matrix/abelx/rules.mk b/keyboards/matrix/abelx/rules.mk
index 83142dd71c..00a63f4a27 100644
--- a/keyboards/matrix/abelx/rules.mk
+++ b/keyboards/matrix/abelx/rules.mk
@@ -1,4 +1,4 @@
-## chip/board settings
+#
# - the next two should match the directories in
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
MCU_FAMILY = STM32
@@ -28,20 +28,6 @@ USE_FPU = yes
# Bootloader selection
BOOTLOADER = custom
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # 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 # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
-
CUSTOM_MATRIX = lite
# project specific files
SRC += matrix.c tca6424.c aw9523b.c
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/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
diff --git a/keyboards/matrix/m20add/info.json b/keyboards/matrix/m20add/info.json
index 6e1a1c493f..5a999bb484 100644
--- a/keyboards/matrix/m20add/info.json
+++ b/keyboards/matrix/m20add/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4D58",
"pid": "0x20AD",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "no_startup_check": true
},
"rgblight": {
"led_count": 20,
@@ -27,6 +28,12 @@
"ws2812": {
"pin": "B4"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "rgblight": true
+ },
"layouts": {
"LAYOUT_tkl_ansi_tsangan": {
"layout": [
diff --git a/keyboards/matrix/m20add/rules.mk b/keyboards/matrix/m20add/rules.mk
index 1b005b8c17..150bd24e30 100644
--- a/keyboards/matrix/m20add/rules.mk
+++ b/keyboards/matrix/m20add/rules.mk
@@ -13,19 +13,6 @@ BOARD = ST_NUCLEO64_F411RE
# Bootloader selection
BOOTLOADER = custom
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # 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
-NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
-
-RGBLIGHT_ENABLE = yes
-
CUSTOM_MATRIX = lite
# project specific files
SRC += matrix.c tca6424.c rgb_ring.c drivers/led/issi/is31fl3731.c
diff --git a/keyboards/matrix/noah/info.json b/keyboards/matrix/noah/info.json
index bc546cffc9..959c3c8c9c 100644
--- a/keyboards/matrix/noah/info.json
+++ b/keyboards/matrix/noah/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4D58",
"pid": "0x0065",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "no_startup_check": true
},
"rgblight": {
"driver": "custom",
@@ -75,6 +76,13 @@
},
"driver": "is31fl3731"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "rgblight": true,
+ "rgb_matrix": true
+ },
"community_layouts": ["65_iso_blocker"],
"layouts": {
"LAYOUT_default": {
diff --git a/keyboards/matrix/noah/rules.mk b/keyboards/matrix/noah/rules.mk
index 3b75264222..d1c19f36ff 100644
--- a/keyboards/matrix/noah/rules.mk
+++ b/keyboards/matrix/noah/rules.mk
@@ -13,20 +13,6 @@ BOARD = ST_NUCLEO64_F411RE
# Bootloader selection
BOOTLOADER = custom
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # 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
-NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
-
-RGB_MATRIX_ENABLE = yes
-
-RGBLIGHT_ENABLE = yes
WS2812_DRIVER_REQUIRED = yes
CUSTOM_MATRIX = yes