summaryrefslogtreecommitdiffstats
path: root/keyboards/biacco42/ergo42
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 /keyboards/biacco42/ergo42
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 'keyboards/biacco42/ergo42')
-rw-r--r--keyboards/biacco42/ergo42/keymaps/hdbx/keymap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/biacco42/ergo42/keymaps/hdbx/keymap.c b/keyboards/biacco42/ergo42/keymaps/hdbx/keymap.c
index 161543806f..2d687037e4 100644
--- a/keyboards/biacco42/ergo42/keymaps/hdbx/keymap.c
+++ b/keyboards/biacco42/ergo42/keymaps/hdbx/keymap.c
@@ -141,7 +141,7 @@ layer_state_t layer_state_set_keymap (layer_state_t state) {
void matrix_init_user(void) {
#ifdef RGBLIGHT_ENABLE
rgblight_enable();
- rgblight_setrgb_teal();
+ rgblight_setrgb(RGB_TEAL);
#endif
}
@@ -150,16 +150,16 @@ layer_state_t layer_state_set_user(layer_state_t state) {
#ifdef RGBLIGHT_ENABLE
switch (get_highest_layer(state)) {
case _RAISE:
- rgblight_setrgb_chartreuse(); // RAISE:シャルトリューズ
+ rgblight_setrgb(RGB_CHARTREUSE); // RAISE:シャルトリューズ
break;
case _LOWER:
- rgblight_setrgb_pink(); // LOWER:ピンク
+ rgblight_setrgb(RGB_PINK); // LOWER:ピンク
break;
case _ADJUST:
- rgblight_setrgb_red(); // ADJUST:レッド
+ rgblight_setrgb(RGB_RED); // ADJUST:レッド
break;
default: // for any other layers, or the default layer
- rgblight_setrgb_teal(); // 他:ティール
+ rgblight_setrgb(RGB_TEAL); // 他:ティール
break;
}
#endif