Add a rotary encoder

This commit is contained in:
Quency-D
2026-07-15 17:45:24 +08:00
parent 6c9f0907ee
commit 05d4bd2f7f
10 changed files with 207 additions and 11 deletions
+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();