mikeobrien/HidLibrary

HidReport Exception: Line 14 when used with Saitek Pro Flight Switch Panel

ZoeESummers opened this issue · 1 comments

When using the Saitek Pro Flight Switch Panel, and using the TestHarness and selecting anything other than 'Read' or 'Refresh' from the form, it causes an Unhandled Exception in HidReport.cs at Line 14 where the _data variable contains the following at the point of the crash:

{byte[0]}

I don't know why this device is sending that, but it's causing HidReport to fail.

Sorry I can't be more help as I'm trying to understand what's going on but left C# and windows programming 10 years ago.

Here's a screen shot showing the variable's contents:

hidreportcrash