Multiple keyboards and low-level hooks
问题 I have a system where I have multiple keyboards and really need to know which keyboard the key stroke is coming from. To explain the set up: I have a normal PC and USB keyboard I have an external VGA screen with some hard-keys The hard keys are mapped as a standard USB keyboard, sending a limited number of key-codes (F1, F2, Return, + and -) I have a low-level hook (in C# but actually calling upon Win32 functionality) which is able to deal with the input even when my application is not