PyUserInput icon indicating copy to clipboard operation
PyUserInput copied to clipboard

Getting mouse-delta from the mouse driver

Open Schizo opened this issue 7 years ago • 1 comments

Is it possible with this module, to get the continues mouse-move delta? Imagine I've already reached the left screen of my windows screen but still pushing the mouse, is there a way to get that or is it only based on the actual mouse position on the screen?

Schizo avatar Dec 28 '17 09:12 Schizo

I believe the latter. What video games do is move your mouse to the center of the screen, and record the movement from there. But if you're writing a game, there are better ways to record the mouse. I believe for example PyGame just has a mouse class.

pepijndevos avatar Dec 29 '17 10:12 pepijndevos