From 03a9baa44ff5e43023d87e5ccd4e01a908f21389 Mon Sep 17 00:00:00 2001 From: David Luo Date: Mon, 5 Jul 2021 13:15:24 -0400 Subject: [Keyboard] fix encoder_update_user for nullbitsco/nibble (#13451) --- keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'keyboards/nullbitsco/nibble/keymaps/oled_status') diff --git a/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c b/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c index c39f42b361..b276a042b4 100644 --- a/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c +++ b/keyboards/nullbitsco/nibble/keymaps/oled_status/keymap.c @@ -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 @@ -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) { -- cgit v1.2.3