mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-14 14:52:32 +00:00
T-Lora Pager: Interrupt based rotary encoder
This commit is contained in:
@@ -17,6 +17,13 @@ class RotaryEncoderImpl : public Observable<const InputEvent *>, public concurre
|
||||
protected:
|
||||
virtual int32_t runOnce() override;
|
||||
|
||||
QueueHandle_t inputQueue;
|
||||
void dispatchInputs(void);
|
||||
TaskHandle_t inputWorkerTask;
|
||||
static void inputWorker(void *p);
|
||||
EventGroupHandle_t interruptFlag;
|
||||
static RotaryEncoderImpl* interruptInstance;
|
||||
|
||||
input_broker_event eventCw = INPUT_BROKER_NONE;
|
||||
input_broker_event eventCcw = INPUT_BROKER_NONE;
|
||||
input_broker_event eventPressed = INPUT_BROKER_NONE;
|
||||
|
||||
Reference in New Issue
Block a user