ESP32-USB-Soft-Host

An Arduino wrapper to @sdima1357's usb_soft_host esp-idf example

AGPL-3.0 License

Stars
284
Committers
1

Bot releases are visible (Hide)

ESP32-USB-Soft-Host - 0.1.4 Latest Release

Published by tobozo about 1 year ago

Added new callbacks, use those before USH.init:

  USH.setOnConfigDescCB( Default_USB_ConfigDescCB ); // found a config descriptor
  USH.setOnIfaceDescCb( Default_USB_IfaceDescCb ); // found an interface descriptor
  USH.setOnHIDDevDescCb( Default_USB_HIDDevDescCb ); // found a HID Device descriptor
  USH.setOnEPDescCb( Default_USB_EPDescCb ); // found an endpoint descriptor

Fix #39

Although usbSetFlag() was implemented, numlock/scrolllock/capslock led controls were missing from the example.
This has been corrected by adding a call to usbSetFlag(int _usb_num, uint8_t flags) in the KeyboardReportParser base class.

ESP32-USB-Soft-Host - 0.1.3

Published by tobozo almost 2 years ago

Tales of the forgotten release:

  • Code refactoring
  • Enabled noop's for S2/C3
  • Actually clicked on the 'Publish Release' button
ESP32-USB-Soft-Host - ESP32-S2 support

Published by tobozo about 2 years ago

Limitations:

  • tested only on one port using USB D+/D- pins, so probably compromising native usb
  • link is unstable: cpuDelay is using a while loop with nop's and precision loss occurs
  • still limited to USB-LS
ESP32-USB-Soft-Host - v0.1.1

Published by tobozo over 2 years ago