sharpdx / SharpDX-Samples

Official repository for all SharpDX Samples
346 stars 222 forks source link

Show VID/PID in RawInput Track App #56

Open evilC opened 6 years ago

evilC commented 6 years ago

What?
Modified the RawInputTrackApp to display the VID/PID of each device it sees data from.
Uses Devices.GetDevices() and caches the result, so each device is only looked up once.
Falls back to using a string of the pointer address.
Also added key codes to keyboard readout.

Why?
I searched for "RawInput Monitor" and other associated terms. Turned up nothing of use.
I am working with driver level stuff (Interception) and need to see what the OS is seeing. This is about the only tool I can find which tells me.