Add encoder update user

This commit is contained in:
VeyPatch 2024-10-29 15:52:50 +01:00
parent ce1605ed07
commit 60cef34a36

View File

@ -5,7 +5,9 @@
#ifdef ENCODER_ENABLE #ifdef ENCODER_ENABLE
bool encoder_update_kb(uint8_t index, bool clockwise) { bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_user(index, clockwise)) {
return false;
}
if (index == 0) { if (index == 0) {
// Volume control // Volume control
if (clockwise) { if (clockwise) {