Definition at line 27 of file encoder_step.hpp.
◆ EncoderStep()
| sbl::control::input::EncoderStep::EncoderStep |
( |
int8_t |
divisor = 4 | ) |
|
|
inlineexplicit |
- Parameters
-
| divisor | Pulses per detent (e.g., 4 for EC11). Must be >= 1. |
Definition at line 30 of file encoder_step.hpp.
◆ process()
| int8_t sbl::control::input::EncoderStep::process |
( |
int32_t |
raw_delta | ) |
|
|
inline |
Feed raw encoder delta, returns step (-1, 0, or +1).
Definition at line 33 of file encoder_step.hpp.
◆ accumulator()
| int8_t sbl::control::input::EncoderStep::accumulator |
( |
| ) |
const |
|
inline |
◆ reset()
| void sbl::control::input::EncoderStep::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: