Add a rotary encoder

This commit is contained in:
Quency-D committed 2026-07-15 17:45:24 +08:00
1 parent 87c0849a07
commit 6a651edbfe
10 files changed
+207 -11

No files matched your search

+6
View File
@@ -10,6 +10,9 @@
#ifdef DISPLAY_CLASS
#include <helpers/ui/MomentaryButton.h>
#if defined(UI_HAS_ROTARY_INPUT)
#include <helpers/ui/RotaryInput.h>
#endif
#ifdef HELTEC_RC32_WITH_DISPLAY
#include <helpers/ui/NV3001BDisplay.h>
#else
@@ -25,6 +28,9 @@ extern EnvironmentSensorManager sensors;
#ifdef DISPLAY_CLASS
extern DISPLAY_CLASS display;
extern MomentaryButton user_btn;
#if defined(UI_HAS_ROTARY_INPUT)
extern RotaryInput& rotary_input;
#endif
#endif
bool radio_init();