简体   繁体   中英

Is there a tool to know if a program is requesting WM_INPUT events?

WM_INPUT events are the raw input events that windows translates directly from each device. Eg you get a message with raw mouse deltas from each mouse you have plugged, instead of the windows cursor position that you get with the normal input events. A program has to register a callback, in order to receive those events.

I would like to know if a program, eg a videogame, has requested to get those events. A powershell script or bat would be fine.

https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-input

There're apps out there that can give this to you, I believe a popular albeit old one had something with 'spy' in the name. Vs also seems to have something integrated which is called Spy++.

Also Inspect; https://docs.microsoft.com/en-us/windows/win32/winauto/inspect-objects?redirectedfrom=MSDN

Windows internals suite could also help, like procmon; https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

Here's a better list with some options: https://stackoverflow.com/a/2425315/4122889

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM