Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
deluge::hid::encoders::Encoder Class Reference

Public Member Functions

 Encoder (Encoder &other)=delete
 
 Encoder (Encoder &&other)=delete
 
Encoderoperator= (Encoder &other)=delete
 
Encoder && operator= (Encoder &&other)=delete
 
void read ()
 
void setPins (uint8_t pinA1New, uint8_t pinA2New, uint8_t pinB1New, uint8_t pinB2New)
 
void setNonDetentMode ()
 
int32_t getLimitedDetentPosAndReset ()
 

Public Attributes

int8_t encPos
 
int8_t detentPos
 

Private Attributes

uint8_t portA
 
uint8_t pinA
 
uint8_t portB
 
uint8_t pinB
 
bool pinALastSwitch
 
bool pinBLastSwitch
 
bool pinALastRead
 
bool pinBLastRead
 
int8_t encLastChange
 
bool doDetents
 
bool valuesNow [2]
 

The documentation for this class was generated from the following files: