more refactoring, verified CDC on macOS

This commit is contained in:
sago35
2022-05-12 20:37:17 +09:00
parent 4b81985d2b
commit 8fa58fdc6d
21 changed files with 61 additions and 795 deletions
+5 -2
View File
@@ -1,10 +1,13 @@
//go:build baremetal && usb.hid && (atsamd51 || atsame5x)
// +build baremetal
//go:build usb.hid && (atsamd51 || atsame5x)
// +build usb.hid
// +build atsamd51 atsame5x
package usb
// descHIDCount defines the number of USB cores that may be configured as a
// composite (keyboard + mouse + joystick) human interface device (HID).
const descHIDCount = 1
// Constants for USB HID (keyboard, mouse, joystick) device classes.
const (