I'm looking for a way to get events from multiple USB keyboards & mices connected to a same PC through an USB hub. At first approach, the events seems to be the same (using C-SDK, WM_events, etc...). It is a "first step", they all can be connected and work !
...but my question is on how to know in *which* keyboard a key has been pressed (a kind of device id or something like that), same problem about USB mouce (click, move...)...
I'm working in C/C++ (SDK/MFC) under Windows XP (Visual Studio 6, not .NET).
I've no idea on how to to this, but if i'm asking how to make Keyboard/mice USB drivers, please, let me know and try to explain me ho to do that, that's why i'm given a lot of points on this question... But if there is a simple solution, i'll take it !
Thank you in advance,