Created: 2008-04-16 15:39
Updated: 2018-03-30 19:30

pymanymouse: a portable library to allow input from multiple mice



pymanymouse is a wrapper around the C ManyMouse library made by Ryan Gordon. The original can be found at


  • svn (for downloading ManyMouse the original)
  • gcc, make, standard c libs, etc.
  • python header files (Python.h)
  • swig


To build, run This will:

  1. download the proper revision of manymouse from svn
  2. build manymouse
  3. build pymanymouse


The interface to manymouse (C) is pretty thin: it's still rife with gross C-ness. The only difference between the API is that for pymanymouse, you: import manymouse manymouse.some_function()

as opposed to the ManyMouse_SomeFunction().

See for an example.

Also provided is, a small library that bridges manymouse and pygame by loading manymouse events into the pygame event queue.


ManyMouse's original licence is zlib, which can be found in the LICENSE file that comes with it (or after the script is run). pymanymouse's licence is GPLv3, which can be found at

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more