Skip to content

Commit

Permalink
[Keyboard] fix encoder_update_user for nullbitsco/nibble (qmk#13451)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsluo authored and nhongooi committed Dec 5, 2021
1 parent 59af946 commit e840cad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}


void encoder_update_user(uint8_t index, bool clockwise) {
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLU);
#ifdef OLED_DRIVER_ENABLE
Expand All @@ -93,6 +93,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
process_record_encoder_oled(KC_VOLD);
#endif
}
return true;
}

void matrix_init_user(void) {
Expand Down

0 comments on commit e840cad

Please sign in to comment.