diff options
Diffstat (limited to 'keyboards/planck/keymaps/unagi/keymap.c')
| -rw-r--r-- | keyboards/planck/keymaps/unagi/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/unagi/keymap.c b/keyboards/planck/keymaps/unagi/keymap.c index 520f42852..1fc181479 100644 --- a/keyboards/planck/keymaps/unagi/keymap.c +++ b/keyboards/planck/keymaps/unagi/keymap.c | |||
| @@ -267,7 +267,7 @@ uint16_t muse_counter = 0; | |||
| 267 | uint8_t muse_offset = 70; | 267 | uint8_t muse_offset = 70; |
| 268 | uint16_t muse_tempo = 50; | 268 | uint16_t muse_tempo = 50; |
| 269 | 269 | ||
| 270 | bool encoder_update(bool clockwise) { | 270 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 271 | if (muse_mode) { | 271 | if (muse_mode) { |
| 272 | if (IS_LAYER_ON(_RAISE)) { | 272 | if (IS_LAYER_ON(_RAISE)) { |
| 273 | if (clockwise) { | 273 | if (clockwise) { |
| @@ -294,7 +294,7 @@ bool encoder_update(bool clockwise) { | |||
| 294 | return true; | 294 | return true; |
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | void dip_update(uint8_t index, bool active) { | 297 | bool dip_switch_update_user(uint8_t index, bool active) { |
| 298 | switch (index) { | 298 | switch (index) { |
| 299 | case 0: | 299 | case 0: |
| 300 | if (active) { | 300 | if (active) { |
| @@ -319,6 +319,7 @@ void dip_update(uint8_t index, bool active) { | |||
| 319 | #endif | 319 | #endif |
| 320 | } | 320 | } |
| 321 | } | 321 | } |
| 322 | return true; | ||
| 322 | } | 323 | } |
| 323 | 324 | ||
| 324 | void matrix_scan_user(void) { | 325 | void matrix_scan_user(void) { |
