uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
|
Internal state of an encoder. More...
#include <encoder.h>
Data Fields | |
bool | inputA |
Input A state. More... | |
bool | inputB |
Input B state. More... | |
int8_t | counter |
Pulse counter. More... | |
Internal state of an encoder.
The state is used to determine direction of the rotation.
int8_t encoder_state::counter |
Pulse counter.
bool encoder_state::inputA |
Input A state.
bool encoder_state::inputB |
Input B state.