TB2026-YDS Firmware
Loading...
Searching...
No Matches
input_diag_t Struct Reference

Live button snapshot for the diagnostics screen. More...

#include <input.h>

Data Fields

bool pressed [INPUT_BTN_COUNT]
uint32_t count [INPUT_BTN_COUNT]

Detailed Description

Live button snapshot for the diagnostics screen.

Both arrays are in button order: Up, Down, Left, Right, B (back), A (select) — matching BTN[] in Input logic (pure). Filled by input_get_diag.

Field Documentation

◆ count

uint32_t input_diag_t::count[INPUT_BTN_COUNT]

Debounced presses since boot.

◆ pressed

bool input_diag_t::pressed[INPUT_BTN_COUNT]

true while the button is currently held.


The documentation for this struct was generated from the following file:
  • components/services/input/input.h