diff options
Diffstat (limited to 'quantum/encoder.h')
| -rw-r--r-- | quantum/encoder.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/quantum/encoder.h b/quantum/encoder.h index 2024fa303..ec09a8cc4 100644 --- a/quantum/encoder.h +++ b/quantum/encoder.h | |||
| @@ -19,11 +19,13 @@ | |||
| 19 | 19 | ||
| 20 | #include "quantum.h" | 20 | #include "quantum.h" |
| 21 | 21 | ||
| 22 | #define COUNTRECLOCKWISE 0 | ||
| 23 | #define CLOCKWISE 1 | ||
| 24 | |||
| 25 | void encoder_init(void); | 22 | void encoder_init(void); |
| 26 | void encoder_read(void); | 23 | void encoder_read(void); |
| 27 | 24 | ||
| 28 | void encoder_update_kb(int8_t index, bool clockwise); | 25 | void encoder_update_kb(int8_t index, bool clockwise); |
| 29 | void encoder_update_user(int8_t index, bool clockwise); | 26 | void encoder_update_user(int8_t index, bool clockwise); |
| 27 | |||
| 28 | #ifdef SPLIT_KEYBOARD | ||
| 29 | void encoder_state_raw(uint8_t* slave_state); | ||
| 30 | void encoder_update_raw(uint8_t* slave_state); | ||
| 31 | #endif | ||
