Mouse set position not working in 3.1.6
in OpenSesame
Hi
I have been writting an eyetracker experiment, and needed the ability to turn off the cursor and also to reset it's position. It is written using 3.0.7 and works.
The test PC has 3.1.6, but the cursor doesn't reset its position until the mouse is moved.
Have created an experiment to show this, it works fine using pygame and xpyriment using 3.0.7 but doesn't work with 3.1.6. . The experiment loops 10 times, has a sketchpad (shown for 1 sec) and at the start of each loop the cursor is set to the centre of the screen. If the mouse is moved then its position should be reset at the beginning of every loop.
Is there any work around?
Gary
Comments
Hi Gary,
I tested your experiment with my opensesame 3.1.6 on Ubuntu 14.04 and it works the way you intended it. Every second the current mouse position is reset to the middle.
What system do you use?
Eduard
Hi Eduard
Windows 7 32 and 64 bit. Two different computers, one with 3.1.6. installed, the other running from a folder.
Gary
Hi
Just tried 3.1.0, and I have the same issue. Plus the mouse moves smoothly in the first iteration but subsequent ones it just jumps around (when the mouse is moved), in Legacy and xpyriment
Gary
Hi
Just replaced pygame in 3.1.6 with pygame from 3.0.7 and the problem is no more.
Do you know what the differences are?
Gary
Update, only worked when pygame change with opensesame was running. Once restarted mouse cursor doesn't appear
Looks like I will have to be using 3.0.7