aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck/thk
diff options
context:
space:
mode:
authorJoel Challis2024-04-22 03:06:41 +0200
committerGitHub2024-04-22 03:06:41 +0200
commit40d0512794651237a182b4f53a2278d0fb2e583e (patch)
tree232f20395add4f60681931f3094b4b2726f2c998 /keyboards/planck/thk
parent191f62688079d644fe7ac471b2725e79e4d87f48 (diff)
Migrate build target markers to keyboard.json - P (#23565)
Diffstat (limited to 'keyboards/planck/thk')
-rw-r--r--keyboards/planck/thk/keyboard.json (renamed from keyboards/planck/thk/info.json)8
-rw-r--r--keyboards/planck/thk/rules.mk15
2 files changed, 8 insertions, 15 deletions
diff --git a/keyboards/planck/thk/info.json b/keyboards/planck/thk/keyboard.json
index 24b8d5f0a5..b2c07ca0f0 100644
--- a/keyboards/planck/thk/info.json
+++ b/keyboards/planck/thk/keyboard.json
@@ -8,6 +8,14 @@
"pid": "0x25A7",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "dip_switch": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
"matrix_pins": {
"cols": ["D7", "C2", "C3", "C4", "C5", "C6", "C7", "A3", "A2", "A1", "A0", "B0"],
"rows": ["A7", "A6", "A5", "A4"]
diff --git a/keyboards/planck/thk/rules.mk b/keyboards/planck/thk/rules.mk
index 417fb95129..c2ee0bc86f 100644
--- a/keyboards/planck/thk/rules.mk
+++ b/keyboards/planck/thk/rules.mk
@@ -1,17 +1,2 @@
# Processor frequency
F_CPU = 16000000
-
-# 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 = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-DIP_SWITCH_ENABLE = yes