39 #define ROTENC_VAR_INIT { 0 }
64 static inline uint8_t rotenc_count(
rotenc_t *r)
70 #endif // RF_ROTENC_H_
struct rotenc rotenc_t
Rotary encoder click counts and state tracking.
void rotenc_decode(rotenc_t *r, uint8_t state)
Handle a state update.
uint16_t rotenc_count14(rotenc_t *r)
Read a 14-bit count of the current knob position.
Rotary encoder click counts and state tracking.