Skip to content

Commit

Permalink
Migrate features and LTO from rules.mk to data driven (qmk#23307)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and whoisjordangarcia committed Jun 8, 2024
1 parent 463e001 commit 5d47fff
Show file tree
Hide file tree
Showing 100 changed files with 445 additions and 639 deletions.
8 changes: 8 additions & 0 deletions keyboards/1upkeyboards/sweet16/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
"manufacturer": "1up Keyboards",
"url": "",
"maintainer": "skullydazed",
"features": {
"bootmagic": false,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"usb": {
"vid": "0x6F75"
},
Expand Down
10 changes: 0 additions & 10 deletions keyboards/1upkeyboards/sweet16/rules.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
# Build Options
#
DEFAULT_FOLDER = 1upkeyboards/sweet16/v1
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
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no
8 changes: 8 additions & 0 deletions keyboards/40percentclub/i75/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
"manufacturer": "di0ib",
"url": "",
"maintainer": "qmk",
"features": {
"bootmagic": true,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"usb": {
"vid": "0x4025",
"pid": "0x0A0C",
Expand Down
13 changes: 0 additions & 13 deletions keyboards/40percentclub/i75/rules.mk
Original file line number Diff line number Diff line change
@@ -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 = no # 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 = 40percentclub/i75/promicro
8 changes: 8 additions & 0 deletions keyboards/40percentclub/polyandry/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
"manufacturer": "di0ib",
"url": "",
"maintainer": "QMK",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"usb": {
"vid": "0x4025",
"pid": "0x6060",
Expand Down
13 changes: 0 additions & 13 deletions keyboards/40percentclub/polyandry/rules.mk
Original file line number Diff line number Diff line change
@@ -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 = 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

DEFAULT_FOLDER = 40percentclub/polyandry/promicro
10 changes: 10 additions & 0 deletions keyboards/8pack/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"backlight": true,
"bootmagic": false,
"command": true,
"console": true,
"extrakey": false,
"mousekey": false,
"nkro": false,
"rgblight": true
},
"matrix_pins": {
"direct": [
["F4", "F5", "F6", "F7"],
Expand Down
14 changes: 0 additions & 14 deletions keyboards/8pack/rules.mk
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = no # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = yes
OLED_ENABLE = no

DEFAULT_FOLDER = 8pack/rev12
9 changes: 9 additions & 0 deletions keyboards/atreus/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
"manufacturer": "Technomancy",
"url": "",
"maintainer": "qmk",
"features": {
"bootmagic": false,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"unicode": true
},
"usb": {
"vid": "0x1209",
"pid": "0xA1E5",
Expand Down
14 changes: 0 additions & 14 deletions keyboards/atreus/rules.mk
Original file line number Diff line number Diff line change
@@ -1,15 +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 = 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 = no # Enable keyboard RGB underglow
UNICODE_ENABLE = yes # Unicode
AUDIO_ENABLE = no # Audio output

DEFAULT_FOLDER = atreus/astar
9 changes: 9 additions & 0 deletions keyboards/bear_face/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
"pid": "0x09F5",
"force_nkro": true
},
"features": {
"backlight": true,
"bootmagic": false,
"command": false,
"console": false,
"extrakey": true,
"mousekey": false,
"nkro": true
},
"matrix_pins": {
"cols": ["B5", "C7", "C6", "F0", "E6", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
"rows": ["F5", "F6", "F4", "F1", "B0", "B6"]
Expand Down
13 changes: 0 additions & 13 deletions keyboards/bear_face/rules.mk
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # 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 = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

DEFAULT_FOLDER = bear_face/v1
8 changes: 8 additions & 0 deletions keyboards/bpiphany/pegasushoof/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
"manufacturer": "Filco",
"url": "",
"maintainer": "qmk",
"features": {
"bootmagic": true,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"usb": {
"vid": "0x4245",
"pid": "0x6050",
Expand Down
13 changes: 0 additions & 13 deletions keyboards/bpiphany/pegasushoof/rules.mk
Original file line number Diff line number Diff line change
@@ -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 = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.

DEFAULT_FOLDER=bpiphany/pegasushoof/2013
11 changes: 11 additions & 0 deletions keyboards/bt66tech/bt66tech60/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
"device_version": "0.0.1",
"force_nkro": true
},
"features": {
"backlight": true,
"bootmagic": false,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true,
"sleep_led": true
},
"matrix_pins": {
"cols": ["B9", "B8", "B7", "B6", "B5", "B4", "B3", "B11", "A15", "A10", "A9", "B14", "B13", "B12"],
"rows": ["B10", "B1", "B0", "A7", "A6"]
Expand Down
15 changes: 0 additions & 15 deletions keyboards/bt66tech/bt66tech60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,16 +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 = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
SLEEP_LED_ENABLE = yes

DEFAULT_FOLDER = bt66tech/bt66tech60

11 changes: 11 additions & 0 deletions keyboards/cannonkeys/practice60/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"features": {
"backlight": true,
"bootmagic": false,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true,
"sleep_led": true
},
"matrix_pins": {
"cols": ["B11", "B10", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "C15", "C14"],
"rows": ["B3", "B4", "B5", "B6", "B7"]
Expand Down
15 changes: 0 additions & 15 deletions keyboards/cannonkeys/practice60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,16 +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 = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
SLEEP_LED_ENABLE = yes

DEFAULT_FOLDER = cannonkeys/practice60


8 changes: 8 additions & 0 deletions keyboards/dailycraft/bat43/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
"features": {
"bootmagic": false,
"command": false,
"console": false,
"extrakey": false,
"mousekey": true,
"nkro": false
},
"matrix_pins": {
"cols": ["B6", "B2", "B3", "B1", "B5", "B4"],
"rows": ["E6", "D7", "C6", "D4", "F7", "F6", "F5", "F4"]
Expand Down
13 changes: 0 additions & 13 deletions keyboards/dailycraft/bat43/rules.mk
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = no # 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

DEFAULT_FOLDER = dailycraft/bat43/rev2
9 changes: 9 additions & 0 deletions keyboards/delikeeb/vanana/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
"manufacturer": "dELIKEEb",
"url": "",
"maintainer": "noclew",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"usb": {
"vid": "0x9906",
"pid": "0x0013"
Expand Down
16 changes: 0 additions & 16 deletions keyboards/delikeeb/vanana/rules.mk
Original file line number Diff line number Diff line change
@@ -1,17 +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 = 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
ENCODER_ENABLE = yes # Enable Rotary Encoder

# additional features for ELITE-C
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

DEFAULT_FOLDER = delikeeb/vanana/rev2
8 changes: 8 additions & 0 deletions keyboards/delikeeb/waaffle/rev3/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
"ws2812": {
"pin": "C7"
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"matrix_pins": {
"cols": ["D3", "D2", "B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1"],
"rows": ["F4", "B6", "B2", "B3", "B1", "F5", "F6", "F7"]
Expand Down
13 changes: 0 additions & 13 deletions keyboards/delikeeb/waaffle/rev3/rules.mk
Original file line number Diff line number Diff line change
@@ -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 = 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

DEFAULT_FOLDER = delikeeb/waaffle/rev3/pro_micro
8 changes: 8 additions & 0 deletions keyboards/drhigsby/ogurec/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
"features": {
"bootmagic": false,
"command": false,
"console": false,
"extrakey": true,
"mousekey": false,
"nkro": true
},
"matrix_pins": {
"cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5"],
"rows": ["F6", "B6", "B2"]
Expand Down
Loading

0 comments on commit 5d47fff

Please sign in to comment.