aboutsummaryrefslogtreecommitdiff
path: root/keyboards/keebio/sinc/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/sinc/keymaps')
-rw-r--r--keyboards/keebio/sinc/keymaps/default/keymap.c2
-rw-r--r--keyboards/keebio/sinc/keymaps/via/keymap.c17
2 files changed, 1 insertions, 18 deletions
diff --git a/keyboards/keebio/sinc/keymaps/default/keymap.c b/keyboards/keebio/sinc/keymaps/default/keymap.c
index 650314295..060bf5dc6 100644
--- a/keyboards/keebio/sinc/keymaps/default/keymap.c
+++ b/keyboards/keebio/sinc/keymaps/default/keymap.c
@@ -33,5 +33,5 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
33 tap_code(KC_VOLD); 33 tap_code(KC_VOLD);
34 } 34 }
35 } 35 }
36 return true; 36 return false;
37} 37}
diff --git a/keyboards/keebio/sinc/keymaps/via/keymap.c b/keyboards/keebio/sinc/keymaps/via/keymap.c
index 20cfdd79b..225e9c07d 100644
--- a/keyboards/keebio/sinc/keymaps/via/keymap.c
+++ b/keyboards/keebio/sinc/keymaps/via/keymap.c
@@ -37,20 +37,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ 37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
38 ) 38 )
39}; 39};
40
41bool encoder_update_user(uint8_t index, bool clockwise) {
42 if (index == 0) {
43 if (clockwise) {
44 tap_code(KC_PGDN);
45 } else {
46 tap_code(KC_PGUP);
47 }
48 } else if (index == 1) {
49 if (clockwise) {
50 tap_code(KC_VOLU);
51 } else {
52 tap_code(KC_VOLD);
53 }
54 }
55 return true;
56}