diff options
author | Balz Guenat <balz.guenat@gmail.com> | 2018-01-01 23:47:51 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-01-01 17:47:51 -0500 |
commit | 4931510ad38aadb1769c9241bfad0c3d77ad687f (patch) | |
tree | b2e23ebbde408a3f6580b34e8cf3332346e7c3f3 /keyboards/planck/keymaps/khord | |
parent | d6215ad6aff3857cea8a6877b56a547a76ab13ac (diff) |
backlight breathing overhaul (#2187)
* add breathing to bananasplit
* backlight breathing overhaul
* fix the backlight_tick thing.
* fix for vision_division backlight
* fix a few keymaps and probably break breathing for some weirdly set-up boards.
* remove BL_x keycodes because they made unreasonable assumptions
* some fixes for BL keycodes
* integer cie lightness scaling
* use cie lightness for non-breathing backlight and make breathing able to reach true max brightness
Diffstat (limited to 'keyboards/planck/keymaps/khord')
-rw-r--r-- | keyboards/planck/keymaps/khord/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/khord/keymap.c b/keyboards/planck/keymaps/khord/keymap.c index c8022a3895..c515a0d364 100644 --- a/keyboards/planck/keymaps/khord/keymap.c +++ b/keyboards/planck/keymaps/khord/keymap.c @@ -128,12 +128,12 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { break; case MACRO_BREATH_SPEED_INC: if (record->event.pressed) { - breathing_speed_inc(1); + breathing_period_inc(); } break; case MACRO_BREATH_SPEED_DEC: if (record->event.pressed) { - breathing_speed_dec(1); + breathing_period_dec(); } break; case MACRO_BREATH_DEFAULT: |