MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / wait_button

Method wait_button

tests/test_pager_code.py:341–343  ·  view source on GitHub ↗

Wait for any button press (blocking).

(self)

Source from the content-addressed store, hash-verified

339
340 # ========== INPUT ==========
341 def wait_button(self):
342 """Wait for any button press (blocking)."""
343 return self.BTN_A # Simulate green button press
344
345 def poll_input(self):
346 """Poll input state (non-blocking)."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected