I’ve got a Remote for my PC, which connects via USB. It requires no drivers, but some multimedia keys are not supported. And i want to know is there a method to read the input data so I can handle the events myself?
Edit: I’ve found a software called USBlyzer which shows me all the information I need, and is capable of handling usb events. the problem is that it’s closed source
Edit: here is the same question: https://superuser.com/questions/179457/software-to-customise-this-usb-pc-remote-control but still no answer for me. I have this remote
I think RawInput is what You need. Call
RegisterRawInputDevices(using platform invoke) to subscribe to events. Then overrideWndProcof main window. And callGetRawInputDatato read and parse raw data.Example: