X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fencoder.h;h=ec09a8cc475a5f7b1b28a28afc9957e179fef2b5;hb=7ec583e5efb276ce90a40a1df985de7d0d0b8f46;hp=2024fa303f3451665d1432885e8ac3776cb265b2;hpb=85688e5b52112c86895171d3dc8b26610480e932;p=qmk_firmware.git 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 @@ #include "quantum.h" -#define COUNTRECLOCKWISE 0 -#define CLOCKWISE 1 - void encoder_init(void); void encoder_read(void); void encoder_update_kb(int8_t index, bool clockwise); void encoder_update_user(int8_t index, bool clockwise); + +#ifdef SPLIT_KEYBOARD +void encoder_state_raw(uint8_t* slave_state); +void encoder_update_raw(uint8_t* slave_state); +#endif