firmware icon indicating copy to clipboard operation
firmware copied to clipboard

emulate usb composite device on capable boards (mouse+pendrive+keyboard)

Open eadmaster opened this issue 1 year ago • 2 comments

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

eadmaster avatar Aug 22 '24 20:08 eadmaster

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

bmorcelli avatar Aug 23 '24 16:08 bmorcelli

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

eadmaster avatar Oct 25 '24 17:10 eadmaster