mirror of
https://github.com/BertoldVdb/ms-tools.git
synced 2026-01-27 16:57:20 +01:00
11 lines
222 B
Go
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)
|
|
}
|