mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-06-23 13:42:43 -04:00
Fix keyboards/keymaps for boolean encoder callback changes (#12985)
This commit is contained in:
parent
d17754408d
commit
1acbb0d7b2
1 changed files with 14 additions and 14 deletions
|
@ -72,7 +72,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_ENABLE
|
#ifdef ENCODER_ENABLE
|
||||||
void encoder_update_user(uint8_t index, bool clockwise) {
|
bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 0:
|
||||||
if (clockwise) {
|
if (clockwise) {
|
||||||
|
@ -82,7 +82,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue