aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/ptillemans/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/ptillemans/keymap.c')
-rw-r--r--keyboards/planck/keymaps/ptillemans/keymap.c5
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;
232uint8_t muse_offset = 70; 232uint8_t muse_offset = 70;
233uint16_t muse_tempo = 50; 233uint16_t muse_tempo = 50;
234 234
235bool encoder_update(bool clockwise) { 235bool 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
272void dip_update(uint8_t index, bool active) { 272bool 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
299void matrix_scan_user(void) { 300void matrix_scan_user(void) {