machine/usb/hid: add RxHandler interface

This commit is contained in:
sago35
2023-07-03 22:54:14 +09:00
committed by Ron Evans
parent 395ee2d338
commit c51f5cea0b
3 changed files with 20 additions and 0 deletions
+4
View File
@@ -57,6 +57,10 @@ func (m *mouse) Handler() bool {
return false
}
func (m *mouse) RxHandler(b []byte) bool {
return false
}
func (m *mouse) tx(b []byte) {
if machine.USBDev.InitEndpointComplete {
if m.waitTxc {