Move `RGBLED_SPLIT` to data driven (#21113)

Co-authored-by: Joel Challis <git@zvecr.com>
master
Ryan 2023-06-06 11:08:04 +10:00 committed by GitHub
parent f91ca76c78
commit c9cf9712aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
233 changed files with 309 additions and 191 deletions

View File

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 68 #define RGBLED_NUM 68
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 34, 34 }
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -12,7 +12,8 @@
"pin": "B5" "pin": "B5"
}, },
"rgblight": { "rgblight": {
"max_brightness": 170 "max_brightness": 170,
"split_count": [34, 34]
}, },
"rgb_matrix": { "rgb_matrix": {
"driver": "WS2812" "driver": "WS2812"

View File

@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define RGBLED_NUM 50 // Number of LEDs #define RGBLED_NUM 50 // Number of LEDs
#define RGBLED_SPLIT {25, 25}
/* /*
* Feature disable options * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View File

@ -16,6 +16,9 @@
"split": { "split": {
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"rgblight": {
"split_count": [25, 25]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -4,5 +4,4 @@
#pragma once #pragma once
#define RGBLED_NUM 12 #define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 }
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT

View File

@ -18,6 +18,9 @@
{"pin_a": "B5", "pin_b": "F4", "resolution": 2} {"pin_a": "B5", "pin_b": "F4", "resolution": 2}
] ]
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -4,5 +4,4 @@
#pragma once #pragma once
#define RGBLED_NUM 12 #define RGBLED_NUM 12
#define RGBLED_SPLIT { 7, 7 }
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT

View File

@ -21,6 +21,9 @@
"split": { "split": {
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"rgblight": {
"split_count": [7, 7]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -5,7 +5,6 @@
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 64 # define RGBLED_NUM 64
# define RGBLED_SPLIT { 32, 32 }
# define RGBLIGHT_SPLIT # define RGBLIGHT_SPLIT
# define RGBLIGHT_HUE_STEP 10 # define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17 # define RGBLIGHT_SAT_STEP 17

View File

@ -25,7 +25,8 @@
"pin": "D3" "pin": "D3"
}, },
"rgblight": { "rgblight": {
"max_brightness": 100 "max_brightness": 100,
"split_count": [32, 32]
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",

View File

@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* RGB LED */ /* RGB LED */
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#define RGBLED_NUM 69 // Number of LEDs. backlight x69 #define RGBLED_NUM 69 // Number of LEDs. backlight x69
#define RGBLED_SPLIT { 34, 35 }
#define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17 #define RGBLIGHT_VAL_STEP 17

View File

@ -20,7 +20,8 @@
"pin": "D3" "pin": "D3"
}, },
"rgblight": { "rgblight": {
"max_brightness": 120 "max_brightness": 120,
"split_count": [34, 35]
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",

View File

@ -43,14 +43,12 @@
/* RGB settings. */ /* RGB settings. */
#define RGBLED_NUM 36 #define RGBLED_NUM 36
#define RGBLED_SPLIT \
{ 18, 18 }
/* RGB matrix support. */ /* RGB matrix support. */
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR # define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_SPLIT { 18, 18 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
# define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# define RGB_DISABLE_WHEN_USB_SUSPENDED # define RGB_DISABLE_WHEN_USB_SUSPENDED

View File

@ -15,6 +15,9 @@
"split": { "split": {
"soft_serial_pin": "GP1" "soft_serial_pin": "GP1"
}, },
"rgblight": {
"split_count": [18, 18]
},
"ws2812": { "ws2812": {
"pin": "GP0", "pin": "GP0",
"driver": "vendor" "driver": "vendor"

View File

@ -20,14 +20,12 @@
/* RGB settings. */ /* RGB settings. */
#define RGBLED_NUM 58 #define RGBLED_NUM 58
#define RGBLED_SPLIT \
{ 29, 29 }
/* RGB matrix support. */ /* RGB matrix support. */
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR # define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_SPLIT { 29, 29 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
# define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# define RGB_DISABLE_WHEN_USB_SUSPENDED # define RGB_DISABLE_WHEN_USB_SUSPENDED

View File

@ -3,6 +3,9 @@
"usb": { "usb": {
"pid": "0x1829" "pid": "0x1829"
}, },
"rgblight": {
"split_count": [29, 29]
},
"layouts": { "layouts": {
"LAYOUT_split_4x6_5": { "LAYOUT_split_4x6_5": {
"layout": [ "layout": [

View File

@ -20,14 +20,12 @@
/* RGB settings. */ /* RGB settings. */
#define RGBLED_NUM 36 #define RGBLED_NUM 36
#define RGBLED_SPLIT \
{ 18, 18 }
/* RGB matrix support. */ /* RGB matrix support. */
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR # define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_SPLIT { 18, 18 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
# define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# define RGB_DISABLE_WHEN_USB_SUSPENDED # define RGB_DISABLE_WHEN_USB_SUSPENDED

View File

@ -3,6 +3,9 @@
"usb": { "usb": {
"pid": "0x1830" "pid": "0x1830"
}, },
"rgblight": {
"split_count": [18, 18]
},
"community_layouts": ["split_3x5_3"], "community_layouts": ["split_3x5_3"],
"layouts": { "layouts": {
"LAYOUT_split_3x5_3": { "LAYOUT_split_3x5_3": {

View File

@ -18,7 +18,6 @@
#pragma once #pragma once
#define RGBLED_NUM 38 #define RGBLED_NUM 38
#define RGBLED_SPLIT { 19, 19 }
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@ -5,6 +5,9 @@
"device_version": "0.0.1", "device_version": "0.0.1",
"pid": "0x1828" "pid": "0x1828"
}, },
"rgblight": {
"split_count": [19, 19]
},
"ws2812": { "ws2812": {
"pin": "D2" "pin": "D2"
}, },

View File

@ -20,14 +20,12 @@
/* RGB settings. */ /* RGB settings. */
#define RGBLED_NUM 42 #define RGBLED_NUM 42
#define RGBLED_SPLIT \
{ 21, 21 }
/* RGB matrix support. */ /* RGB matrix support. */
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR # define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_SPLIT { 21, 21 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
# define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS # define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# define RGB_DISABLE_WHEN_USB_SUSPENDED # define RGB_DISABLE_WHEN_USB_SUSPENDED

View File

@ -3,6 +3,9 @@
"usb": { "usb": {
"pid": "0x1828" "pid": "0x1828"
}, },
"rgblight": {
"split_count": [21, 21]
},
"community_layouts": ["split_3x6_3"], "community_layouts": ["split_3x6_3"],
"layouts": { "layouts": {
"LAYOUT_split_3x6_3": { "LAYOUT_split_3x6_3": {

View File

@ -29,8 +29,6 @@
#define RGBLIGHT_EFFECT_STATIC_GRADIENT #define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLED_NUM 36 #define RGBLED_NUM 36
#define RGBLED_SPLIT \
{ 18, 18 }
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_SAT_STEP 17

View File

@ -12,7 +12,8 @@
"pin": "D3" "pin": "D3"
}, },
"rgblight": { "rgblight": {
"max_brightness": 150 "max_brightness": 150,
"split_count": [18, 18]
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["B1", "F7", "F6", "F5", "F4"], "cols": ["B1", "F7", "F6", "F5", "F4"],

View File

@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_EFFECT_TWINKLE # define RGBLIGHT_EFFECT_TWINKLE
# define RGBLED_NUM 54 # define RGBLED_NUM 54
# define RGBLED_SPLIT \
{ 27, 27 }
#endif #endif
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE

View File

@ -5,6 +5,9 @@
"split": { "split": {
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"rgblight": {
"split_count": [27, 27]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 54 // Number of LEDs # define RGBLED_NUM 54 // Number of LEDs
# define RGBLED_SPLIT \
{ 27, 27 }
# define RGBLIGHT_SPLIT # define RGBLIGHT_SPLIT
#endif #endif

View File

@ -5,6 +5,9 @@
"split": { "split": {
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"rgblight": {
"split_count": [27, 27]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 2 #define RGBLED_NUM 2
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 1, 1 }
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

View File

@ -22,6 +22,9 @@
} }
} }
}, },
"rgblight": {
"split_count": [1, 1]
},
"ws2812": { "ws2812": {
"pin": "B4" "pin": "B4"
}, },

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
# define RGBLED_SPLIT { 27, 27 }
# define RGBLED_NUM 54 // backlight x42 + underglow x12 # define RGBLED_NUM 54 // backlight x42 + underglow x12
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8 # define RGBLIGHT_SAT_STEP 8
@ -36,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR # define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_SPLIT { 27, 27 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
# define RGB_MATRIX_HUE_STEP RGBLIGHT_HUE_STEP # define RGB_MATRIX_HUE_STEP RGBLIGHT_HUE_STEP
# define RGB_MATRIX_SAT_STEP RGBLIGHT_SAT_STEP # define RGB_MATRIX_SAT_STEP RGBLIGHT_SAT_STEP

View File

@ -12,7 +12,8 @@
"driver": "WS2812" "driver": "WS2812"
}, },
"rgblight": { "rgblight": {
"max_brightness": 170 "max_brightness": 170,
"split_count": [27, 27]
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3"], "cols": ["F4", "F5", "F6", "F7", "B1", "B3"],

View File

@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define RGBLED_NUM 2 // Number of LEDs #define RGBLED_NUM 2 // Number of LEDs
// FIXME this following line should enable our layer status LEDs to work on both
// sides without need to wire them into a chain. It doesn't though. Uncommenting
// means the slave side of the keyboard stops working (and the LEDs don't work).
// #define RGBLED_SPLIT {1,1}
/* /*
* Feature disable options * Feature disable options

View File

@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 16 #define RGBLED_NUM 16
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8} #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8}
#define RGBLED_SPLIT { 8, 8 }
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@ -18,6 +18,9 @@
{"pin_a": "B0", "pin_b": "D2"} {"pin_a": "B0", "pin_b": "D2"}
] ]
}, },
"rgblight": {
"split_count": [8, 8]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -36,11 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 123 # define RGBLED_NUM 123
// Do not define "RGBLED_SPLIT" since somehow it doesn't work well yet.
// Even thhough "#define RGBLED_SPLIT { 60, 63 }" was set, LEDs on the sub keyboad side didn't turn on.
// Not sure but rgblight_sethsv_at() might not support RGBLED_SPLIT yet.
// Instead, LED data is tranferred from right side to the left via TRRS cable.
# define RGBLIGHT_LAYERS # define RGBLIGHT_LAYERS
// By default, LEDs of the buttons which are pressed turn on. // By default, LEDs of the buttons which are pressed turn on.

View File

@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 10 #define RGBLED_NUM 10
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 5, 5 }
#define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_VAL_STEP 8

View File

@ -16,6 +16,9 @@
"split": { "split": {
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"rgblight": {
"split_count": [5, 5]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -6,4 +6,3 @@
#define RGBLIGHT_EFFECT_CHRISTMAS #define RGBLIGHT_EFFECT_CHRISTMAS
#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
#define RGBLED_NUM 6 // Used when chaining strips #define RGBLED_NUM 6 // Used when chaining strips
#define RGBLED_SPLIT { 3, 3 } // Used when not chaining strips

View File

@ -10,6 +10,9 @@
"pid": "0x3632", "pid": "0x3632",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"rgblight": {
"split_count": [3, 3]
},
"ws2812": { "ws2812": {
"pin": "D1" "pin": "D1"
}, },

View File

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if !defined(RGBLED_NUM) #if !defined(RGBLED_NUM)
# define RGBLED_NUM 30 # define RGBLED_NUM 30
# define RGBLIGHT_SPLIT # define RGBLIGHT_SPLIT
# define RGBLED_SPLIT { 16, 14 }
// Switch RGB sides with LED MAP. // Switch RGB sides with LED MAP.
# define RGBLIGHT_LED_MAP { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30} # define RGBLIGHT_LED_MAP { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}
# define RGBLIGHT_LAYERS # define RGBLIGHT_LAYERS

View File

@ -16,6 +16,9 @@
"split": { "split": {
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": {
"split_count": [16, 14]
},
"ws2812": { "ws2812": {
"pin": "D4" "pin": "D4"
}, },

View File

@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 12 #define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 }
/* /*
* Feature disable options * Feature disable options

View File

@ -8,6 +8,9 @@
"pid": "0x1111", "pid": "0x1111",
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"rgblight": {
"split_count": [6, 6]
},
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT": {
"layout": [ "layout": [

View File

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// WS2812 RGB LED strip input and number of LEDs // WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20 #define RGBLED_NUM 20
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT \
{ 10, 10 }
#define AUDIO_PIN C6 #define AUDIO_PIN C6

View File

@ -17,7 +17,8 @@
"pin": "D3" "pin": "D3"
}, },
"rgblight": { "rgblight": {
"max_brightness": 80 "max_brightness": 80,
"split_count": [10, 10]
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu" "bootloader": "atmel-dfu"

View File

@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 20 #define RGBLED_NUM 20
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT \
{ 10, 10 }
#define DEBUG_LED_PIN C13 #define DEBUG_LED_PIN C13

View File

@ -5,6 +5,9 @@
"rows": ["B10", "B11", "B12", "A14", "A13", "A15"] "rows": ["B10", "B11", "B12", "A14", "A13", "A15"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"rgblight": {
"split_count": [10, 10]
},
"ws2812": { "ws2812": {
"pin": "A6", "pin": "A6",
"driver": "pwm" "driver": "pwm"

View File

@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 57 #define RGBLED_NUM 57
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT \
{ 26, 31 }
#define DEBUG_LED_PIN C13 #define DEBUG_LED_PIN C13

View File

@ -5,6 +5,9 @@
"rows": ["B12", "B13", "B14", "B15", "A8", "A10"] "rows": ["B12", "B13", "B14", "B15", "A8", "A10"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"rgblight": {
"split_count": [26, 31]
},
"ws2812": { "ws2812": {
"pin": "A1", "pin": "A1",
"driver": "pwm" "driver": "pwm"

View File

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// WS2812 RGB LED strip input and number of LEDs // WS2812 RGB LED strip input and number of LEDs
#define RGBLED_NUM 20 #define RGBLED_NUM 20
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT \
{ 10, 10 }
#define RGBLIGHT_LIMIT_VAL 80 #define RGBLIGHT_LIMIT_VAL 80
#define DEBUG_LED_PIN D6 #define DEBUG_LED_PIN D6

View File

@ -17,7 +17,8 @@
"pin": "E7" "pin": "E7"
}, },
"rgblight": { "rgblight": {
"max_brightness": 80 "max_brightness": 80,
"split_count": [10, 10]
}, },
"processor": "at90usb1286", "processor": "at90usb1286",
"bootloader": "halfkay" "bootloader": "halfkay"

View File

@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLED_NUM 12 # define RGBLED_NUM 12
# define RGBLIGHT_SPLIT # define RGBLIGHT_SPLIT
# define RGBLED_SPLIT {6, 6}
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 1 # define RGBLIGHT_SAT_STEP 1
# define RGBLIGHT_VAL_STEP 1 # define RGBLIGHT_VAL_STEP 1

View File

@ -8,6 +8,9 @@
"pid": "0x0000", "pid": "0x0000",
"device_version": "1.0.0" "device_version": "1.0.0"
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D2" "pin": "D2"
}, },

View File

@ -65,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 25, 25 }
// #define RGBLIGHT_HUE_STEP 8 // #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8 // #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8 // #define RGBLIGHT_VAL_STEP 8

View File

@ -23,7 +23,8 @@
"pin": "D3" "pin": "D3"
}, },
"rgblight": { "rgblight": {
"max_brightness": 120 "max_brightness": 120,
"split_count": [25, 25]
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",

View File

@ -65,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 32, 32 }
// #define RGBLIGHT_HUE_STEP 8 // #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8 // #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8 // #define RGBLIGHT_VAL_STEP 8

View File

@ -23,7 +23,8 @@
"pin": "D3" "pin": "D3"
}, },
"rgblight": { "rgblight": {
"max_brightness": 120 "max_brightness": 120,
"split_count": [32, 32]
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",

View File

@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 56 #define RGBLED_NUM 56
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 28, 28 }
#define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17 #define RGBLIGHT_VAL_STEP 17

View File

@ -1,4 +1,7 @@
{ {
"rgblight": {
"split_count": [28, 28]
},
"ws2812": { "ws2812": {
"pin": "B6" "pin": "B6"
}, },

View File

@ -2,7 +2,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#pragma once #pragma once
#define RGBLED_SPLIT { 28, 28 }
#define RGBLED_NUM 56 #define RGBLED_NUM 56
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */

View File

@ -16,6 +16,9 @@
"split": { "split": {
"soft_serial_pin": "D2" "soft_serial_pin": "D2"
}, },
"rgblight": {
"split_count": [28, 28]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define RGBLED_SPLIT {32, 37}
# define RGBLED_NUM 69 # define RGBLED_NUM 69
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8 # define RGBLIGHT_SAT_STEP 8

View File

@ -12,7 +12,8 @@
"pin": "D3" "pin": "D3"
}, },
"rgblight": { "rgblight": {
"max_brightness": 200 "max_brightness": 200,
"split_count": [32, 37]
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],

View File

@ -53,5 +53,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER //#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
// #define RGBLED_SPLIT {18,18}

View File

@ -53,5 +53,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER //#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
// #define RGBLED_SPLIT {18,18}

View File

@ -47,5 +47,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER //#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
// #define RGBLED_SPLIT {18,18}

View File

@ -57,5 +57,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER //#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
// #define RGBLED_SPLIT {18,18}

View File

@ -6,7 +6,6 @@
#define MASTER_LEFT #define MASTER_LEFT
#define RGBLED_NUM 88 #define RGBLED_NUM 88
#define RGBLED_SPLIT { 44, 44 }
#define RGBLIGHT_SPLIT #define RGBLIGHT_SPLIT
#define RGB_MATRIX_LED_COUNT 88 #define RGB_MATRIX_LED_COUNT 88

View File

@ -15,7 +15,8 @@
"driver": "WS2812" "driver": "WS2812"
}, },
"rgblight": { "rgblight": {
"max_brightness": 120 "max_brightness": 120,
"split_count": [44, 44]
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],

View File

@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 20 // Number of LEDs #define RGBLED_NUM 20 // Number of LEDs
#define RGBLED_SPLIT { 10, 10 }
/* /*
* Feature disable options * Feature disable options

View File

@ -16,6 +16,9 @@
"split": { "split": {
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": {
"split_count": [10, 10]
},
"ws2812": { "ws2812": {
"pin": "B4" "pin": "B4"
}, },

View File

@ -35,6 +35,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 16 // Number of LEDs #define RGBLED_NUM 16 // Number of LEDs
#define RGBLED_SPLIT { 8, 8 }
#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 12, 13, 14, 15, 4, 5, 6, 7, 8, 9, 10, 11 } #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 12, 13, 14, 15, 4, 5, 6, 7, 8, 9, 10, 11 }
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) #define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)

View File

@ -24,6 +24,9 @@
"split": { "split": {
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": {
"split_count": [8, 8]
},
"ws2812": { "ws2812": {
"pin": "E6" "pin": "E6"
}, },

View File

@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 14 // Number of LEDs #define RGBLED_NUM 14 // Number of LEDs
#define RGBLED_SPLIT { 7, 7 }
/* /*
* Feature disable options * Feature disable options

View File

@ -22,6 +22,9 @@
"split": { "split": {
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": {
"split_count": [7, 7]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 // Number of LEDs #define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -16,6 +16,9 @@
"split": { "split": {
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 // Number of LEDs #define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -18,6 +18,9 @@
"pin": "B6", "pin": "B6",
"levels": 5 "levels": 5
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "F7" "pin": "F7"
}, },

View File

@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 // Number of LEDs #define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -18,6 +18,9 @@
"pin": "B5", "pin": "B5",
"levels": 5 "levels": 5
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D6" "pin": "D6"
}, },

View File

@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 // Number of LEDs #define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -18,6 +18,9 @@
"pin": "B5", "pin": "B5",
"levels": 5 "levels": 5
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D6" "pin": "D6"
}, },

View File

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
# define RGBLED_NUM 68 # define RGBLED_NUM 68
# define RGBLED_SPLIT { 34, 34 }
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8 # define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8 # define RGBLIGHT_VAL_STEP 8

View File

@ -21,7 +21,8 @@
"pin": "E6" "pin": "E6"
}, },
"rgblight": { "rgblight": {
"max_brightness": 120 "max_brightness": 120,
"split_count": [34, 34]
}, },
"split": { "split": {
"soft_serial_pin": "D0", "soft_serial_pin": "D0",

View File

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
# define RGBLED_NUM 68 # define RGBLED_NUM 68
# define RGBLED_SPLIT { 34, 34 }
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8 # define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8 # define RGBLIGHT_VAL_STEP 8

View File

@ -22,7 +22,8 @@
"pin": "E6" "pin": "E6"
}, },
"rgblight": { "rgblight": {
"max_brightness": 120 "max_brightness": 120,
"split_count": [34, 34]
}, },
"split": { "split": {
"soft_serial_pin": "D0", "soft_serial_pin": "D0",

View File

@ -39,5 +39,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 16 // Number of LEDs #define RGBLED_NUM 16 // Number of LEDs
#define RGBLED_SPLIT { 8, 8 }
#define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 }

View File

@ -21,6 +21,9 @@
"backlight": { "backlight": {
"pin": "B5" "pin": "B5"
}, },
"rgblight": {
"split_count": [8, 8]
},
"ws2812": { "ws2812": {
"pin": "E6" "pin": "E6"
}, },

View File

@ -26,4 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 // Number of LEDs #define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }

View File

@ -16,6 +16,9 @@
"pin": "C6", "pin": "C6",
"levels": 7 "levels": 7
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -26,4 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 // Number of LEDs #define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }

View File

@ -16,6 +16,9 @@
"pin": "B5", "pin": "B5",
"levels": 7 "levels": 7
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -28,4 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 // Number of LEDs #define RGBLED_NUM 12 // Number of LEDs
#define RGBLED_SPLIT { 6, 6 }

View File

@ -22,6 +22,9 @@
"pin": "B6", "pin": "B6",
"levels": 7 "levels": 7
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D7" "pin": "D7"
}, },

View File

@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 #define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 }
/* /*
* Feature disable options * Feature disable options

View File

@ -12,6 +12,9 @@
"split": { "split": {
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

View File

@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGBLED_NUM 12 #define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 }
/* /*
* Feature disable options * Feature disable options

View File

@ -13,6 +13,9 @@
"pin": "B6", "pin": "B6",
"levels": 7 "levels": 7
}, },
"rgblight": {
"split_count": [6, 6]
},
"ws2812": { "ws2812": {
"pin": "D3" "pin": "D3"
}, },

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