Move `RGBLED_SPLIT` to data driven (#21113)
Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
parent
f91ca76c78
commit
c9cf9712aa
|
@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGBLED_NUM 68
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 34, 34 }
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
"pin": "B5"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 170
|
||||
"max_brightness": 170,
|
||||
"split_count": [34, 34]
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812"
|
||||
|
|
|
@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 50 // Number of LEDs
|
||||
#define RGBLED_SPLIT {25, 25}
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [25, 25]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
{"pin_a": "B5", "pin_b": "F4", "resolution": 2}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 7, 7 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [7, 7]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGBLED_NUM 64
|
||||
# define RGBLED_SPLIT { 32, 32 }
|
||||
# define RGBLIGHT_SPLIT
|
||||
# define RGBLIGHT_HUE_STEP 10
|
||||
# define RGBLIGHT_SAT_STEP 17
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 100
|
||||
"max_brightness": 100,
|
||||
"split_count": [32, 32]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
|
|
@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* RGB LED */
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGBLED_NUM 69 // Number of LEDs. backlight x69
|
||||
#define RGBLED_SPLIT { 34, 35 }
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 120
|
||||
"max_brightness": 120,
|
||||
"split_count": [34, 35]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
|
|
@ -43,14 +43,12 @@
|
|||
|
||||
/* RGB settings. */
|
||||
#define RGBLED_NUM 36
|
||||
#define RGBLED_SPLIT \
|
||||
{ 18, 18 }
|
||||
|
||||
/* RGB matrix support. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# 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_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "GP1"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [18, 18]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "GP0",
|
||||
"driver": "vendor"
|
||||
|
|
|
@ -20,14 +20,12 @@
|
|||
|
||||
/* RGB settings. */
|
||||
#define RGBLED_NUM 58
|
||||
#define RGBLED_SPLIT \
|
||||
{ 29, 29 }
|
||||
|
||||
/* RGB matrix support. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# 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_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
"usb": {
|
||||
"pid": "0x1829"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [29, 29]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_split_4x6_5": {
|
||||
"layout": [
|
||||
|
|
|
@ -20,14 +20,12 @@
|
|||
|
||||
/* RGB settings. */
|
||||
#define RGBLED_NUM 36
|
||||
#define RGBLED_SPLIT \
|
||||
{ 18, 18 }
|
||||
|
||||
/* RGB matrix support. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# 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_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
"usb": {
|
||||
"pid": "0x1830"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [18, 18]
|
||||
},
|
||||
"community_layouts": ["split_3x5_3"],
|
||||
"layouts": {
|
||||
"LAYOUT_split_3x5_3": {
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#pragma once
|
||||
|
||||
#define RGBLED_NUM 38
|
||||
#define RGBLED_SPLIT { 19, 19 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"device_version": "0.0.1",
|
||||
"pid": "0x1828"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [19, 19]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D2"
|
||||
},
|
||||
|
|
|
@ -20,14 +20,12 @@
|
|||
|
||||
/* RGB settings. */
|
||||
#define RGBLED_NUM 42
|
||||
#define RGBLED_SPLIT \
|
||||
{ 21, 21 }
|
||||
|
||||
/* RGB matrix support. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# 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_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
"usb": {
|
||||
"pid": "0x1828"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [21, 21]
|
||||
},
|
||||
"community_layouts": ["split_3x6_3"],
|
||||
"layouts": {
|
||||
"LAYOUT_split_3x6_3": {
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLED_NUM 36
|
||||
#define RGBLED_SPLIT \
|
||||
{ 18, 18 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 150
|
||||
"max_brightness": 150,
|
||||
"split_count": [18, 18]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B1", "F7", "F6", "F5", "F4"],
|
||||
|
|
|
@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# define RGBLIGHT_EFFECT_TWINKLE
|
||||
|
||||
# define RGBLED_NUM 54
|
||||
# define RGBLED_SPLIT \
|
||||
{ 27, 27 }
|
||||
#endif
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [27, 27]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
# define RGBLED_NUM 54 // Number of LEDs
|
||||
# define RGBLED_SPLIT \
|
||||
{ 27, 27 }
|
||||
# define RGBLIGHT_SPLIT
|
||||
#endif
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [27, 27]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define RGBLED_NUM 2
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 1, 1 }
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [1, 1]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B4"
|
||||
},
|
||||
|
|
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
# define RGBLED_SPLIT { 27, 27 }
|
||||
# define RGBLED_NUM 54 // backlight x42 + underglow x12
|
||||
# define RGBLIGHT_HUE_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
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# 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_HUE_STEP RGBLIGHT_HUE_STEP
|
||||
# define RGB_MATRIX_SAT_STEP RGBLIGHT_SAT_STEP
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
"driver": "WS2812"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 170
|
||||
"max_brightness": 170,
|
||||
"split_count": [27, 27]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "F6", "F7", "B1", "B3"],
|
||||
|
|
|
@ -18,10 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#pragma once
|
||||
|
||||
#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
|
||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* ws2812 RGB LED */
|
||||
#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 RGBLED_SPLIT { 8, 8 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
{"pin_a": "B0", "pin_b": "D2"}
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [8, 8]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -36,11 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef RGBLIGHT_ENABLE
|
||||
# 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
|
||||
|
||||
// By default, LEDs of the buttons which are pressed turn on.
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define RGBLED_NUM 10
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 5, 5 }
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [5, 5]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -6,4 +6,3 @@
|
|||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
|
||||
#define RGBLED_NUM 6 // Used when chaining strips
|
||||
#define RGBLED_SPLIT { 3, 3 } // Used when not chaining strips
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
"pid": "0x3632",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [3, 3]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D1"
|
||||
},
|
||||
|
|
|
@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#if !defined(RGBLED_NUM)
|
||||
# define RGBLED_NUM 30
|
||||
# define RGBLIGHT_SPLIT
|
||||
# define RGBLED_SPLIT { 16, 14 }
|
||||
// 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_LAYERS
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [16, 14]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D4"
|
||||
},
|
||||
|
|
|
@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x1111",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -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
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT \
|
||||
{ 10, 10 }
|
||||
|
||||
#define AUDIO_PIN C6
|
||||
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 80
|
||||
"max_brightness": 80,
|
||||
"split_count": [10, 10]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
|
|
|
@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT \
|
||||
{ 10, 10 }
|
||||
|
||||
#define DEBUG_LED_PIN C13
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"rows": ["B10", "B11", "B12", "A14", "A13", "A15"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"rgblight": {
|
||||
"split_count": [10, 10]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A6",
|
||||
"driver": "pwm"
|
||||
|
|
|
@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define RGBLED_NUM 57
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT \
|
||||
{ 26, 31 }
|
||||
|
||||
#define DEBUG_LED_PIN C13
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
"rows": ["B12", "B13", "B14", "B15", "A8", "A10"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"rgblight": {
|
||||
"split_count": [26, 31]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "A1",
|
||||
"driver": "pwm"
|
||||
|
|
|
@ -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
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT \
|
||||
{ 10, 10 }
|
||||
#define RGBLIGHT_LIMIT_VAL 80
|
||||
|
||||
#define DEBUG_LED_PIN D6
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
"pin": "E7"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 80
|
||||
"max_brightness": 80,
|
||||
"split_count": [10, 10]
|
||||
},
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "halfkay"
|
||||
|
|
|
@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
# define RGBLED_NUM 12
|
||||
# define RGBLIGHT_SPLIT
|
||||
# define RGBLED_SPLIT {6, 6}
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 1
|
||||
# define RGBLIGHT_VAL_STEP 1
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x0000",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D2"
|
||||
},
|
||||
|
|
|
@ -65,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 25, 25 }
|
||||
// #define RGBLIGHT_HUE_STEP 8
|
||||
// #define RGBLIGHT_SAT_STEP 8
|
||||
// #define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 120
|
||||
"max_brightness": 120,
|
||||
"split_count": [25, 25]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
|
|
@ -65,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 32, 32 }
|
||||
// #define RGBLIGHT_HUE_STEP 8
|
||||
// #define RGBLIGHT_SAT_STEP 8
|
||||
// #define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 120
|
||||
"max_brightness": 120,
|
||||
"split_count": [32, 32]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
|
|
|
@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 56
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLED_SPLIT { 28, 28 }
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{
|
||||
"rgblight": {
|
||||
"split_count": [28, 28]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B6"
|
||||
},
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_SPLIT { 28, 28 }
|
||||
#define RGBLED_NUM 56
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [28, 28]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define RGBLED_SPLIT {32, 37}
|
||||
# define RGBLED_NUM 69
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 200
|
||||
"max_brightness": 200,
|
||||
"split_count": [32, 37]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
|
||||
|
|
|
@ -53,5 +53,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
// #define RGBLED_SPLIT {18,18}
|
||||
|
|
|
@ -53,5 +53,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
// #define RGBLED_SPLIT {18,18}
|
||||
|
|
|
@ -47,5 +47,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
// #define RGBLED_SPLIT {18,18}
|
||||
|
|
|
@ -57,5 +57,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
// #define RGBLED_SPLIT {18,18}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#define MASTER_LEFT
|
||||
|
||||
#define RGBLED_NUM 88
|
||||
#define RGBLED_SPLIT { 44, 44 }
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
||||
#define RGB_MATRIX_LED_COUNT 88
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
"driver": "WS2812"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 120
|
||||
"max_brightness": 120,
|
||||
"split_count": [44, 44]
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
|
||||
|
|
|
@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 20 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 10, 10 }
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [10, 10]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B4"
|
||||
},
|
||||
|
|
|
@ -35,6 +35,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#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_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [8, 8]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E6"
|
||||
},
|
||||
|
|
|
@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 14 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 7, 7 }
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [7, 7]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
"pin": "B6",
|
||||
"levels": 5
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F7"
|
||||
},
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
"pin": "B5",
|
||||
"levels": 5
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D6"
|
||||
},
|
||||
|
|
|
@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
"pin": "B5",
|
||||
"levels": 5
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D6"
|
||||
},
|
||||
|
|
|
@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
# define RGBLED_NUM 68
|
||||
# define RGBLED_SPLIT { 34, 34 }
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
"pin": "E6"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 120
|
||||
"max_brightness": 120,
|
||||
"split_count": [34, 34]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D0",
|
||||
|
|
|
@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
# define RGBLED_NUM 68
|
||||
# define RGBLED_SPLIT { 34, 34 }
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
"pin": "E6"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 120
|
||||
"max_brightness": 120,
|
||||
"split_count": [34, 34]
|
||||
},
|
||||
"split": {
|
||||
"soft_serial_pin": "D0",
|
||||
|
|
|
@ -39,5 +39,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#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 }
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
"backlight": {
|
||||
"pin": "B5"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [8, 8]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E6"
|
||||
},
|
||||
|
|
|
@ -26,4 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"pin": "C6",
|
||||
"levels": 7
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -26,4 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
|
|
|
@ -16,6 +16,9 @@
|
|||
"pin": "B5",
|
||||
"levels": 7
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -28,4 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12 // Number of LEDs
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
"pin": "B6",
|
||||
"levels": 7
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D7"
|
||||
},
|
||||
|
|
|
@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
|
@ -24,7 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGBLED_NUM 12
|
||||
#define RGBLED_SPLIT { 6, 6 }
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
"pin": "B6",
|
||||
"levels": 7
|
||||
},
|
||||
"rgblight": {
|
||||
"split_count": [6, 6]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue