WORK-IN-PROGRESS Native Go library for win32 API functionality
No Cgo
No Setupapi.dll
No imports other than:
Go standard library
golang.org/x/
git.sr.ht/~errnoh/overlapped (stable, maintained by myself)
git.sr.ht/~errnoh/hid.usage for pretty printing HID collections (stable, maintained by myself)
Stability
Library is already being used by some other libraries and most of the API is stable. Everything under w32 can be considered stable, devices itself has also stabilized, at the time of writing devices/hid is likely stable on the IO side, but some surrounding utility might still change.
HID devices
Initial focus of the library was to provide access to HID devices natively without having to use Cgo.
This can be found from devices/hid, and is at the time of writing the main functionality provided by this library.
Structure
Submodule
Description
w32
Provides raw syscalls, structs and variables that are used when dealing with win32 API