From 36d3902504d6aa0d2bdac88c90339c902ade11b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20=C4=90or=C4=91evi=C4=87?= Date: Thu, 25 Jul 2019 21:31:40 +0200 Subject: [User] Update personal userspace and keymaps, add reactive underglow (#6410) * Update MODERN_DOLCH_RED color * Remove unused RAL_LAL tap dance * Disable Space Cadet on all boards * Rework SEND_STRING_CLEAN into CLEAN_MODS, fix DST_P_R/DST_N_A * Disable unnecessary underglow animations * Rearrange feature flags in rules.mk files * Change custom colors from structs to defines * Add some explicit initializers * Add MODERN_DOLCH_CYAN color * Add IS_LAYER_ON_STATE()/IS_LAYER_OFF_STATE() macros * Add led_set_keymap() template function * Change underglow color based on Caps/Fn state * Preserve val when changing underglow colors * Only trigger Fn light for Fn layer * Refactor fn_light() and caps_light() slightly * Add comments to fn_light() and caps_light() --- users/konstantin/rgb.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'users/konstantin/rgb.h') diff --git a/users/konstantin/rgb.h b/users/konstantin/rgb.h index 36a9d9cd74..cc7d91808a 100644 --- a/users/konstantin/rgb.h +++ b/users/konstantin/rgb.h @@ -2,6 +2,12 @@ #include "quantum.h" -extern const HSV GODSPEED_BLUE; -extern const HSV GODSPEED_YELLOW; -extern const HSV MODERN_DOLCH_RED; +#define GODSPEED_BLUE 198, 68, 255 +#define GODSPEED_YELLOW 27, 153, 255 +#define MODERN_DOLCH_CYAN 110, 255, 108 +#define MODERN_DOLCH_RED 251, 255, 108 + +extern const HSV godspeed_blue; +extern const HSV godspeed_yellow; +extern const HSV modern_dolch_cyan; +extern const HSV modern_dolch_red; -- cgit v1.2.3