I've noticed a problem with the GetMouse function on Windows with the
new PsychToolbox (version 3.x). The first time I run a program that
exist a loop upon a button press, the program works fine. Subsequent
times, the program exits immediately, because the GetMouse function
reports that a button is being depressed when the button actually is
not. Quitting Matlab and restarting it seems to solve the problem.
This happened on two different Windows laptops, so I assume it is a
general Windows problem. Each had a recent beta version of the PTB.
Is there some way to clear the mouse buffer (or whatever)? The same
program works fine each time on a Mac.
keith
new PsychToolbox (version 3.x). The first time I run a program that
exist a loop upon a button press, the program works fine. Subsequent
times, the program exits immediately, because the GetMouse function
reports that a button is being depressed when the button actually is
not. Quitting Matlab and restarting it seems to solve the problem.
This happened on two different Windows laptops, so I assume it is a
general Windows problem. Each had a recent beta version of the PTB.
Is there some way to clear the mouse buffer (or whatever)? The same
program works fine each time on a Mac.
keith