How to detect two different mice at the same time, and record their separate movements?

I would like to use two computer mice simultaneously, and to record data their separate movements on windows. I have successfully used TeamPlayer to create two cursors, but the software that I am using to record the movement data records only one output – the sum of the two cursors. How am I to use both computer mice at once, and record their separate outputs?

I have looked at the thread Is it possible to detect two different mice at the same time, and have their movements recorded seperately?, but this is quite old now and most of the solutions offered are now unavailable.