mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-19 12:04:03 +00:00
more refactoring, verified CDC on macOS
This commit is contained in:
@@ -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 (
|
||||
|
||||
|
||||
Reference in New Issue
Block a user