2024q1 update and rgblight adjustments

This commit is contained in:
numToStr 2024-02-29 22:00:08 +05:30
parent 7730590345
commit 9fe719a5e4
2 changed files with 13 additions and 18 deletions

View File

@ -10,11 +10,11 @@ enum RGB_LAYERS {
}; };
const rgblight_segment_t PROGMEM capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS( const rgblight_segment_t PROGMEM capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0, RGBLED_NUM, HSV_BLUE} {0, RGBLIGHT_LED_COUNT, HSV_BLUE}
); );
const rgblight_segment_t PROGMEM capsword_layer[] = RGBLIGHT_LAYER_SEGMENTS( const rgblight_segment_t PROGMEM capsword_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0, RGBLED_NUM, HSV_WHITE} {0, RGBLIGHT_LED_COUNT, HSV_WHITE}
); );
// Now define the array of layers. Later layers take precedence // Now define the array of layers. Later layers take precedence

View File

@ -3,6 +3,9 @@
"keyboard_name": "coral", "keyboard_name": "coral",
"maintainer": "numToStr", "maintainer": "numToStr",
"bootloader": "rp2040", "bootloader": "rp2040",
"build": {
"lto": true
},
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"encoder": { "encoder": {
"enabled": true, "enabled": true,
@ -15,7 +18,6 @@
"command": false, "command": false,
"console": false, "console": false,
"extrakey": true, "extrakey": true,
"lto": true,
"mousekey": true, "mousekey": true,
"nkro": true, "nkro": true,
"rgblight": true "rgblight": true
@ -26,25 +28,18 @@
}, },
"processor": "RP2040", "processor": "RP2040",
"rgblight": { "rgblight": {
"animations": { "brightness_steps": 1,
"breathing": true, "hue_steps": 1,
"christmas": true,
"rainbow_swirl": true,
"snake": true,
"twinkle": true
},
"brightness_steps": 2,
"hue_steps": 2,
"layers": { "layers": {
"blink": true,
"enabled": true, "enabled": true,
"override_rgb": true "override_rgb": true
}, },
"led_count": 1, "led_count": 2,
"max_brightness": 20, "max_brightness": 2,
"saturation_steps": 2, "saturation_steps": 1,
"sleep": true, "sleep": true,
"split": true "split": true,
"split_count": [1, 1]
}, },
"split": { "split": {
"enabled": true, "enabled": true,
@ -146,4 +141,4 @@
] ]
} }
} }
} }