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

Class PagerInputEvent

pager/pagerctl.py:32–38  ·  view source on GitHub ↗

Input event structure for thread-safe event queue.

Source from the content-addressed store, hash-verified

30
31
32class PagerInputEvent(Structure):
33 """Input event structure for thread-safe event queue."""
34 _fields_ = [
35 ("button", c_uint8), # Which button (single bit from PBTN_* bitmask)
36 ("type", c_int), # Event type (PAGER_EVENT_*)
37 ("timestamp", c_uint32), # When event occurred (ms since init)
38 ]
39
40
41# Event types for PagerInputEvent

Callers 1

get_input_eventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected