From 9fe719a5e4cf0698827eab2f8a1e4dd7a3c87ea6 Mon Sep 17 00:00:00 2001 From: numToStr Date: Thu, 29 Feb 2024 22:00:08 +0530 Subject: [PATCH] 2024q1 update and rgblight adjustments --- keyboards/keebit/coral/coral.c | 4 ++-- keyboards/keebit/coral/info.json | 27 +++++++++++---------------- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/keyboards/keebit/coral/coral.c b/keyboards/keebit/coral/coral.c index 4f8a157b299..7c75123cfb8 100644 --- a/keyboards/keebit/coral/coral.c +++ b/keyboards/keebit/coral/coral.c @@ -10,11 +10,11 @@ enum RGB_LAYERS { }; 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( - {0, RGBLED_NUM, HSV_WHITE} + {0, RGBLIGHT_LED_COUNT, HSV_WHITE} ); // Now define the array of layers. Later layers take precedence diff --git a/keyboards/keebit/coral/info.json b/keyboards/keebit/coral/info.json index 326dd169c24..2cf11b8af71 100644 --- a/keyboards/keebit/coral/info.json +++ b/keyboards/keebit/coral/info.json @@ -3,6 +3,9 @@ "keyboard_name": "coral", "maintainer": "numToStr", "bootloader": "rp2040", + "build": { + "lto": true + }, "diode_direction": "COL2ROW", "encoder": { "enabled": true, @@ -15,7 +18,6 @@ "command": false, "console": false, "extrakey": true, - "lto": true, "mousekey": true, "nkro": true, "rgblight": true @@ -26,25 +28,18 @@ }, "processor": "RP2040", "rgblight": { - "animations": { - "breathing": true, - "christmas": true, - "rainbow_swirl": true, - "snake": true, - "twinkle": true - }, - "brightness_steps": 2, - "hue_steps": 2, + "brightness_steps": 1, + "hue_steps": 1, "layers": { - "blink": true, "enabled": true, "override_rgb": true }, - "led_count": 1, - "max_brightness": 20, - "saturation_steps": 2, + "led_count": 2, + "max_brightness": 2, + "saturation_steps": 1, "sleep": true, - "split": true + "split": true, + "split_count": [1, 1] }, "split": { "enabled": true, @@ -146,4 +141,4 @@ ] } } -} \ No newline at end of file +}