diff options
Diffstat (limited to 'keyboards/planck/keymaps/mikethetiger/keymap.c')
| -rw-r--r-- | keyboards/planck/keymaps/mikethetiger/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/mikethetiger/keymap.c b/keyboards/planck/keymaps/mikethetiger/keymap.c index 7da292d35..2fe932150 100644 --- a/keyboards/planck/keymaps/mikethetiger/keymap.c +++ b/keyboards/planck/keymaps/mikethetiger/keymap.c | |||
| @@ -256,7 +256,7 @@ uint16_t muse_counter = 0; | |||
| 256 | uint8_t muse_offset = 70; | 256 | uint8_t muse_offset = 70; |
| 257 | uint16_t muse_tempo = 50; | 257 | uint16_t muse_tempo = 50; |
| 258 | 258 | ||
| 259 | bool encoder_update(bool clockwise) { | 259 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 260 | if (muse_mode) { | 260 | if (muse_mode) { |
| 261 | if (IS_LAYER_ON(_RAISE)) { | 261 | if (IS_LAYER_ON(_RAISE)) { |
| 262 | if (clockwise) { | 262 | if (clockwise) { |
| @@ -293,7 +293,7 @@ bool encoder_update(bool clockwise) { | |||
| 293 | return true; | 293 | return true; |
| 294 | } | 294 | } |
| 295 | 295 | ||
| 296 | void dip_update(uint8_t index, bool active) { | 296 | bool dip_switch_update_user(uint8_t index, bool active) { |
| 297 | switch (index) { | 297 | switch (index) { |
| 298 | case 0: | 298 | case 0: |
| 299 | if (active) { | 299 | if (active) { |
| @@ -318,6 +318,7 @@ void dip_update(uint8_t index, bool active) { | |||
| 318 | #endif | 318 | #endif |
| 319 | } | 319 | } |
| 320 | } | 320 | } |
| 321 | return true; | ||
| 321 | } | 322 | } |
| 322 | 323 | ||
| 323 | void matrix_scan_user(void) { | 324 | void matrix_scan_user(void) { |
