aboutsummaryrefslogtreecommitdiff
path: root/keyboards/punk75/keymaps/dsanchezseco/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/punk75/keymaps/dsanchezseco/keymap.c')
-rw-r--r--keyboards/punk75/keymaps/dsanchezseco/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/punk75/keymaps/dsanchezseco/keymap.c b/keyboards/punk75/keymaps/dsanchezseco/keymap.c
index e3fb62f03..034af79a0 100644
--- a/keyboards/punk75/keymaps/dsanchezseco/keymap.c
+++ b/keyboards/punk75/keymaps/dsanchezseco/keymap.c
@@ -76,7 +76,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
76 return true; 76 return true;
77} 77}
78 78
79void encoder_update_user(uint8_t index, bool clockwise) { 79bool encoder_update_user(uint8_t index, bool clockwise) {
80 if (index == 0) { /* Encoder on the LEFT */ 80 if (index == 0) { /* Encoder on the LEFT */
81 if (clockwise) { 81 if (clockwise) {
82 tap_code(KC_VOLU); 82 tap_code(KC_VOLU);
@@ -90,4 +90,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
90 tap_code(KC_VOLD); 90 tap_code(KC_VOLD);
91 } 91 }
92 } 92 }
93 return true;
93} 94}