todbot / win-hid-dump

Sort of a Windows version of `usbhid-dump` to show HID Report Descriptors
52 stars 10 forks source link

Chokes on vJoy #5

Closed Hyratel closed 2 years ago

Hyratel commented 2 years ago

PATH:\\?\hid#hidclass&col07#1&2d595ca7&4&0006#{4d1e55b2-f16f-11cf-88cb-001111000030}

Unhandled Exception: System.NotSupportedException: Unable to reconstruct the report descriptor.
   at HidSharp.Platform.Windows.WinHidDevice.GetRawReportDescriptor()
   at winhiddump.Program.Main(String[] args)```

Looks like it needs to have a catch for vJoy, and skip 1234:BEAD devices
todbot commented 2 years ago

win-hid-dump is just a thin wrapper around a single HidSharp library call. This is not something win-hid-dump can fix I think.

todbot commented 2 years ago

Also if you open an upstream bug with HidSharp, you might want to let them know what "vJoy" and "1234:BEAD" devices are. I've not heard of either.

Hyratel commented 2 years ago

will do

(vJoy is a virtual joystick driver/software system that hooks into HID, popular among the HOTAS and SimPit community for complex remapping of joysticks, pedals, and the like in ways not always feasible in-games.)