I have 2 keyboards hooked up to my machine (one on PS/2, the other on USB). How would I determine which keyboard is sending the keystrokes in C#?
Here's a sample, very dirty code, showing how to use windows input hook from .NET. Works best with Snippet Compiler :>
EDIT: turns out there's a length limit for posts,
.