Device.Net icon indicating copy to clipboard operation
Device.Net copied to clipboard

"Write-Only" devices not supported

Open jefffhaynes opened this issue 4 years ago • 1 comments

In the case that a HID device does not support INPUT, IDevice.InitializeAsync throws an ArgumentOutOfRangeException from here, as readBufferSize will be zero.

jefffhaynes avatar Mar 15 '21 14:03 jefffhaynes

I've been meaning to fix that one up. Windows or UWP?

I was thinking about injecting a func in the constructor to get the handle...

Prs welcome

MelbourneDeveloper avatar Mar 17 '21 00:03 MelbourneDeveloper