Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intercept messages from USB auxiliary device
#5
I'm not familiar with usage pages, therefore I asked AI. It recommended to try `usUsage` = 1, 2, 3 ... until maybe it will work.

See also `RAWINPUTDEVICE` documentation. Try flag `RIDEV_PAGEONLY` (0x20).
C# code:
    usUsagePage = 1, usUsage = 0,
    dwFlags = api.RIDEV_INPUTSINK | 0x20,
But then, if usUsagePage = 1, you'll receive WM_INPUT for all keyboards, mice, etc, and will need to filter out unwanted notifications in _WmInput.


Messages In This Thread
RE: Intercept messages from USB auxiliary device - by Gintaras - 02-26-2026, 02:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)