Move WS2812_DRIVER to data driven (#20248)

This commit is contained in:
Ryan 2023-03-26 18:22:12 +11:00 committed by GitHub
parent 7e54defa20
commit 36ce81df59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
384 changed files with 583 additions and 211 deletions

View file

@ -38,6 +38,7 @@
"PS2_ENABLE": {"info_key": "ps2.enabled", "value_type": "bool"}, "PS2_ENABLE": {"info_key": "ps2.enabled", "value_type": "bool"},
"PS2_MOUSE_ENABLE": {"info_key": "ps2.mouse_enabled", "value_type": "bool"}, "PS2_MOUSE_ENABLE": {"info_key": "ps2.mouse_enabled", "value_type": "bool"},
"PS2_DRIVER": {"info_key": "ps2.driver"}, "PS2_DRIVER": {"info_key": "ps2.driver"},
"WS2812_DRIVER": {"info_key": "ws2812.driver"},
"PLATFORM_KEY": {"info_key": "platform_key", "to_json": false}, "PLATFORM_KEY": {"info_key": "platform_key", "to_json": false},

View file

@ -699,6 +699,16 @@
"led": {"$ref": "qmk.definitions.v1#/mcu_pin"}, "led": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"speaker": {"$ref": "qmk.definitions.v1#/mcu_pin"} "speaker": {"$ref": "qmk.definitions.v1#/mcu_pin"}
} }
},
"ws2812": {
"type": "object",
"additionalProperties": false,
"properties": {
"driver": {
"type": "string",
"enum": ["bitbang", "i2c", "pwm", "spi", "vendor"]
}
}
} }
} }
} }

View file

@ -0,0 +1,5 @@
{
"ws2812": {
"driver": "vendor"
}
}

View file

@ -1,2 +1 @@
WS2812_DRIVER = vendor
CONVERT_TO = rp2040_ce CONVERT_TO = rp2040_ce

View file

@ -13,6 +13,9 @@
"dynamic_keymap": { "dynamic_keymap": {
"layer_count": 10 "layer_count": 10
}, },
"ws2812": {
"driver": "vendor"
},
"features": { "features": {
"audio": false, "audio": false,
"backlight": false, "backlight": false,

View file

@ -13,6 +13,9 @@
"dynamic_keymap": { "dynamic_keymap": {
"layer_count": 10 "layer_count": 10
}, },
"ws2812": {
"driver": "vendor"
},
"features": { "features": {
"audio": false, "audio": false,
"backlight": false, "backlight": false,

View file

@ -13,6 +13,9 @@
"dynamic_keymap": { "dynamic_keymap": {
"layer_count": 10 "layer_count": 10
}, },
"ws2812": {
"driver": "vendor"
},
"features": { "features": {
"audio": false, "audio": false,
"backlight": false, "backlight": false,

View file

@ -1,5 +1,3 @@
WS2812_DRIVER = vendor
OLED_ENABLE = yes OLED_ENABLE = yes
OLED_DRIVER = SSD1306 OLED_DRIVER = SSD1306

View file

@ -24,6 +24,9 @@
"rgb_matrix": true, "rgb_matrix": true,
"rgblight": false "rgblight": false
}, },
"ws2812": {
"driver": "vendor"
},
"matrix_pins": { "matrix_pins": {
"cols": ["GP5", "GP8", "GP11", "GP6", "GP7", "GP0", "GP26", "GP10", "GP9", "GP1", "GP18", "GP20", "GP21", "GP27", "GP28", "GP19"], "cols": ["GP5", "GP8", "GP11", "GP6", "GP7", "GP0", "GP26", "GP10", "GP9", "GP1", "GP18", "GP20", "GP21", "GP27", "GP28", "GP19"],
"rows": ["GP12", "GP13", "GP16", "GP25", "GP29"] "rows": ["GP12", "GP13", "GP16", "GP25", "GP29"]

View file

@ -1 +0,0 @@
WS2812_DRIVER = vendor

View file

@ -23,6 +23,9 @@
"rgb_matrix": true, "rgb_matrix": true,
"rgblight": false "rgblight": false
}, },
"ws2812": {
"driver": "vendor"
},
"matrix_pins": { "matrix_pins": {
"cols": ["GP9", "GP8", "GP6", "GP5", "GP14", "GP20", "GP13", "GP12", "GP11", "GP16", "GP17", "GP10", "GP19", "GP18"], "cols": ["GP9", "GP8", "GP6", "GP5", "GP14", "GP20", "GP13", "GP12", "GP11", "GP16", "GP17", "GP10", "GP19", "GP18"],
"rows": ["GP4", "GP3", "GP2", "GP1", "GP0", "GP21"] "rows": ["GP4", "GP3", "GP2", "GP1", "GP0", "GP21"]

View file

@ -1 +0,0 @@
WS2812_DRIVER = vendor

View file

@ -26,6 +26,9 @@
"rgb_matrix": true, "rgb_matrix": true,
"rgblight": false "rgblight": false
}, },
"ws2812": {
"driver": "vendor"
},
"matrix_pins": { "matrix_pins": {
"cols": ["GP3", "GP4", "GP5", "GP20", "GP18", "GP13", "GP17", "GP16", "GP15", "GP12", "GP11", "GP14", "GP10", "GP9"], "cols": ["GP3", "GP4", "GP5", "GP20", "GP18", "GP13", "GP17", "GP16", "GP15", "GP12", "GP11", "GP14", "GP10", "GP9"],
"rows": ["GP1", "GP2", "GP8", "GP6", "GP0", "GP21"] "rows": ["GP1", "GP2", "GP8", "GP6", "GP0", "GP21"]

View file

@ -1 +0,0 @@
WS2812_DRIVER = vendor

View file

@ -24,6 +24,9 @@
"rgb_matrix": true, "rgb_matrix": true,
"rgblight": false "rgblight": false
}, },
"ws2812": {
"driver": "vendor"
},
"matrix_pins": { "matrix_pins": {
"cols": ["GP2", "GP9", "GP8", "GP7"], "cols": ["GP2", "GP9", "GP8", "GP7"],
"rows": ["GP26", "GP1", "GP18", "GP5"] "rows": ["GP26", "GP1", "GP18", "GP5"]

View file

@ -1 +0,0 @@
WS2812_DRIVER = vendor

View file

@ -18,6 +18,9 @@
"levels": 10, "levels": 10,
"breathing": true "breathing": true
}, },
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View file

@ -9,7 +9,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
# Wildcard to allow APM32 MCU # Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF DFU_SUFFIX_ARGS = -p FFFF -v FFFF

View file

@ -20,6 +20,9 @@
"pid": "0x0001", "pid": "0x0001",
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040", "bootloader": "rp2040",
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",

View file

@ -1,4 +1,3 @@
# RGB Matrix # RGB Matrix
RGB_MATRIX_ENABLE = yes RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812 RGB_MATRIX_DRIVER = WS2812
WS2812_DRIVER = vendor

View file

@ -16,6 +16,9 @@
"bootmagic": { "bootmagic": {
"matrix": [1, 2] "matrix": [1, 2]
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040", "bootloader": "rp2040",
"matrix_pins": { "matrix_pins": {

View file

@ -14,7 +14,6 @@ AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes ENCODER_ENABLE = yes
RGB_MATRIX_ENABLE = yes RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812 RGB_MATRIX_DRIVER = WS2812
WS2812_DRIVER = vendor
OLED_ENABLE = yes OLED_ENABLE = yes
OLED_DRIVER = custom OLED_DRIVER = custom
# Project specific files # Project specific files

View file

@ -12,6 +12,9 @@
"levels": 6, "levels": 6,
"breathing": true "breathing": true
}, },
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",

View file

@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
SLEEP_LED_ENABLE = yes SLEEP_LED_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread # Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View file

@ -8,6 +8,9 @@
"pid": "0x2323", "pid": "0x2323",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"ws2812": {
"driver": "i2c"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "B4", "B5"], "cols": ["B0", "B1", "B2", "B3", "B4", "B5"],
"rows": ["A0", "A1", "A2", "A3"] "rows": ["A0", "A1", "A2", "A3"]

View file

@ -8,4 +8,3 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration COMMAND_ENABLE = no # Commands for debug and configuration
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = i2c

View file

@ -20,6 +20,9 @@
"rgblight": false, "rgblight": false,
"rgb_matrix": true "rgb_matrix": true
}, },
"ws2812": {
"driver": "vendor"
},
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"matrix_pins": { "matrix_pins": {
"cols": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5", "GP6", "cols": ["GP0", "GP1", "GP2", "GP3", "GP4", "GP5", "GP6",

View file

@ -1,2 +0,0 @@
# Use dedicated PIO on Raspberry Pi Pico for RGB LEDs:
WS2812_DRIVER = vendor

View file

@ -34,6 +34,9 @@
"twinkle": true "twinkle": true
} }
}, },
"ws2812": {
"driver": "vendor"
},
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [

View file

@ -1,5 +1,3 @@
WS2812_DRIVER = vendor
OLED_ENABLE = yes OLED_ENABLE = yes
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C

View file

@ -39,6 +39,9 @@
"twinkle": true "twinkle": true
} }
}, },
"ws2812": {
"driver": "vendor"
},
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [

View file

@ -1,5 +1,3 @@
WS2812_DRIVER = vendor
OLED_ENABLE = yes OLED_ENABLE = yes
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C

View file

@ -39,6 +39,9 @@
"twinkle": true "twinkle": true
} }
}, },
"ws2812": {
"driver": "vendor"
},
"encoder": { "encoder": {
"enabled": true, "enabled": true,
"rotary": [ "rotary": [

View file

@ -1 +0,0 @@
WS2812_DRIVER = vendor

View file

@ -22,6 +22,9 @@
"bootmagic": { "bootmagic": {
"matrix": [4, 0] "matrix": [4, 0]
}, },
"ws2812": {
"driver": "i2c"
},
"processor": "atmega32a", "processor": "atmega32a",
"bootloader": "bootloadhid", "bootloader": "bootloadhid",
"layout_aliases": { "layout_aliases": {

View file

@ -8,4 +8,3 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration COMMAND_ENABLE = yes # Commands for debug and configuration
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
WS2812_DRIVER = i2c

View file

@ -8,6 +8,9 @@
"pid": "0x4136", "pid": "0x4136",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["A13", "A10", "A9", "A14", "A15", "B8", "B9", "B2", "B1", "B0", "A0", "A1", "A2", "A3", "A5"], "cols": ["A13", "A10", "A9", "A14", "A15", "B8", "B9", "B2", "B1", "B0", "A0", "A1", "A2", "A3", "A5"],
"rows": ["B3", "B4", "B5", "A8", "A4"] "rows": ["B3", "B4", "B5", "A8", "A4"]

View file

@ -17,5 +17,4 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
WS2812_DRIVER = pwm # Driver for RGB uderglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B1", "B10", "B3", "B4", "B5"], "cols": ["B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"] "rows": ["A2", "B8", "A8", "B9"]

View file

@ -25,7 +25,6 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -27,4 +27,3 @@ POINTING_DEVICE_ENABLE = yes # Enable trackball
POINTING_DEVICE_DRIVER = pmw3360 POINTING_DEVICE_DRIVER = pmw3360
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -27,4 +27,3 @@ POINTING_DEVICE_ENABLE = yes # Enable trackball
POINTING_DEVICE_DRIVER = pmw3360 POINTING_DEVICE_DRIVER = pmw3360
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"], "cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"] "rows": ["F7", "C6", "D4", "B5"]

View file

@ -27,6 +27,5 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
WS2812_DRIVER = pwm
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"], "cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"] "rows": ["A2", "B8", "A8", "B9"]

View file

@ -25,7 +25,6 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -27,4 +27,3 @@ POINTING_DEVICE_ENABLE = yes # Enable trackball
POINTING_DEVICE_DRIVER = pmw3360 POINTING_DEVICE_DRIVER = pmw3360
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -27,4 +27,3 @@ POINTING_DEVICE_ENABLE = yes # Enable trackball
POINTING_DEVICE_DRIVER = pmw3360 POINTING_DEVICE_DRIVER = pmw3360
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"] "rows": ["F7", "C6", "D4", "B5"]

View file

@ -27,6 +27,5 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
WS2812_DRIVER = pwm
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"], "cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["B15", "A2", "B8", "A8", "B9"] "rows": ["B15", "A2", "B8", "A8", "B9"]

View file

@ -25,7 +25,6 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -27,4 +27,3 @@ POINTING_DEVICE_ENABLE = yes # Enable trackball
POINTING_DEVICE_DRIVER = pmw3360 POINTING_DEVICE_DRIVER = pmw3360
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -27,4 +27,3 @@ POINTING_DEVICE_ENABLE = yes # Enable trackball
POINTING_DEVICE_DRIVER = pmw3360 POINTING_DEVICE_DRIVER = pmw3360
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F4", "F7", "C6", "D4", "B5"] "rows": ["F4", "F7", "C6", "D4", "B5"]

View file

@ -27,6 +27,5 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
WS2812_DRIVER = pwm
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -12,6 +12,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040", "bootloader": "rp2040",
"community_layouts": ["split_3x5_3"], "community_layouts": ["split_3x5_3"],

View file

@ -18,7 +18,6 @@ RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality
RGB_MATRIX_DRIVER = WS2812 RGB_MATRIX_DRIVER = WS2812
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor
POINTING_DEVICE_ENABLE = yes POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = cirque_pinnacle_spi POINTING_DEVICE_DRIVER = cirque_pinnacle_spi

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"], "cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["B15", "A2", "B8", "A8", "B9"] "rows": ["B15", "A2", "B8", "A8", "B9"]

View file

@ -23,7 +23,6 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -24,4 +24,3 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -24,4 +24,3 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F4", "F7", "C6", "D4", "B5"] "rows": ["F4", "F7", "C6", "D4", "B5"]

View file

@ -22,6 +22,5 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
WS2812_DRIVER = pwm
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B1", "B10", "B3", "B4", "B5"], "cols": ["B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"] "rows": ["A2", "B8", "A8", "B9"]

View file

@ -23,7 +23,6 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -24,4 +24,3 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -24,4 +24,3 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F5", "B6", "D7", "E6", "B4"], "cols": ["F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"] "rows": ["F7", "C6", "D4", "B5"]

View file

@ -22,6 +22,5 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
WS2812_DRIVER = pwm
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B0", "B1", "B10", "B3", "B4", "B5"], "cols": ["B0", "B1", "B10", "B3", "B4", "B5"],
"rows": ["A2", "B8", "A8", "B9"] "rows": ["A2", "B8", "A8", "B9"]

View file

@ -23,7 +23,6 @@ MOUSE_SHARED_EP = no # Unify multiple HID interfaces into a single Endpoint
KEYBOARD_SHARED_EP = yes KEYBOARD_SHARED_EP = yes
EEPROM_DRIVER = spi EEPROM_DRIVER = spi
WS2812_DRIVER = pwm
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -24,4 +24,3 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -11,6 +11,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"ws2812": {
"driver": "vendor"
},
"processor": "RP2040", "processor": "RP2040",
"bootloader": "rp2040" "bootloader": "rp2040"
} }

View file

@ -24,4 +24,3 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -3,6 +3,9 @@
"usb": { "usb": {
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["F6", "F5", "B6", "D7", "E6", "B4"], "cols": ["F6", "F5", "B6", "D7", "E6", "B4"],
"rows": ["F7", "C6", "D4", "B5"] "rows": ["F7", "C6", "D4", "B5"]

View file

@ -22,6 +22,5 @@ RGB_MATRIX_DRIVER = WS2812
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart SERIAL_DRIVER = usart
WS2812_DRIVER = pwm
DEBOUNCE_TYPE = asym_eager_defer_pk DEBOUNCE_TYPE = asym_eager_defer_pk

View file

@ -16,6 +16,9 @@
"backlight": { "backlight": {
"pin": "D4" "pin": "D4"
}, },
"ws2812": {
"driver": "i2c"
},
"indicators": { "indicators": {
"caps_lock": "D1" "caps_lock": "D1"
}, },

View file

@ -8,4 +8,3 @@ CONSOLE_ENABLE = no
COMMAND_ENABLE = yes COMMAND_ENABLE = yes
BACKLIGHT_ENABLE = yes BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = no RGBLIGHT_ENABLE = no
WS2812_DRIVER = i2c

View file

@ -13,6 +13,9 @@
"nkro": true, "nkro": true,
"rgb_matrix": true "rgb_matrix": true
}, },
"ws2812": {
"driver": "pwm"
},
"matrix_pins": { "matrix_pins": {
"cols": ["B15", "B14", "B13", "A9", "A2", "B1", "B9", "B7", "B5", "B4", "B0", "A8", "B6", "B3"], "cols": ["B15", "B14", "B13", "A9", "A2", "B1", "B9", "B7", "B5", "B4", "B0", "A8", "B6", "B3"],
"rows": ["A15", "B8", "A4", "A3", "B2"] "rows": ["A15", "B8", "A4", "A3", "B2"]

View file

@ -1,2 +1 @@
RGB_MATRIX_DRIVER = WS2812 RGB_MATRIX_DRIVER = WS2812
WS2812_DRIVER = pwm

View file

@ -9,5 +9,8 @@
"rotary": [ "rotary": [
{ "pin_a": "GP8", "pin_b": "GP9" } { "pin_a": "GP8", "pin_b": "GP9" }
] ]
},
"ws2812": {
"driver": "vendor"
} }
} }

View file

@ -1,2 +1 @@
SERIAL_DRIVER = vendor SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor

View file

@ -14,6 +14,3 @@ ENCODER_ENABLE = yes
# Enter lower-power sleep mode when on the ChibiOS idle thread # Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
# RGB setting
WS2812_DRIVER = bitbang

View file

@ -18,6 +18,9 @@
"levels": 6, "levels": 6,
"breathing": true "breathing": true
}, },
"ws2812": {
"driver": "spi"
},
"processor": "STM32F103", "processor": "STM32F103",
"bootloader": "stm32duino", "bootloader": "stm32duino",
"community_layouts": ["60_ansi"], "community_layouts": ["60_ansi"],

View file

@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
SLEEP_LED_ENABLE = yes SLEEP_LED_ENABLE = yes
WS2812_DRIVER = spi
DEFAULT_FOLDER = bt66tech/bt66tech60 DEFAULT_FOLDER = bt66tech/bt66tech60

View file

@ -18,6 +18,9 @@
"levels": 6, "levels": 6,
"breathing": true "breathing": true
}, },
"ws2812": {
"driver": "spi"
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"community_layouts": ["60_ansi", "60_tsangan_hhkb"], "community_layouts": ["60_ansi", "60_tsangan_hhkb"],

View file

@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi
# Enter lower-power sleep mode when on the ChibiOS idle thread # Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View file

@ -8,6 +8,9 @@
"pid": "0xA7A5", "pid": "0xA7A5",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"ws2812": {
"driver": "spi"
},
"matrix_pins": { "matrix_pins": {
"cols": ["A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "B9", "A15", "A10", "A9"], "cols": ["A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "B9", "A15", "A10", "A9"],
"rows": ["A8", "B14", "B12", "B4", "B3"] "rows": ["A8", "B14", "B12", "B4", "B3"]

Some files were not shown because too many files have changed in this diff Show more