Convert Encoder callbacks to be boolean functions (#12805)

Co-authored-by: James Young <[email protected]>
This commit is contained in:
Drashna JaelreandJames Young authored and GitHub committed 2021-05-21 23:17:32 -07:00
1 parent 76c23b15ab
commit a0fed0ea17
437 files changed
+2542 -2135

No files matched your search

@@ -32,10 +32,11 @@ void matrix_init_user(void) {
set_scramble_LED(LED_OFF);
}
void encoder_update_user(uint8_t index, bool clockwise) {
bool encoder_update_user(uint8_t index, bool clockwise) {
if (clockwise) {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
return true;
}