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

Class MockPagerInput

pager/test_pager_code.py:30–35  ·  view source on GitHub ↗

Input state structure matching pager_input_t in C.

Source from the content-addressed store, hash-verified

28
29
30class MockPagerInput:
31 """Input state structure matching pager_input_t in C."""
32 def __init__(self):
33 self.current = 0 # Currently held buttons (bitmask)
34 self.pressed = 0 # Just pressed this frame (bitmask)
35 self.released = 0 # Just released this frame (bitmask)
36
37
38class MockPagerInputEvent:

Callers 1

get_inputMethod · 0.70

Calls

no outgoing calls

Tested by 1

get_inputMethod · 0.56