Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move RGB_MATRIX_DRIVER to data driven #20350

Merged
merged 10 commits into from
Apr 8, 2023
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/super16/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"ws2812": {
"pin": "D3"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["D4", "C6", "F6", "F7"],
"rows": ["D1", "D0", "F4", "F5"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/1upkeyboards/super16/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
AUDIO_ENABLE = no # Audio output
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/super16v2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"ws2812": {
"pin": "B5"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["D5", "D6", "C2", "D0"],
"rows": ["D1", "D2", "D3", "D4"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/1upkeyboards/super16v2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
ENCODER_ENABLE = yes
3 changes: 3 additions & 0 deletions keyboards/25keys/zinc/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"pid": "0xEA3B",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
},
"processor": "atmega32u4",
"bootloader": "caterina"
}
1 change: 0 additions & 1 deletion keyboards/25keys/zinc/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
RGB_MATRIX_ENABLE = no
RGB_MATRIX_DRIVER = WS2812

DEFAULT_FOLDER = 25keys/zinc/rev1

Expand Down
3 changes: 3 additions & 0 deletions keyboards/3keyecosystem/2key2/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0x3304",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["F4", "D7"],
"rows": ["F6"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/3keyecosystem/2key2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
RGB_MATRIX_ENABLE = yes # Enable RGB matrix
RGB_MATRIX_DRIVER = WS2812 # Select WS2812 driver for RGB matrix
AUDIO_ENABLE = no # Audio output
3 changes: 3 additions & 0 deletions keyboards/4pplet/perk60_iso/rev_a/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0x0009",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "IS31FL3733"
},
"matrix_pins": {
"cols": ["A1", "B12", "B14", "A2", "A0", "A3", "A4"],
"rows": ["C14", "C13", "B5", "B4", "B8", "A15", "B3", "B9", "A5", "A7"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/4pplet/perk60_iso/rev_a/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = IS31FL3733

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
4 changes: 3 additions & 1 deletion keyboards/4pplet/unextended_std/rev_a/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@
"audio": false
},

"ws2812": {
"pin": "A8"
},
"rgblight": {
"pin": "A8",
"led_count": 16,
"animations": {
"alternating": true,
Expand Down
3 changes: 3 additions & 0 deletions keyboards/abatskeyboardclub/nayeon/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"pin": "GP19",
"driver": "vendor"
},
"rgb_matrix": {
"driver": "WS2812"
},
"processor": "RP2040",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
Expand Down
1 change: 0 additions & 1 deletion keyboards/abatskeyboardclub/nayeon/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# RGB Matrix
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
3 changes: 3 additions & 0 deletions keyboards/acheron/apollo/87h/delta/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"ws2812": {
"pin": "B15"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["C8", "C9", "A8", "A10", "C7", "C6", "B14", "B12", "B10", "B1", "C5", "C4", "A7", "B0", "C11", "A3", "B4"],
"rows": ["B3", "D2", "C12", "A6", "A5", "A4"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/acheron/apollo/87h/delta/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE
3 changes: 3 additions & 0 deletions keyboards/acheron/apollo/87h/gamma/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"pid": "0x8774",
"device_version": "0.0.3"
},
"rgb_matrix": {
"driver": "IS31FL3741"
},
"matrix_pins": {
"cols": ["B3", "A15", "A10", "A8", "B14", "B12", "B10", "B1", "B0", "A7", "A4", "A5", "A6", "C15", "A0", "A1"],
"rows": ["C14", "C13", "B9", "B4", "A3", "A2"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/acheron/apollo/87h/gamma/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = IS31FL3741
KEYBOARD_SHARED_EP = yes

# Enter lower-power sleep mode when on the ChibiOS idle thread
Expand Down
3 changes: 3 additions & 0 deletions keyboards/acheron/apollo/87htsc/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"ws2812": {
"pin": "B15"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["C8", "C9", "A8", "A10", "C7", "C6", "B14", "B12", "B10", "B1", "C5", "C4", "A7", "B0", "C11", "A3", "B4"],
"rows": ["B3", "D2", "C12", "A6", "A5", "A4"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/acheron/apollo/87htsc/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE
3 changes: 3 additions & 0 deletions keyboards/acheron/apollo/88htsc/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"ws2812": {
"pin": "B15"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["C8", "C9", "A8", "A10", "C7", "C6", "B14", "B12", "B10", "B1", "C5", "C4", "A7", "B0", "C11", "A3", "B4"],
"rows": ["B3", "D2", "C12", "A6", "A5", "A4"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/acheron/apollo/88htsc/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE -DDEBUG_EEPROM_OUTPUT=TRUE
3 changes: 3 additions & 0 deletions keyboards/adafruit/macropad/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
{"pin_a": "GP18", "pin_b": "GP17"}
]
},
"rgb_matrix": {
"driver": "WS2812"
},
"bootmagic": {
"matrix": [1, 2]
},
Expand Down
1 change: 0 additions & 1 deletion keyboards/adafruit/macropad/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ AUDIO_ENABLE = no # Audio output
# AUDIO_DRIVER = pwm_software
ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
OLED_ENABLE = yes
OLED_DRIVER = custom
# Project specific files
Expand Down
3 changes: 3 additions & 0 deletions keyboards/adm42/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"ws2812": {
"pin": "B7"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["C6", "B6", "B5", "B4", "D7", "D6", "F0", "F1", "F4", "F5", "F6", "F7"],
"rows": ["C7", "D5", "D3", "D2"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/adm42/rev4/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
3 changes: 3 additions & 0 deletions keyboards/adpenrose/akemipad/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"ws2812": {
"pin": "F4"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["D3", "D2", "F5", "F6", "B2"],
"rows": ["D4", "D7", "E6", "B6", "B4", "B5"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/adpenrose/akemipad/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = yes # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
ENCODER_ENABLE = yes
3 changes: 3 additions & 0 deletions keyboards/aeboards/satellite/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0x6553",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "custom"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"diode_direction": "COL2ROW",
Expand Down
1 change: 0 additions & 1 deletion keyboards/aeboards/satellite/rev1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes

RGB_MATRIX_ENABLE = yes # Enable RGB matrix effects.
RGB_MATRIX_DRIVER = custom # Enable RGB matrix effects.

COMMON_VPATH += $(DRIVER_PATH)/issi

Expand Down
3 changes: 3 additions & 0 deletions keyboards/aleblazer/zodiark/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"ws2812": {
"pin": "B5"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["C6", "D7", "E6", "B4", "F4"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/aleblazer/zodiark/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; C
ENCODER_ENABLE = yes
SPLIT_KEYBOARD = yes
LTO_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
3 changes: 3 additions & 0 deletions keyboards/annepro2/c15/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"usb": {
"pid": "0xAC15"
},
"rgb_matrix": {
"driver": "custom"
},
"community_layouts": ["60_ansi"]
}
1 change: 0 additions & 1 deletion keyboards/annepro2/c15/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ WEAR_LEVELING_DRIVER = spi_flash

# Custom RGB matrix handling
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = custom

# Keys
CUSTOM_MATRIX = lite
Expand Down
3 changes: 3 additions & 0 deletions keyboards/annepro2/c18/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"usb": {
"pid": "0xAC18"
},
"rgb_matrix": {
"driver": "custom"
},
"community_layouts": ["60_ansi", "60_iso"]
}
1 change: 0 additions & 1 deletion keyboards/annepro2/c18/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ WEAR_LEVELING_DRIVER = spi_flash

# Custom RGB matrix handling
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = custom

# Keys
CUSTOM_MATRIX = lite
Expand Down
3 changes: 3 additions & 0 deletions keyboards/atlantis/ak81_ve/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"pid": "0x0081",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["F0", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "B2", "B7", "D3", "D2", "D1", "D0", "B3"],
"rows": ["F1", "F7", "F6", "F5", "F4", "D5"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/atlantis/ak81_ve/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Keyboard backlight functionality
RGBLIGHT_ENABLE = no # Keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
LTO_ENABLE = yes
DYNAMIC_MACRO_ENABLE = yes
ENCODER_ENABLE = yes
3 changes: 3 additions & 0 deletions keyboards/axolstudio/yeti/hotswap/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0x9F9E",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "IS31FL3733"
},
"matrix_pins": {
"cols": ["C7", "F7", "F6", "F5", "F4", "F1", "F0", "B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5"],
"rows": ["E6", "C6", "B4", "B5", "B6"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/axolstudio/yeti/hotswap/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
RGB_MATRIX_ENABLE = yes # Use RGB matrix
RGB_MATRIX_DRIVER = IS31FL3733

LTO_ENABLE = yes
3 changes: 3 additions & 0 deletions keyboards/bandominedoni/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"pid": "0xF4B5",
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["D1", "E6", "F7", "B1", "B3", "B2", "D0"],
"rows": ["B5", "B4", "D7", "F6", "C6", "D4"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/bandominedoni/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ MIDI_ENABLE = yes # MIDI support
ENCODER_ENABLE = yes # encoder on mute button
SPLIT_KEYBOARD = yes # Enables split keyboard support
RGB_MATRIX_ENABLE = no # Use RGB matrix (Don't enable this when RGBLIGHT_ENABLE is used.)
RGB_MATRIX_DRIVER = WS2812 #

LTO_ENABLE = yes
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/3x5/blackpill/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"usb": {
"device_version": "1.0.0"
},
"rgb_matrix": {
"driver": "WS2812"
},
"ws2812": {
"pin": "A1",
"driver": "pwm"
Expand Down
1 change: 0 additions & 1 deletion keyboards/bastardkb/charybdis/3x5/blackpill/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ AUDIO_SUPPORTED = no # Audio is not supported
RGB_MATRIX_SUPPORTED = yes # RGB matrix is supported and enabled by default
RGBLIGHT_SUPPORTED = yes # RGB underglow is supported, but not enabled by default
RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality
RGB_MATRIX_DRIVER = WS2812

SPLIT_KEYBOARD = yes

Expand Down
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/3x5/v1/elitec/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"ws2812": {
"pin": "D3"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["C7", "F0", "D7", "E6", "B4"],
"rows": ["B7", "C6", "D4", "B5"]
Expand Down
1 change: 0 additions & 1 deletion keyboards/bastardkb/charybdis/3x5/v1/elitec/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ AUDIO_SUPPORTED = no # Audio is not supported
RGB_MATRIX_SUPPORTED = yes # RGB matrix is supported and enabled by default
RGBLIGHT_SUPPORTED = yes # RGB underglow is supported, but not enabled by default
RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality
RGB_MATRIX_DRIVER = WS2812

# Charybdis nano is a split 3x5 keyboard with a maximum of 3 thumb keys (2 on
# the trackball side).
Expand Down
3 changes: 3 additions & 0 deletions keyboards/bastardkb/charybdis/3x5/v2/elitec/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"ws2812": {
"pin": "D3"
},
"rgb_matrix": {
"driver": "WS2812"
},
"matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"]
Expand Down
Loading