ms-tools/gohid/gohid.go
2021-09-07 15:15:52 +02:00

11 lines
222 B
Go

package gohid
type HIDDevice interface {
GetFeatureReport(b []byte) (int, error)
SendFeatureReport(b []byte) (int, error)
Close() error
}
func OpenHID(path string) (HIDDevice, error) {
return openHIDInternal(path)
}