Closed alex4me closed 3 years ago
After switching to another applictaion, the hook method does not respose to the report due to the fact that the Handle in RAWINPUTDEVICE is a handle of current process.Is there any method to globally hook hid report? Thanks.
You have to use RIDEV_INPUTSINK or RIDEV_EXINPUTSINK depending of what you need: See: https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-rawinputdevice
After switching to another applictaion, the hook method does not respose to the report due to the fact that the Handle in RAWINPUTDEVICE is a handle of current process.Is there any method to globally hook hid report? Thanks.