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

Function no_keys

original_project/3. test_model.py:104–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 ReleaseKey(A)
103
104def no_keys():
105
106 if random.randrange(0,3) == 1:
107 PressKey(W)
108 else:
109 ReleaseKey(W)
110 ReleaseKey(A)
111 ReleaseKey(S)
112 ReleaseKey(D)
113
114
115

Callers 1

mainFunction · 0.70

Calls 2

PressKeyFunction · 0.90
ReleaseKeyFunction · 0.90

Tested by

no test coverage detected