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

Method sendMouse

original_project/keys.py:457–460  ·  view source on GitHub ↗
(self, dx, dy, buttons)

Source from the content-addressed store, hash-verified

455
456 # send mouse
457 def sendMouse(self, dx, dy, buttons):
458 if dx != 0 or dy != 0:
459 buttons |= self.keys.mouse_move
460 self.SendInput(self.Mouse(buttons, dx, dy))
461
462 # send input
463 def SendInput(self, *inputs):

Callers 1

directMouseMethod · 0.80

Calls 2

SendInputMethod · 0.95
MouseMethod · 0.95

Tested by

no test coverage detected