diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-28 09:50:14 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 23:50:14 +0100 |
commit | 7407347be1df69928d27ea9b6a4fe094429f2a55 (patch) | |
tree | e511be10ad74c60b54ce1839cbf3db767466275a /keyboards/keebio/levinson/keymaps/issmirnov | |
parent | a96a9fd5f8d1db141bc4d5083b63267aac035adf (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/keebio/levinson/keymaps/issmirnov')
-rw-r--r-- | keyboards/keebio/levinson/keymaps/issmirnov/README.md | 2 | ||||
-rw-r--r-- | keyboards/keebio/levinson/keymaps/issmirnov/rgb.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/keebio/levinson/keymaps/issmirnov/README.md b/keyboards/keebio/levinson/keymaps/issmirnov/README.md index 1e03e58e71..b6a94c6c3d 100644 --- a/keyboards/keebio/levinson/keymaps/issmirnov/README.md +++ b/keyboards/keebio/levinson/keymaps/issmirnov/README.md @@ -4,7 +4,7 @@ - https://github.com/qmk/qmk_firmware/blob/master/docs/feature_rgblight.md - main docs. -- https://github.com/qmk/qmk_firmware/blob/master/quantum/rgblight_list.h +- https://github.com/qmk/qmk_firmware/blob/master/quantum/color.h - list of colors - https://github.com/qmk/qmk_firmware/blob/master/quantum/rgblight.h - list of functions for RGB manipulation diff --git a/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c b/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c index 3695731353..0b123bb8d2 100644 --- a/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c +++ b/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c @@ -11,13 +11,13 @@ layer_state_t layer_state_set_rgb(layer_state_t state) { rgblight_sethsv_noeeprom(RGB_CLEAR); break; case _SYMB: - rgblight_sethsv_noeeprom_red(); + rgblight_sethsv_noeeprom(HSV_RED); break; case _NUMP: - rgblight_sethsv_noeeprom_green(); + rgblight_sethsv_noeeprom(HSV_GREEN); break; case _OVERWATCH: - rgblight_sethsv_noeeprom_blue(); + rgblight_sethsv_noeeprom(HSV_BLUE); // TODO set up animated rainbow swirl with overwatch colors. // rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL); // rgblight_effect_breathing(&animation_status); @@ -47,7 +47,7 @@ void matrix_scan_rgb(void) { void set_rgb_indicators(uint8_t this_mod, uint8_t this_osm) { if (get_highest_layer(layer_state) == _QWERTY) { if ((this_mod | this_osm) & MOD_MASK_SHIFT) { - rgblight_setrgb_gold_at(SHFT_LED1); + rgblight_setrgb_at(RGB_GOLD, SHFT_LED1); } else { rgblight_setrgb_at(RGB_CLEAR, SHFT_LED1); } |