-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInput.h
More file actions
27 lines (18 loc) · 747 Bytes
/
Copy pathInput.h
File metadata and controls
27 lines (18 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef INPUT_H
#define INPUT_H
#include <Arduino.h>
// External button single-click behavior (wake/navigate)
void handleExternalSingleClick();
// Debounced external button edge detection and click sequencing
void handleExternalButton();
// Check long-hold actions (Help/Config) while button is pressed
void checkExternalButtonHolds();
// Exit config mode via button releases after guard period
void handleConfigExitButtons();
// Callback for NEXT button click to exit config mode
void onNextButtonConfigExit();
// Wrapper for NEXT button click - handles both navigation and config exit
void onNextButtonClick();
// Long-press callback: any long-press → Config Mode (or exit config mode)
void onNextButtonLongPress();
#endif // INPUT_H