diff options
author | Joel Challis <[email protected]> | 2024-03-30 10:57:30 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-30 10:57:30 +0000 |
commit | 1c8e99ca451a9f0acac07b64da80cf11baedf6a6 (patch) | |
tree | f03b67de13a64e7029c01da6755cced32ddb65d3 /keyboards/primekb | |
parent | 426bb9c651a292dce6ae01e7ed9d41d94dbba99f (diff) | |
download | qmk_firmware-1c8e99ca451a9f0acac07b64da80cf11baedf6a6.tar.gz qmk_firmware-1c8e99ca451a9f0acac07b64da80cf11baedf6a6.zip |
Migrate features and LTO from rules.mk to data driven (#23307)
Diffstat (limited to 'keyboards/primekb')
-rw-r--r-- | keyboards/primekb/meridian/info.json | 9 | ||||
-rw-r--r-- | keyboards/primekb/meridian/rules.mk | 13 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/info.json | 8 | ||||
-rw-r--r-- | keyboards/primekb/prime_e/rules.mk | 11 | ||||
-rw-r--r-- | keyboards/primekb/prime_l/info.json | 8 | ||||
-rw-r--r-- | keyboards/primekb/prime_l/rules.mk | 13 |
6 files changed, 25 insertions, 37 deletions
diff --git a/keyboards/primekb/meridian/info.json b/keyboards/primekb/meridian/info.json index e5192d6c49..1e62489211 100644 --- a/keyboards/primekb/meridian/info.json +++ b/keyboards/primekb/meridian/info.json @@ -8,6 +8,15 @@ "pid": "0x004D", "device_version": "0.0.1" }, + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, "matrix_pins": { "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"], "rows": ["A6", "A5", "A4", "A3", "A2"] diff --git a/keyboards/primekb/meridian/rules.mk b/keyboards/primekb/meridian/rules.mk index 6d34cadbf7..585a04ad28 100644 --- a/keyboards/primekb/meridian/rules.mk +++ b/keyboards/primekb/meridian/rules.mk @@ -1,14 +1 @@ -# 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 = yes # Console for debug -COMMAND_ENABLE = yes # 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 = no # Audio output - DEFAULT_FOLDER = primekb/meridian/ktr1010 diff --git a/keyboards/primekb/prime_e/info.json b/keyboards/primekb/prime_e/info.json index dee7a23e02..44b8227fb6 100644 --- a/keyboards/primekb/prime_e/info.json +++ b/keyboards/primekb/prime_e/info.json @@ -5,6 +5,14 @@ "usb": { "vid": "0x5052" }, + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": false, + "nkro": true + }, "matrix_pins": { "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D6", "D4", "D5", "D3", "D2", "D1", "D0"], "rows": ["E6", "C7", "B5", "B4"] diff --git a/keyboards/primekb/prime_e/rules.mk b/keyboards/primekb/prime_e/rules.mk index 64b21fa0a2..debb966e0d 100644 --- a/keyboards/primekb/prime_e/rules.mk +++ b/keyboards/primekb/prime_e/rules.mk @@ -1,12 +1 @@ -# 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 -AUDIO_ENABLE = no # Audio output - DEFAULT_FOLDER = primekb/prime_e/std diff --git a/keyboards/primekb/prime_l/info.json b/keyboards/primekb/prime_l/info.json index 93bb4432e2..52d6713914 100644 --- a/keyboards/primekb/prime_l/info.json +++ b/keyboards/primekb/prime_l/info.json @@ -2,6 +2,14 @@ "manufacturer": "PrimeKB", "url": "https://www.primekb.com", "maintainer": "MxBlu", + "features": { + "bootmagic": false, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, "usb": { "vid": "0x5052" }, diff --git a/keyboards/primekb/prime_l/rules.mk b/keyboards/primekb/prime_l/rules.mk index b94eff9116..235bfea925 100644 --- a/keyboards/primekb/prime_l/rules.mk +++ b/keyboards/primekb/prime_l/rules.mk @@ -1,14 +1 @@ -# 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 = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - DEFAULT_FOLDER = primekb/prime_l/v1 |