Input state structure matching pager_input_t in C.
| 28 | |
| 29 | |
| 30 | class 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 | |
| 38 | class MockPagerInputEvent: |