firmware
firmware copied to clipboard
emulate usb composite device on capable boards (mouse+pendrive+keyboard)
example code here, some interesting features to add:
- mouse support for badusb/rubberducky scripts
- mass storage mode as alternative to the webui for file transfers -> added in https://github.com/pr3y/Bruce/pull/891, but not as a composite device
https://github.com/wakwak-koba/ESP32-NimBLE-Keyboard
Saving the library here to sum it with the USB we already use, to save space with common key arrays
just found another example to try, this one also includes a serial port that is currently lost when switching to USB HID mode: https://github.com/espressif/arduino-esp32/blob/master/libraries/USB/examples/CompositeDevice/CompositeDevice.ino