From 5e43f87956c36a609d49ab696c939f2547d076dc Mon Sep 17 00:00:00 2001 From: yiancar Date: Tue, 8 Oct 2019 17:03:51 +0100 Subject: [Keyboard] RGB updates on NK65 and HS60 (#6795) * RGB update commit * Convert caps lock indicator check to IS_LED_ON * ISSI3733 minor change --- keyboards/hs60/v2/config.h | 2 +- keyboards/nk65/config.h | 2 +- keyboards/wilba_tech/wt_rgb_backlight.c | 14 ++++---------- 3 files changed, 6 insertions(+), 12 deletions(-) (limited to 'keyboards') diff --git a/keyboards/hs60/v2/config.h b/keyboards/hs60/v2/config.h index 57014993f4..02df0074cc 100644 --- a/keyboards/hs60/v2/config.h +++ b/keyboards/hs60/v2/config.h @@ -106,7 +106,7 @@ along with this program. If not, see . #define RGB_BACKLIGHT_BRIGHTNESS 255 // the default effect (RGB test) -#define RGB_BACKLIGHT_EFFECT 255 +#define RGB_BACKLIGHT_EFFECT 6 // the default effect speed (0-3) #define RGB_BACKLIGHT_EFFECT_SPEED 0 diff --git a/keyboards/nk65/config.h b/keyboards/nk65/config.h index 4358d9cf95..51e101cde5 100755 --- a/keyboards/nk65/config.h +++ b/keyboards/nk65/config.h @@ -106,7 +106,7 @@ along with this program. If not, see . #define RGB_BACKLIGHT_BRIGHTNESS 255 // the default effect (RGB test) -#define RGB_BACKLIGHT_EFFECT 255 +#define RGB_BACKLIGHT_EFFECT 6 // the default effect speed (0-3) #define RGB_BACKLIGHT_EFFECT_SPEED 0 diff --git a/keyboards/wilba_tech/wt_rgb_backlight.c b/keyboards/wilba_tech/wt_rgb_backlight.c index 9116e98ba7..ca8c3269f6 100644 --- a/keyboards/wilba_tech/wt_rgb_backlight.c +++ b/keyboards/wilba_tech/wt_rgb_backlight.c @@ -791,7 +791,7 @@ const Point g_map_led_to_point_polar[BACKLIGHT_LED_COUNT] PROGMEM = { {208,255}, {39,255}, {23,238}, {235,255}, {235,255}, {33,255}, {19,255}, {255,233}, {224,255}, {160,255}, {164,255}, {169,255}, {188,255}, {255,255},// LA61 does not exit, dummy //LA62..LB5 - {221,255}, {225,255}, {229,255}, {22,255}, {12,255}, {244,255}, {234,255}, {255,255}, + {221,255}, {225,255}, {229,255}, {22,255}, {12,255}, {244,255}, {234,255}, {255,255} }; #elif defined(RGB_BACKLIGHT_M6_B) // M6-B is really simple: @@ -1551,20 +1551,14 @@ void backlight_effect_indicators(void) } #if defined(RGB_BACKLIGHT_NK65) - if ( g_indicator_state & (1<