mikeobrien/HidLibrary

Trying to read report

Closed this issue · 4 comments

Asken commented
var devices = HidLibrary.HidDevices.Enumerate(1848);
device = devices.FirstOrDefault();
device.OpenDevice();
device.ReadReport(ReadReportCallback);

Gives me System.PlatformNotSupportedException: 'Operation is not supported on this platform.'

I'm on win 10 running .Net 5

Asken commented

I used the source and then it's something else :)

I used the source and then it's something else :)

Hi, i got the same issue, can you share how you fixed it?

Asken commented

I hardly remember but I think I used the source from git rather than the nuget package

Nah.. it didn`t worked.. do you rewrite the BeginInvoke() method, could you check?