| Reference | Downloads | Github

About using the mouse

Hi, there

I want to program an experiment with multiple mouse. On one display.
In the first place, is it possible to execute multiple mouse at the same time?
Any help will be appreciated!
Thank you

This is possible using Psychtoolbox (but only under Linux and Mac: Windows doesn’t allow multiple devices to be differentiated):

Mario Kleiner recently ported parts of Psychtoolbox to Python, so that it can be used from within PsychoPy. At this stage, that has given us access to its Keyboard class, and indeed one can distinguish between input from multiple keyboards (at least on Mac and Linux). But I don’t think that its mouse support has been ported over yet.

The Psychtoolbox Python module to access human interface devices is here:

By my reading, it doesn’t provide a mouse class yet, but I could be wrong.