Move files from gousb/usb to gousb

This commit is contained in:
Sebastian Zagrodzki
2017-05-06 00:11:11 +02:00
parent acb9ee3242
commit 5200a36191
33 changed files with 79 additions and 79 deletions

View File

@@ -21,20 +21,20 @@ import (
"strings"
"time"
"github.com/google/gousb/usb"
"github.com/google/gousb"
)
const (
// LinuxUsbDotOrg is one source of files in the format used by this package.
LinuxUsbDotOrg = "http://www.linux-usb.org/usb.ids"
LinuxUsbDotOrg = "http://www.linux-gousb.org/usb.ids"
)
var (
// Vendors stores the vendor and product ID mappings.
Vendors map[usb.ID]*Vendor
Vendors map[gousb.ID]*Vendor
// Classes stores the class, subclass and protocol mappings.
Classes map[usb.Class]*Class
Classes map[gousb.Class]*Class
)
// LoadFromURL replaces the built-in vendor and class mappings with ones loaded