aboutsummaryrefslogtreecommitdiff
path: root/keyboards/custommk/genesis/genesis.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/custommk/genesis/genesis.c')
-rw-r--r--keyboards/custommk/genesis/genesis.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/custommk/genesis/genesis.c b/keyboards/custommk/genesis/genesis.c
index 47296dd80..f684d7ef7 100644
--- a/keyboards/custommk/genesis/genesis.c
+++ b/keyboards/custommk/genesis/genesis.c
@@ -16,7 +16,8 @@
16 16
17#include "genesis.h" 17#include "genesis.h"
18 18
19__attribute__((weak)) void encoder_update_user(uint8_t index, bool clockwise) { 19bool encoder_update_kb(uint8_t index, bool clockwise) {
20 if (!encoder_update_user(index, clockwise)) return false;
20 /* top left encoder */ 21 /* top left encoder */
21 if (index == 0) { 22 if (index == 0) {
22 if (clockwise) { 23 if (clockwise) {
@@ -32,5 +33,6 @@ __attribute__((weak)) void encoder_update_user(uint8_t index, bool clockwise) {
32 } else { 33 } else {
33 tap_code(KC_VOLD); 34 tap_code(KC_VOLD);
34 } 35 }
35 } 36 }
36} \ No newline at end of file 37 return true;
38}