aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/bento/keymaps/mac/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/bento/keymaps/mac/keymap.c')
-rw-r--r--keyboards/handwired/bento/keymaps/mac/keymap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/handwired/bento/keymaps/mac/keymap.c b/keyboards/handwired/bento/keymaps/mac/keymap.c
index 29a7e809f..bb584c9a5 100644
--- a/keyboards/handwired/bento/keymaps/mac/keymap.c
+++ b/keyboards/handwired/bento/keymaps/mac/keymap.c
@@ -41,7 +41,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
41}; 41};
42 42
43 43
44void encoder_update_user(uint8_t index, bool clockwise) { 44bool encoder_update_user(uint8_t index, bool clockwise) {
45 if (index == _ENCODER) { 45 if (index == _ENCODER) {
46 if (clockwise) { 46 if (clockwise) {
47 tap_code(KC_VOLU); 47 tap_code(KC_VOLU);
@@ -49,6 +49,5 @@ void encoder_update_user(uint8_t index, bool clockwise) {
49 tap_code(KC_VOLD); 49 tap_code(KC_VOLD);
50 } 50 }
51 } 51 }
52 return true;
52} 53}
53
54