aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ungodly/nines/nines.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ungodly/nines/nines.c')
-rw-r--r--keyboards/ungodly/nines/nines.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/ungodly/nines/nines.c b/keyboards/ungodly/nines/nines.c
index 3b29b268d..08f8a9ad7 100644
--- a/keyboards/ungodly/nines/nines.c
+++ b/keyboards/ungodly/nines/nines.c
@@ -15,7 +15,8 @@
15 */ 15 */
16 #include "nines.h" 16 #include "nines.h"
17 17
18__attribute__((weak)) void encoder_update_user(uint8_t index, bool clockwise) { 18bool encoder_update_kb(uint8_t index, bool clockwise) {
19 if (!encoder_update_user(index, clockwise)) return false;
19 if (index == 0) { /* Left encoder */ 20 if (index == 0) { /* Left encoder */
20 if (clockwise) { 21 if (clockwise) {
21 tap_code(KC_VOLU); 22 tap_code(KC_VOLU);
@@ -29,4 +30,5 @@ __attribute__((weak)) void encoder_update_user(uint8_t index, bool clockwise) {
29 tap_code(KC_VOLD); 30 tap_code(KC_VOLD);
30 } 31 }
31 } 32 }
33 return true;
32} 34}