Hi Maximilian
I have noticed that moving the mouse in a perfect square repeatedly does not result in the pointer drawing the same square repeatedly. The square can drift left, right, up or down. I checked this by using a grid as the wallpaper on my phone and moving the mouse by hand in a constrained square boundary.
I was pretty sure it was drifting, but to be sure, I modified mouse.py to draw a "square" over and over on the screen. For example, I moved the mouse pointer right by 100 five times, then down by 100 five times, then left by 100 five times, then up by 100 five times, over and over. The square being drawn by the mouse pointer drifted across and down the screen, in a jerky manner. I was expecting the square to remain in the same place and not move at all.
Is this expected behaviour? If so, why?
Thanks in advance
Will
Hi Maximilian
I have noticed that moving the mouse in a perfect square repeatedly does not result in the pointer drawing the same square repeatedly. The square can drift left, right, up or down. I checked this by using a grid as the wallpaper on my phone and moving the mouse by hand in a constrained square boundary.
I was pretty sure it was drifting, but to be sure, I modified mouse.py to draw a "square" over and over on the screen. For example, I moved the mouse pointer right by 100 five times, then down by 100 five times, then left by 100 five times, then up by 100 five times, over and over. The square being drawn by the mouse pointer drifted across and down the screen, in a jerky manner. I was expecting the square to remain in the same place and not move at all.
Is this expected behaviour? If so, why?
Thanks in advance
Will