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

+2 -2
View File
@@ -22,8 +22,8 @@
void encoder_init(void);
bool encoder_read(void);
void encoder_update_kb(int8_t index, bool clockwise);
void encoder_update_user(int8_t index, bool clockwise);
bool encoder_update_kb(uint8_t index, bool clockwise);
bool encoder_update_user(uint8_t index, bool clockwise);
#ifdef SPLIT_KEYBOARD
void encoder_state_raw(uint8_t* slave_state);