diff options
Diffstat (limited to 'keyboards/planck/keymaps/ptillemans/keymap.c')
| -rw-r--r-- | keyboards/planck/keymaps/ptillemans/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/ptillemans/keymap.c b/keyboards/planck/keymaps/ptillemans/keymap.c index c163f7372..e671fd59c 100644 --- a/keyboards/planck/keymaps/ptillemans/keymap.c +++ b/keyboards/planck/keymaps/ptillemans/keymap.c | |||
| @@ -232,7 +232,7 @@ uint16_t muse_counter = 0; | |||
| 232 | uint8_t muse_offset = 70; | 232 | uint8_t muse_offset = 70; |
| 233 | uint16_t muse_tempo = 50; | 233 | uint16_t muse_tempo = 50; |
| 234 | 234 | ||
| 235 | bool encoder_update(bool clockwise) { | 235 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 236 | if (muse_mode) { | 236 | if (muse_mode) { |
| 237 | if (IS_LAYER_ON(_RAISE)) { | 237 | if (IS_LAYER_ON(_RAISE)) { |
| 238 | if (clockwise) { | 238 | if (clockwise) { |
| @@ -269,7 +269,7 @@ bool encoder_update(bool clockwise) { | |||
| 269 | return true; | 269 | return true; |
| 270 | } | 270 | } |
| 271 | 271 | ||
| 272 | void dip_update(uint8_t index, bool active) { | 272 | bool dip_switch_update_user(uint8_t index, bool active) { |
| 273 | switch (index) { | 273 | switch (index) { |
| 274 | case 0: | 274 | case 0: |
| 275 | if (active) { | 275 | if (active) { |
| @@ -294,6 +294,7 @@ void dip_update(uint8_t index, bool active) { | |||
| 294 | #endif | 294 | #endif |
| 295 | } | 295 | } |
| 296 | } | 296 | } |
| 297 | return true; | ||
| 297 | } | 298 | } |
| 298 | 299 | ||
| 299 | void matrix_scan_user(void) { | 300 | void matrix_scan_user(void) { |
