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

Class KeyBdInput

original_project/vjoy-testing/directkeys.py:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17# C struct redefinitions
18PUL = ctypes.POINTER(ctypes.c_ulong)
19class KeyBdInput(ctypes.Structure):
20 _fields_ = [("wVk", ctypes.c_ushort),
21 ("wScan", ctypes.c_ushort),
22 ("dwFlags", ctypes.c_ulong),
23 ("time", ctypes.c_ulong),
24 ("dwExtraInfo", PUL)]
25
26class HardwareInput(ctypes.Structure):
27 _fields_ = [("uMsg", ctypes.c_ulong),

Callers 2

PressKeyFunction · 0.70
ReleaseKeyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected