summaryrefslogtreecommitdiff
path: root/users/kuchosauronad0
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-28 09:50:14 +1100
committerGitHub <noreply@github.com>2022-10-27 23:50:14 +0100
commit7407347be1df69928d27ea9b6a4fe094429f2a55 (patch)
treee511be10ad74c60b54ce1839cbf3db767466275a /users/kuchosauronad0
parenta96a9fd5f8d1db141bc4d5083b63267aac035adf (diff)
Remove rgblight_list.h (#18878)
* Remove rgblight_list defines with no usage * Remove rgblight_setrgb_*[_at] defines * Remove rgblight_sethsv_* defines * Remove rgblight_sethsv_noeeprom_* defines * Delete rgblight_list.h and remove all references
Diffstat (limited to 'users/kuchosauronad0')
-rw-r--r--users/kuchosauronad0/kuchosauronad0.c2
-rw-r--r--users/kuchosauronad0/leader.c2
-rw-r--r--users/kuchosauronad0/rgblight_user.c18
3 files changed, 11 insertions, 11 deletions
diff --git a/users/kuchosauronad0/kuchosauronad0.c b/users/kuchosauronad0/kuchosauronad0.c
index 820d84daad..4e9e856107 100644
--- a/users/kuchosauronad0/kuchosauronad0.c
+++ b/users/kuchosauronad0/kuchosauronad0.c
@@ -69,7 +69,7 @@ void shutdown_user (void) {
#ifdef RGBLIGHT_ENABLE
rgblight_enable_noeeprom();
rgblight_mode_noeeprom(1);
- rgblight_setrgb_teal();
+ rgblight_setrgb(RGB_TEAL);
#endif // RGBLIGHT_ENABLE
#ifdef RGB_MATRIX_ENABLE
// uint16_t timer_start = timer_read();
diff --git a/users/kuchosauronad0/leader.c b/users/kuchosauronad0/leader.c
index 22674eef05..ac2a6599a1 100644
--- a/users/kuchosauronad0/leader.c
+++ b/users/kuchosauronad0/leader.c
@@ -97,7 +97,7 @@ void leader_start(void) {
#ifdef RGBLIGHT_ENABLE
rgblight_savebase();
rgblight_mode_noeeprom(1);
- rgblight_sethsv_noeeprom_goldenrod();
+ rgblight_sethsv_noeeprom(HSV_GOLDENROD);
#endif
}
diff --git a/users/kuchosauronad0/rgblight_user.c b/users/kuchosauronad0/rgblight_user.c
index feea0c412f..77a8ac6df8 100644
--- a/users/kuchosauronad0/rgblight_user.c
+++ b/users/kuchosauronad0/rgblight_user.c
@@ -86,36 +86,36 @@ layer_state_t layer_state_set_rgb(layer_state_t state) {
if (userspace_config.rgb_layer_change) {
switch (get_highest_layer(state)) { // _RAISE, _LOWER and _ADJUST use a custom color and the breathing effect
case _RAISE:
- rgblight_sethsv_noeeprom_green();
+ rgblight_sethsv_noeeprom(HSV_GREEN);
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3);
break;
case _LOWER:
- rgblight_sethsv_noeeprom_red();
+ rgblight_sethsv_noeeprom(HSV_RED);
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3);
break;
case _ADJUST:
- rgblight_sethsv_noeeprom_white();
+ rgblight_sethsv_noeeprom(HSV_WHITE);
rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 2);
break;
default: // Use a solid color for normal layers
switch (get_highest_layer(default_layer_state)) {
case _QWERTY:
- rgblight_sethsv_noeeprom_magenta();
+ rgblight_sethsv_noeeprom(HSV_MAGENTA);
break;
case _COLEMAK:
- rgblight_sethsv_noeeprom_green();
+ rgblight_sethsv_noeeprom(HSV_GREEN);
break;
case _DVORAK:
- rgblight_sethsv_noeeprom_blue();
+ rgblight_sethsv_noeeprom(HSV_BLUE);
break;
case _WORKMAN:
- rgblight_sethsv_noeeprom_goldenrod();
+ rgblight_sethsv_noeeprom(HSV_GOLDENROD);
break;
case _PLOVER:
- rgblight_sethsv_noeeprom_pink();
+ rgblight_sethsv_noeeprom(HSV_PINK);
break;
default:
- rgblight_sethsv_noeeprom_white();
+ rgblight_sethsv_noeeprom(HSV_WHITE);
break;
}
get_highest_layer(state) == _MODS ? rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING) : rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); // if _MODS layer is on, then breath to denote it