diff options
| author | Drashna Jaelre | 2021-05-22 08:17:32 +0200 |
|---|---|---|
| committer | GitHub | 2021-05-22 08:17:32 +0200 |
| commit | a0fed0ea176d1c986e40fc4981b900509c90d66e (patch) | |
| tree | ee12f5943046015ea0dce8e2a30a68bc8eb99dbe /quantum/encoder.h | |
| parent | 76c23b15abc824f867b48d8d5100dced2417d336 (diff) | |
Convert Encoder callbacks to be boolean functions (#12805)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'quantum/encoder.h')
| -rw-r--r-- | quantum/encoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/encoder.h b/quantum/encoder.h index db6f220da4..25dc77721d 100644 --- a/quantum/encoder.h +++ b/quantum/encoder.h @@ -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); |