summaryrefslogtreecommitdiff
path: root/keyboards/ztboards/after/keymaps/phlop
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ztboards/after/keymaps/phlop')
-rw-r--r--keyboards/ztboards/after/keymaps/phlop/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/ztboards/after/keymaps/phlop/keymap.c b/keyboards/ztboards/after/keymaps/phlop/keymap.c
index 15a91d51ad..5d4fd97599 100644
--- a/keyboards/ztboards/after/keymaps/phlop/keymap.c
+++ b/keyboards/ztboards/after/keymaps/phlop/keymap.c
@@ -20,12 +20,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
switch(get_highest_layer(layer_state)) {
case 1: //EDIT THESE FOR THE ENCODER'S FUNCTION WHEN PRESSING MO(1)
if (clockwise) {
- tap_code16 (KC_VOLU);
+ tap_code16 (KC_VOLU);
} else {
tap_code16(KC_VOLD);
}
@@ -39,4 +39,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
break;
}
}
+ return true;
};