|
TB2026-YDS Firmware
|
Pure debounce + press-edge detection + button->ui_event mapping (no hardware). More...
Macros | |
| #define | BTN_A_NOT_ON_EXPANDER 0xFF |
Functions | |
| int | input_logic_update (input_debounce_t *st, uint8_t exp_port, bool a_pressed, uint32_t now_ms, ui_event_t *out, int out_cap) |
| Fold one button sample into the debounce state, emitting just-pressed UI events. | |
Pure debounce + press-edge detection + button->ui_event mapping (no hardware).
| #define BTN_A_NOT_ON_EXPANDER 0xFF |
| ui_event_t ev |
| uint8_t exp_bit |