mfakane

Results 2 comments of mfakane

The Raw Input can catch key messages and identify it's source device, but doesn't have an ability to prevent other apps receiving key events, so you must use `SetWindowsHookEx` to...

`RegisterDevice` and `UnregisterDevice` are wrapper for the native [RegisterRawInputDevices](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-registerrawinputdevices). This function only allows specifing device "types" by Usage and Page. Instead, you need to check the `RawInputDevice.VendorId` / `RawInputDevice.ProductId`, which...