fn sample_once<B: Button>(button: &B, debouncer: &mut Debouncer)Expand description
Sample the button once and post a [Event::TouchPressed] event if
the debouncer accepts a low->high transition (release -> press).
Generic over [Button] so it can be exercised in host-side tests
with a mock button.