diff options
Diffstat (limited to 'keyboards/keebio/quefrency')
6 files changed, 12 insertions, 6 deletions
diff --git a/keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c b/keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c index c83327ce3..e47cba88c 100644 --- a/keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c | |||
@@ -52,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
52 | // clang-format on | 52 | // clang-format on |
53 | 53 | ||
54 | // TODO: I don't even have a rotary encoder, do I need this? | 54 | // TODO: I don't even have a rotary encoder, do I need this? |
55 | void encoder_update_user(uint8_t index, bool clockwise) { | 55 | bool encoder_update_user(uint8_t index, bool clockwise) { |
56 | if (index == 0) { | 56 | if (index == 0) { |
57 | if (clockwise) { | 57 | if (clockwise) { |
58 | tap_code(KC_PGDN); | 58 | tap_code(KC_PGDN); |
@@ -66,4 +66,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
66 | tap_code(KC_VOLD); | 66 | tap_code(KC_VOLD); |
67 | } | 67 | } |
68 | } | 68 | } |
69 | return true; | ||
69 | } | 70 | } |
diff --git a/keyboards/keebio/quefrency/keymaps/default65/keymap.c b/keyboards/keebio/quefrency/keymaps/default65/keymap.c index 4ac622f8e..0e06391ab 100644 --- a/keyboards/keebio/quefrency/keymaps/default65/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/default65/keymap.c | |||
@@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
31 | ) | 31 | ) |
32 | }; | 32 | }; |
33 | 33 | ||
34 | void encoder_update_user(uint8_t index, bool clockwise) { | 34 | bool encoder_update_user(uint8_t index, bool clockwise) { |
35 | if (index == 0) { | 35 | if (index == 0) { |
36 | if (clockwise) { | 36 | if (clockwise) { |
37 | tap_code(KC_PGDN); | 37 | tap_code(KC_PGDN); |
@@ -46,4 +46,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
46 | tap_code(KC_VOLD); | 46 | tap_code(KC_VOLD); |
47 | } | 47 | } |
48 | } | 48 | } |
49 | return true; | ||
49 | } | 50 | } |
diff --git a/keyboards/keebio/quefrency/keymaps/default65macro/keymap.c b/keyboards/keebio/quefrency/keymaps/default65macro/keymap.c index 478152006..cd06c5199 100644 --- a/keyboards/keebio/quefrency/keymaps/default65macro/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/default65macro/keymap.c | |||
@@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
31 | ) | 31 | ) |
32 | }; | 32 | }; |
33 | 33 | ||
34 | void encoder_update_user(uint8_t index, bool clockwise) { | 34 | bool encoder_update_user(uint8_t index, bool clockwise) { |
35 | if (index == 0) { | 35 | if (index == 0) { |
36 | if (clockwise) { | 36 | if (clockwise) { |
37 | tap_code(KC_PGDN); | 37 | tap_code(KC_PGDN); |
@@ -46,4 +46,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
46 | tap_code(KC_VOLD); | 46 | tap_code(KC_VOLD); |
47 | } | 47 | } |
48 | } | 48 | } |
49 | return true; | ||
49 | } | 50 | } |
diff --git a/keyboards/keebio/quefrency/keymaps/draevin/keymap.c b/keyboards/keebio/quefrency/keymaps/draevin/keymap.c index 7e6291579..00a933ddb 100644 --- a/keyboards/keebio/quefrency/keymaps/draevin/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/draevin/keymap.c | |||
@@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
43 | ), | 43 | ), |
44 | }; | 44 | }; |
45 | 45 | ||
46 | void encoder_update_user(uint8_t index, bool clockwise) { | 46 | bool encoder_update_user(uint8_t index, bool clockwise) { |
47 | if (layer_state_is(_FN)) { | 47 | if (layer_state_is(_FN)) { |
48 | if (clockwise) { | 48 | if (clockwise) { |
49 | tap_code(KC_PGDN); | 49 | tap_code(KC_PGDN); |
@@ -57,4 +57,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
57 | tap_code(KC_VOLD); | 57 | tap_code(KC_VOLD); |
58 | } | 58 | } |
59 | } | 59 | } |
60 | return true; | ||
60 | } | 61 | } |
diff --git a/keyboards/keebio/quefrency/keymaps/jonavin/keymap.c b/keyboards/keebio/quefrency/keymaps/jonavin/keymap.c index 73d0c5af0..1e8e2f205 100644 --- a/keyboards/keebio/quefrency/keymaps/jonavin/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/jonavin/keymap.c | |||
@@ -71,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
71 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RCTL(KC_LEFT), RCTL(KC_PGDN), RCTL(KC_RIGHT)), | 71 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RCTL(KC_LEFT), RCTL(KC_PGDN), RCTL(KC_RIGHT)), |
72 | }; | 72 | }; |
73 | 73 | ||
74 | void encoder_update_user(uint8_t index, bool clockwise) { | 74 | bool encoder_update_user(uint8_t index, bool clockwise) { |
75 | if (index == 0) { | 75 | if (index == 0) { |
76 | if (clockwise) { | 76 | if (clockwise) { |
77 | tap_code(KC_PGDN); | 77 | tap_code(KC_PGDN); |
@@ -85,4 +85,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
85 | tap_code(KC_VOLD); | 85 | tap_code(KC_VOLD); |
86 | } | 86 | } |
87 | } | 87 | } |
88 | return true; | ||
88 | } | 89 | } |
diff --git a/keyboards/keebio/quefrency/keymaps/via/keymap.c b/keyboards/keebio/quefrency/keymaps/via/keymap.c index f70a5bab9..213f7af32 100644 --- a/keyboards/keebio/quefrency/keymaps/via/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/via/keymap.c | |||
@@ -34,7 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
34 | ) | 34 | ) |
35 | }; | 35 | }; |
36 | 36 | ||
37 | void encoder_update_user(uint8_t index, bool clockwise) { | 37 | bool encoder_update_user(uint8_t index, bool clockwise) { |
38 | if (index == 0) { | 38 | if (index == 0) { |
39 | if (clockwise) { | 39 | if (clockwise) { |
40 | tap_code(KC_PGDN); | 40 | tap_code(KC_PGDN); |
@@ -48,4 +48,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
48 | tap_code(KC_VOLD); | 48 | tap_code(KC_VOLD); |
49 | } | 49 | } |
50 | } | 50 | } |
51 | return true; | ||
51 | } | 52 | } |