With this openFrameworks addon you can easily read values from multiple mouse devices.
You can find it here:
download addon (200KB)
download example app (6.5MB) (in Code::Blocks on Win32)
One things I really want to add in the future is event handling, being able to for example register for an onMouseDown event.
I hope it will be of use for you. Good luck!
Discussion