Skip to content

Commit

Permalink
Migrate build target markers to keyboard.json - Misc (#23612)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Apr 25, 2024
1 parent 3d83b3e commit e9b8929
Show file tree
Hide file tree
Showing 45 changed files with 141 additions and 212 deletions.
7 changes: 7 additions & 0 deletions keyboards/converter/usb_usb/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"pid": "0x005B",
"device_version": "0.0.1"
},
"features": {
"bootmagic": false,
"extrakey": true,
"mousekey": false,
"nkro": false,
"usb_hid": true
},
"processor": "atmega32u4",
"community_layouts": ["fullsize_ansi", "fullsize_iso", "fullsize_jis"],
"layouts": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/converter/usb_usb/matrix.c

This file was deleted.

13 changes: 0 additions & 13 deletions keyboards/converter/usb_usb/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 = 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 = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
USB_HID_ENABLE = yes
CUSTOM_MATRIX = yes

SRC += custom_matrix.cpp
Expand Down
8 changes: 7 additions & 1 deletion keyboards/hhkb/ansi/32u2/keyboard.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"processor": "atmega32u2",
"bootloader": "atmel-dfu"
"bootloader": "atmel-dfu",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": false
}
}
2 changes: 0 additions & 2 deletions keyboards/hhkb/ansi/32u2/rules.mk

This file was deleted.

10 changes: 9 additions & 1 deletion keyboards/hhkb/ansi/32u4/keyboard.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
"bootloader": "atmel-dfu",
"features": {
"bootmagic": true,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": false
}
}
19 changes: 1 addition & 18 deletions keyboards/hhkb/ansi/rules.mk
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
# 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
CUSTOM_MATRIX = yes # Custom matrix file for the HHKB
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
CUSTOM_MATRIX = yes

# project specific files
SRC = matrix.c

# debug-on: EXTRAFLAGS += -DDEBUG -DDEBUG_ACTION
# debug-on: all

# debug-off: EXTRAFLAGS += -DNO_DEBUG -DNO_PRINT
# debug-off: OPT_DEFS := $(filter-out -DCONSOLE_ENABLE,$(OPT_DEFS))
# debug-off: all

DEFAULT_FOLDER = hhkb/ansi/32u4
2 changes: 2 additions & 0 deletions keyboards/ibm/model_m/mschwingen/led_ffc/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
1 change: 0 additions & 1 deletion keyboards/ibm/model_m/mschwingen/led_ffc/rules.mk

This file was deleted.

2 changes: 2 additions & 0 deletions keyboards/ibm/model_m/mschwingen/led_wired/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
1 change: 0 additions & 1 deletion keyboards/ibm/model_m/mschwingen/led_wired/rules.mk

This file was deleted.

2 changes: 2 additions & 0 deletions keyboards/ibm/model_m/mschwingen/led_ws2812/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
2 changes: 2 additions & 0 deletions keyboards/ibm/model_m/mschwingen/post_rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
UART_DEBUG ?= no

ifeq ($(strip $(UART_DEBUG)), yes)
OPT_DEFS += -DUART_DEBUG
endif
2 changes: 0 additions & 2 deletions keyboards/ibm/model_m/mschwingen/rules.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
CUSTOM_MATRIX = lite

UART_DEBUG = no

SRC += matrix.c
UART_DRIVER_REQUIRED = yes
SPI_DRIVER_REQUIRED = yes
Expand Down
8 changes: 8 additions & 0 deletions keyboards/salicylic_acid3/7skb/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"pid": "0xEB5F",
"device_version": "0.0.7"
},
"features": {
"bootmagic": false,
"command": true,
"extrakey": true,
"mousekey": true,
"nkro": false,
"rgblight": true
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B5"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
Expand Down
13 changes: 0 additions & 13 deletions keyboards/salicylic_acid3/7skb/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 = yes # Audio control and System control
CONSOLE_ENABLE = no # 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 = yes # Enable WS2812 RGB underlight.

DEFAULT_FOLDER = salicylic_acid3/7skb/rev1
8 changes: 8 additions & 0 deletions keyboards/salicylic_acid3/getta25/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"pid": "0x3060",
"device_version": "0.1.3"
},
"features": {
"bootmagic": false,
"command": true,
"extrakey": true,
"mousekey": false,
"nkro": false,
"rgblight": true
},
"rgblight": {
"hue_steps": 10,
"led_count": 9,
Expand Down
14 changes: 0 additions & 14 deletions keyboards/salicylic_acid3/getta25/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 = yes # Audio control and System control
CONSOLE_ENABLE = no # 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 = yes # Enable WS2812 RGB underlight.
OLED_ENABLE = no

DEFAULT_FOLDER = salicylic_acid3/getta25/rev1
8 changes: 8 additions & 0 deletions keyboards/salicylic_acid3/jisplit89/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"pid": "0xEB4F",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"command": true,
"extrakey": true,
"mousekey": false,
"nkro": false,
"rgblight": true
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B5"],
"rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4"]
Expand Down
13 changes: 0 additions & 13 deletions keyboards/salicylic_acid3/jisplit89/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 = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # 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 = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

DEFAULT_FOLDER = salicylic_acid3/jisplit89/rev1
7 changes: 7 additions & 0 deletions keyboards/salicylic_acid3/naked48/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"pid": "0xE8BA",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": false,
"rgblight": true
},
"rgb_matrix": {
"driver": "ws2812"
},
Expand Down
14 changes: 0 additions & 14 deletions keyboards/salicylic_acid3/naked48/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 = 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 = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = no

DEFAULT_FOLDER = salicylic_acid3/naked48/rev1
6 changes: 6 additions & 0 deletions keyboards/salicylic_acid3/naked60/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0xEB5C",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D7", "E6", "B4", "B5", "D3"],
"rows": ["B6", "D1", "D0", "D4", "C6"]
Expand Down
13 changes: 0 additions & 13 deletions keyboards/salicylic_acid3/naked60/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 = salicylic_acid3/naked60/rev1
8 changes: 8 additions & 0 deletions keyboards/salicylic_acid3/naked64/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"pid": "0x3060",
"device_version": "0.0.3"
},
"features": {
"bootmagic": false,
"command": true,
"extrakey": true,
"mousekey": true,
"nkro": false,
"rgblight": true
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "D3"],
"rows": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]
Expand Down
15 changes: 0 additions & 15 deletions keyboards/salicylic_acid3/naked64/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 = no # 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 = yes # Enable WS2812 RGB underlight.
OLED_ENABLE = no
USE_I2C = no

DEFAULT_FOLDER = salicylic_acid3/naked64/rev1
7 changes: 7 additions & 0 deletions keyboards/salicylic_acid3/setta21/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"pid": "0x3060",
"device_version": "0.1.1"
},
"features": {
"bootmagic": false,
"extrakey": false,
"mousekey": false,
"nkro": false,
"rgblight": true
},
"rgblight": {
"hue_steps": 10,
"led_count": 21,
Expand Down
16 changes: 0 additions & 16 deletions keyboards/salicylic_acid3/setta21/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 = no # 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
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
OLED_ENABLE = no
USE_I2C = no
RGB_MATRIX_ENABLE = no

DEFAULT_FOLDER = salicylic_acid3/setta21/rev1
8 changes: 5 additions & 3 deletions keyboards/stront/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@
]
},
"features": {
"backlight": true,
"bootmagic": true,
"console": false,
"encoder": true,
"backlight": true,
"extrakey": true,
"rgb_matrix": true,
"nkro": false
"nkro": false,
"pointing_device": true,
"quantum_painter": true,
"rgb_matrix": true
},
"backlight": {
"pin": "GP14"
Expand Down
2 changes: 0 additions & 2 deletions keyboards/stront/rules.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
SERIAL_DRIVER = vendor

POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = cirque_pinnacle_spi

QUANTUM_PAINTER_ENABLE = yes
QUANTUM_PAINTER_DRIVERS += st7789_spi
QUANTUM_PAINTER_LVGL_INTEGRATION = yes

Expand Down
3 changes: 2 additions & 1 deletion keyboards/teleport/native/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
"nkro": true,
"rgb_matrix": true
},
"diode_direction": "ROW2COL",
"matrix_pins": {
Expand Down
1 change: 0 additions & 1 deletion keyboards/teleport/native/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_CUSTOM_KB = yes

DEFAULT_FOLDER = teleport/native/iso
1 change: 0 additions & 1 deletion keyboards/tkw/grandiceps/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*/
#pragma once

#define SPLIT_HAND_PIN B3
#define EEPROM_I2C_24LC64
8 changes: 8 additions & 0 deletions keyboards/tkw/grandiceps/rev2/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,13 @@
},
"eeprom": {
"driver": "i2c"
},
"features": {
"pointing_device": true
},
"split": {
"handedness": {
"pin": "B3"
}
}
}
1 change: 0 additions & 1 deletion keyboards/tkw/grandiceps/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
Loading

0 comments on commit e9b8929

Please sign in to comment.