-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNavigation.h
More file actions
31 lines (25 loc) · 766 Bytes
/
Copy pathNavigation.h
File metadata and controls
31 lines (25 loc) · 766 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
28
29
30
31
#ifndef NAVIGATION_H
#define NAVIGATION_H
/**
* Navigation.h - Touch and Product Navigation Module
*
* This module handles:
* - Touch button interaction and multi-click detection
* - Product navigation in multi-channel mode
* - Mode transitions (Help, Report, Config)
*/
/**
* Handle touch button interactions including:
* - Multi-click detection (1-4 clicks)
* - Mode transitions (Help after 1 click, Report after 2, Config after 4)
* - Screensaver wake-up
* - Config mode exit via touch
*/
void handleTouchButton();
/**
* Navigate to next product in multi-channel mode.
* Handles product cycling, ticker display, and LNURL generation.
* Wakes device from power saving mode if needed.
*/
void navigateToNextProduct();
#endif // NAVIGATION_H