I just found out that Windows has an API that apparently lets applications keep track of multiple mice.

http://jstookey.com/arcade/rawmouse/