aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/unikorn
diff options
context:
space:
mode:
authorJoel Challis2024-03-15 23:23:40 +0100
committerGitHub2024-03-15 23:23:40 +0100
commit24d824aae40b932dbcdc5036d7f30a6f2f352442 (patch)
tree75f16b70a97e1e8d949a6ffba09c8eeb57ac753a /keyboards/unikorn
parent68e8d74188a251336bf2eaa8d58e1e04983ac29e (diff)
Migrate features from rules.mk to data driven - UVWXYZ (#23287)
Diffstat (limited to 'keyboards/unikorn')
-rw-r--r--keyboards/unikorn/keyboard.json (renamed from keyboards/unikorn/info.json)9
-rw-r--r--keyboards/unikorn/rules.mk10
2 files changed, 9 insertions, 10 deletions
diff --git a/keyboards/unikorn/info.json b/keyboards/unikorn/keyboard.json
index 35c749b292..4d50e2ad74 100644
--- a/keyboards/unikorn/info.json
+++ b/keyboards/unikorn/keyboard.json
@@ -8,6 +8,15 @@
"pid": "0x556B",
"device_version": "2.0.0"
},
+ "features": {
+ "backlight": true,
+ "bootmagic": false,
+ "command": true,
+ "console": false,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],
"rows": ["B1", "B2", "B3", "B4", "B5"]
diff --git a/keyboards/unikorn/rules.mk b/keyboards/unikorn/rules.mk
deleted file mode 100644
index 88711b2127..0000000000
--- a/keyboards/unikorn/rules.mk
+++ /dev/null
@@ -1,10 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-CONSOLE_ENABLE = no
-COMMAND_ENABLE = yes
-BACKLIGHT_ENABLE = yes
-RGBLIGHT_ENABLE = no