Too many mouse clicks required for mouse response
I have a problem with my experiment.
I need to press the mouse button 1 three times - only after three times it moves to the next trial.
Before I wrote this code below on python inline script - one click was enough. Please if you have a suggestion I would like to hear.
I wrote this code on the run stage and the prepare stage.
if I erase it from prepare stage it still requires two clicks.
my_mouse = mouse() button, (x, y), timestamp = my_mouse.get_click(timeout=99000) if button is None: print('A timeout occurred!')