Skip to content

1.0.3

Compare
Choose a tag to compare
@badcel badcel released this 26 May 19:38
· 12 commits to main since this release
0a3eeb4

This is a minor update to HidApi.Net. The public API was not changed.

This release addresses the longstanding issue #2: To communicate with the native HIDAPI library strings need to be converted to the WCharT datatype. As dotnet does not provide some direct way to interact with this type a manual conversion is needed. This conversion is platform dependent and was done by HidApi.Net internally. For each creation of a string the operating system was checked and the platform dependent code was called.

As other projects could benefit of some WCharT helper class the code was moved into a separate library (WCharT.Net) and additionally it is now using the Nuget runtime feature to load a WCharT dll which is platform dependent, thus avoiding the checks during runtime.

What's Changed

Full Changelog: 1.0.2...1.0.3