diff options
Diffstat (limited to 'layouts/community/ortho_4x12/buswerks/keymap.c')
-rw-r--r-- | layouts/community/ortho_4x12/buswerks/keymap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/community/ortho_4x12/buswerks/keymap.c b/layouts/community/ortho_4x12/buswerks/keymap.c index 95d9e7019..455db2a8a 100644 --- a/layouts/community/ortho_4x12/buswerks/keymap.c +++ b/layouts/community/ortho_4x12/buswerks/keymap.c | |||
@@ -142,7 +142,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
142 | return true; | 142 | return true; |
143 | } | 143 | } |
144 | 144 | ||
145 | void encoder_update(bool clockwise) { | 145 | bool encoder_update_user(uint8_t index, bool clockwise) { |
146 | if (IS_LAYER_ON(_RAISE) || IS_LAYER_ON(_LOWER)) { | 146 | if (IS_LAYER_ON(_RAISE) || IS_LAYER_ON(_LOWER)) { |
147 | if (clockwise) { | 147 | if (clockwise) { |
148 | register_code(KC_VOLU); | 148 | register_code(KC_VOLU); |
@@ -170,6 +170,5 @@ void encoder_update(bool clockwise) { | |||
170 | #endif | 170 | #endif |
171 | } | 171 | } |
172 | } | 172 | } |
173 | return true; | ||
173 | } | 174 | } |
174 | |||
175 | |||