How to distinguish multiple Keyboards (HID devices)
-
I have RFID reader which acts like a keyboard that returns read code with return char on the end.
However, i want to be able to listen only that device, with no additional hacking like analyzing all inputs and looking for the one that matches the pattern.
Is there any way to list HID devices and than only listen and input from on of those?
-
I have had to do this on several occasions when dealing with laser scanners that show up as HID keyboard devices.
The Raw Input handler built into Windows seems like my go-to source....
http://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard