   DirectInput  2 Mice Support ?
  Hello.  I was playing around with the idea of having two mice in a game.  I found this on the DirectInput Documentation...Note    If the computer has more than one mouse, input from all mice is combined to form the system device. The same is true for multiple keyboards.Thus can I somehow distinguish between the two mice?thanksstringa   
  I'm not a DI expert but AFAICT, you need to enumerate all the devices on the system and then you'll get different devices representations for each mouse, be it two, three or thousand mouses. Look for device enumeration at MSDN or [google].   ;  I have 2 keyboards and 2 mice plugged in. They both act on the same 'system device'.Quote:Note If the computer has more than one mouse, input from all mice is combined to form the system device. The same is true for multiple keyboards.I'm pretty sure this is telling you that if you have 2 mice plugged in they both move the same mouse.Try it yourself. Plug two mice in, they both move the same cursor. And with keyboards, press caps lock on one and the light lights up on the other keyboard as well.I think this is what it's telling you but maybe not.   ;Quote:Original post by theMadHatterI have 2 keyboards and 2 mice plugged in. They both act on the same 'system device'.Quote:Note If the computer has more than one mouse, input from all mice is combined to form the system device. The same is true for multiple keyboards.I'm pretty sure this is telling you that if you have 2 mice plugged in they both move the same mouse.Try it yourself. Plug two mice in, they both move the same cursor. And with keyboards, press caps lock on one and the light lights up on the other keyboard as well.I think this is what it's telling you but maybe not.The system device is the merged input from all keyboards / mice, but you may still be able to enumerate DirectInput devices to find more than one mouse or keyboard.   