MCPcopy
hub / github.com/Sentdex/pygta5 / KeyBdInput

Class KeyBdInput

original_project/directkeys.py:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22# C struct redefinitions
23PUL = ctypes.POINTER(ctypes.c_ulong)
24class KeyBdInput(ctypes.Structure):
25 _fields_ = [("wVk", ctypes.c_ushort),
26 ("wScan", ctypes.c_ushort),
27 ("dwFlags", ctypes.c_ulong),
28 ("time", ctypes.c_ulong),
29 ("dwExtraInfo", PUL)]
30
31class HardwareInput(ctypes.Structure):
32 _fields_ = [("uMsg", ctypes.c_ulong),

Callers 2

PressKeyFunction · 0.70
ReleaseKeyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected