summaryrefslogtreecommitdiffstats
path: root/keyboards/biacco42/ergo42/keymaps/hdbx
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/biacco42/ergo42/keymaps/hdbx')
-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