Skip to content

Commit

Permalink
Miscellaneous Data-Driven Keyboard Conversions (qmk#23712)
Browse files Browse the repository at this point in the history
Converts `rules.mk` entries to data-driven where applicable.

Affects:

  - `handwired/dygma/raise/ansi`
  - `handwired/dygma/raise/iso`
  - `handwired/symmetric70_proto/promicro`
  - `handwired/symmetric70_proto/proton_c`
  - `lazydesigners/dimple/ortho`
  - `lazydesigners/dimple/staggered/rev2`
  - `lazydesigners/dimple/staggered/rev3`
  - `sirius/uni660/rev2/ansi`
  - `sirius/uni660/rev2/iso`
  • Loading branch information
noroadsleft authored and whoisjordangarcia committed Jun 8, 2024
1 parent 009b44b commit 39a85b7
Show file tree
Hide file tree
Showing 14 changed files with 45 additions and 48 deletions.
7 changes: 7 additions & 0 deletions keyboards/handwired/dygma/raise/ansi/keyboard.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"rgb_matrix": true,
"raw": true
},
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
6 changes: 0 additions & 6 deletions keyboards/handwired/dygma/raise/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,5 @@
"sleep": true
},
"development_board": "blackpill_f411",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"rgb_matrix": true
},
"debounce": 0
}
7 changes: 7 additions & 0 deletions keyboards/handwired/dygma/raise/iso/keyboard.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"rgb_matrix": true,
"raw": true
},
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
1 change: 0 additions & 1 deletion keyboards/handwired/dygma/raise/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CUSTOM_MATRIX = lite
# in the usb driver this triggers that allows mousekeys to work. The same side
# effect happens if console or midi is enabled -- so something to do with
# alternate usb endpoints.
RAW_ENABLE = yes

I2C_DRIVER_REQUIRED = yes
SRC += matrix.c
Expand Down
5 changes: 5 additions & 0 deletions keyboards/handwired/symmetric70_proto/promicro/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"keyboard_name": "Symmetric70 prototype promicro",
"features": {
"bootmagic": true,
"mousekey": false,
"extrakey": false
},
"split": {
"soft_serial_pin": "D0"
},
Expand Down
13 changes: 1 addition & 12 deletions keyboards/handwired/symmetric70_proto/promicro/rules.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # 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
# This file intentionally left blank
7 changes: 6 additions & 1 deletion keyboards/handwired/symmetric70_proto/proton_c/info.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"keyboard_name": "Symmetric70 prototype proton-c",
"development_board": "proton_c"
"development_board": "proton_c",
"features": {
"bootmagic": true,
"mousekey": false,
"extrakey": false
}
}
13 changes: 1 addition & 12 deletions keyboards/handwired/symmetric70_proto/proton_c/rules.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # 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
# This file intentionally left blank
1 change: 0 additions & 1 deletion keyboards/lazydesigners/dimple/ortho/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Disable unsupported hardware
BACKLIGHT_SUPPORTED = no
RGBLIGHT_ENABLE = no
AUDIO_SUPPORTED = no
1 change: 0 additions & 1 deletion keyboards/lazydesigners/dimple/staggered/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# Disable unsupported hardware
RGBLIGHT_ENABLE = no
AUDIO_SUPPORTED = no
1 change: 0 additions & 1 deletion keyboards/lazydesigners/dimple/staggered/rev3/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# Disable unsupported hardware
RGBLIGHT_ENABLE = no
AUDIO_SUPPORTED = no
9 changes: 9 additions & 0 deletions keyboards/sirius/uni660/rev2/ansi/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
"pid": "0x0202",
"device_version": "20.0.4"
},
"features": {
"bootmagic": true,
"mousekey": false,
"extrakey": true,
"console": true,
"command": true,
"nkro": true,
"unicode": true
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
Expand Down
9 changes: 9 additions & 0 deletions keyboards/sirius/uni660/rev2/iso/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
"pid": "0x0203",
"device_version": "20.0.4"
},
"features": {
"bootmagic": true,
"mousekey": false,
"extrakey": true,
"console": true,
"command": true,
"nkro": true,
"unicode": true
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
Expand Down
13 changes: 0 additions & 13 deletions keyboards/sirius/uni660/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# 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 = 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
AUDIO_ENABLE = no # Audio output
UNICODE_ENABLE = yes # Unicode
CUSTOM_MATRIX = lite

# project specific files
Expand Down

0 comments on commit 39a85b7

Please sign in to comment.