chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
475 stars 70 forks source link

Refactor classes to use callbacks #21

Closed chegewara closed 3 years ago

chegewara commented 3 years ago

Each class should have its own set of callbacks. It will be easier to handle callbacks from object level if eventually will be possible to have 2 or more instances of the same class like 2x CDC or HID.

chegewara commented 3 years ago

Most classes refactored with new callback system.