diff options
author | Zach White <skullydazed@gmail.com> | 2021-01-16 18:37:10 -0800 |
---|---|---|
committer | Zach White <skullydazed@drpepper.org> | 2021-01-30 13:11:33 -0800 |
commit | 404bcc961c8eff704cd037aea64e0cf6155c1c4c (patch) | |
tree | 321eec70a0369bbffb2c025b885c97eeb5c6c402 /keyboards/clueboard | |
parent | c8edd6ec9ef9e1136220ed7331ae2d7483fdd9c6 (diff) |
fix clueboard/66:magicmonty to bring hue under the 255 limit
Diffstat (limited to 'keyboards/clueboard')
-rw-r--r-- | keyboards/clueboard/66/keymaps/magicmonty/keymap.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/keyboards/clueboard/66/keymaps/magicmonty/keymap.c b/keyboards/clueboard/66/keymaps/magicmonty/keymap.c index cd9ae01188..54420d31b6 100644 --- a/keyboards/clueboard/66/keymaps/magicmonty/keymap.c +++ b/keyboards/clueboard/66/keymaps/magicmonty/keymap.c @@ -134,23 +134,23 @@ enum layer_id { void clueboard_set_led(uint8_t id, uint8_t val) { switch (id) { case LAYER_BASE: - rgblight_sethsv_noeeprom(190, 255, val); + rgblight_sethsv_noeeprom(135, 255, val); break; case LAYER_FUNCTION: - rgblight_sethsv_noeeprom(46, 255, val); + rgblight_sethsv_noeeprom(32, 255, val); break; case LAYER_MEDIA: - rgblight_sethsv_noeeprom(86, 255, val); + rgblight_sethsv_noeeprom(60, 255, val); break; case LAYER_CONTROL: - rgblight_sethsv_noeeprom(346, 255, val); + rgblight_sethsv_noeeprom(245, 255, val); break; case LAYER_MOUSE: - rgblight_sethsv_noeeprom(206, 255, val); + rgblight_sethsv_noeeprom(146, 255, val); break; #if defined(MIDI_ENABLE) case LAYER_MIDI: - rgblight_sethsv_noeeprom(316, 255, val); + rgblight_sethsv_noeeprom(224, 255, val); break; #endif } @@ -158,15 +158,15 @@ void clueboard_set_led(uint8_t id, uint8_t val) { const uint16_t oct_hues[10] = { 0, - 30, + 20, + 40, 60, - 90, + 80, + 100, 120, - 150, - 180, - 210, - 240, - 300 + 140, + 160, + 180 }; #define MAX_OCT 9 |