Input state structure matching pager_input_t in C.
| 21 | |
| 22 | |
| 23 | class PagerInput(Structure): |
| 24 | """Input state structure matching pager_input_t in C.""" |
| 25 | _fields_ = [ |
| 26 | ("current", c_uint8), # Currently held buttons (bitmask) |
| 27 | ("pressed", c_uint8), # Just pressed this frame (bitmask) |
| 28 | ("released", c_uint8), # Just released this frame (bitmask) |
| 29 | ] |
| 30 | |
| 31 | |
| 32 | class PagerInputEvent(Structure): |