aboutsummaryrefslogtreecommitdiff
path: root/keyboards/yanghu
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-25 18:37:44 +0100
committerGitHub <[email protected]>2024-04-25 10:37:44 -0700
commite9b8929357abd35f62aae211d3edec434299b021 (patch)
treecdf72eb7bf56ec7bb5e63b30aaebc890968aa270 /keyboards/yanghu
parent3d83b3e7c5dc18b77d82798fdad9d7552487cfe4 (diff)
downloadqmk_firmware-e9b8929357abd35f62aae211d3edec434299b021.tar.gz
qmk_firmware-e9b8929357abd35f62aae211d3edec434299b021.zip
Migrate build target markers to keyboard.json - Misc (#23612)
Diffstat (limited to 'keyboards/yanghu')
-rw-r--r--keyboards/yanghu/unicorne/info.json10
-rw-r--r--keyboards/yanghu/unicorne/rules.mk17
2 files changed, 10 insertions, 17 deletions
diff --git a/keyboards/yanghu/unicorne/info.json b/keyboards/yanghu/unicorne/info.json
index 26d54c2c82..504df68fb0 100644
--- a/keyboards/yanghu/unicorne/info.json
+++ b/keyboards/yanghu/unicorne/info.json
@@ -8,6 +8,16 @@
"pid": "0x0204",
"device_version": "0.0.1"
},
+ "features": {
+ "audio": true,
+ "bootmagic": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "oled": true,
+ "rgblight": true
+ },
"rgblight": {
"led_count": 8,
"animations": {
diff --git a/keyboards/yanghu/unicorne/rules.mk b/keyboards/yanghu/unicorne/rules.mk
index 014f5d4d42..13cbb6b1e7 100644
--- a/keyboards/yanghu/unicorne/rules.mk
+++ b/keyboards/yanghu/unicorne/rules.mk
@@ -1,20 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # 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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = yes # Audio output
-ENCODER_ENABLE = yes
-OLED_ENABLE = yes
-
AUDIO_DRIVER = pwm_hardware
-RGB_MATRIX_ENABLE = no # Do not enable with RGBLIGHT
-
DEFAULT_FOLDER = yanghu/unicorne/f411