Hi everyone
I'm currently running experiments with an eyelink 1000+ eye tracker. I'm using
Psychopy to present stimuli in combination with a pylink-based calibration
routine under Windows 7 .
After initializing and minimizing the stimulus window, the calibration is shown
in another window, which gets closed after calibration, followed by maximizing
and activation of the stimulus window.
Although the mouse cursor is defined as invisible it remains visible (after closing the calibration window) in the middle of the stimulus window until the mouse is moved. Somehow it seems to me that the mouse cursor needs a kind of update before it gets invisible again. I would like to avoid shaking the mouse to make the mouse pointer to disappear. I tried to define the mouse pointer again as invisible, but that did not change anything. As I use pyglet for window generation, it’s not possible to simply change the position of the cursor.
Possibly it would be better to use the psychopy iohub framework for calibration and stimulus presentation. However, there is not enough time to change this before the next experiments.
Thanks in advance for any suggestions
Tom
win = psychopy.visual.Window(......)
# access pyglet window object used by psychopy
# and set mouse position to a new value
win.winHandle.set_mouse_position(0,0)
win.flip()