aboutsummaryrefslogtreecommitdiff
path: root/keyboards/durgod
diff options
context:
space:
mode:
authorJames Young <[email protected]>2024-04-12 22:33:49 -0700
committerGitHub <[email protected]>2024-04-13 06:33:49 +0100
commit8ad3a36fb60d75b5f0279f0cd4d9c24dde6b6330 (patch)
tree161e97f48783e4e210449e42ae00f06612759096 /keyboards/durgod
parent43a122e050647057dbaa16bc50417b9306e00bcc (diff)
downloadqmk_firmware-8ad3a36fb60d75b5f0279f0cd4d9c24dde6b6330.tar.gz
qmk_firmware-8ad3a36fb60d75b5f0279f0cd4d9c24dde6b6330.zip
Data-Driven Keyboard Conversions: D (#23461)
Diffstat (limited to 'keyboards/durgod')
-rw-r--r--keyboards/durgod/dgk6x/info.json10
-rw-r--r--keyboards/durgod/dgk6x/rules.mk16
-rw-r--r--keyboards/durgod/k310/base/info.json9
-rw-r--r--keyboards/durgod/k310/base/rules.mk14
4 files changed, 19 insertions, 30 deletions
diff --git a/keyboards/durgod/dgk6x/info.json b/keyboards/durgod/dgk6x/info.json
index b8d38e2d9f..d036bc0630 100644
--- a/keyboards/durgod/dgk6x/info.json
+++ b/keyboards/durgod/dgk6x/info.json
@@ -54,5 +54,15 @@
},
"processor": "STM32F072", // F070
"bootloader": "stm32-dfu",
+ "features": {
+ "bootmagic": true,
+ "mousekey": false,
+ "extrakey": true,
+ "nkro": true,
+ "rgb_matrix": true
+ },
+ "build": {
+ "lto": true
+ },
"board": "DURGOD_STM32_F070"
}
diff --git a/keyboards/durgod/dgk6x/rules.mk b/keyboards/durgod/dgk6x/rules.mk
index 36a93aa827..597f5bbcf9 100644
--- a/keyboards/durgod/dgk6x/rules.mk
+++ b/keyboards/durgod/dgk6x/rules.mk
@@ -1,20 +1,4 @@
# Do not put the microcontroller into power saving mode
NO_SUSPEND_POWER_DOWN = yes
-# 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
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes
-
-RGB_MATRIX_ENABLE = yes
-
DEFAULT_FOLDER=durgod/dgk6x/hades_ansi
diff --git a/keyboards/durgod/k310/base/info.json b/keyboards/durgod/k310/base/info.json
index 6047c40fc0..94dae4d809 100644
--- a/keyboards/durgod/k310/base/info.json
+++ b/keyboards/durgod/k310/base/info.json
@@ -12,5 +12,14 @@
},
"processor": "STM32F072", // F070
"bootloader": "stm32-dfu",
+ "features": {
+ "bootmagic": true,
+ "mousekey": false,
+ "extrakey": true,
+ "nkro": true
+ },
+ "build": {
+ "lto": true
+ },
"board": "DURGOD_STM32_F070"
}
diff --git a/keyboards/durgod/k310/base/rules.mk b/keyboards/durgod/k310/base/rules.mk
index 454cf102ec..0ab54aaaf7 100644
--- a/keyboards/durgod/k310/base/rules.mk
+++ b/keyboards/durgod/k310/base/rules.mk
@@ -1,16 +1,2 @@
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
-
-# 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
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-LTO_ENABLE = yes