pr3y / Bruce

Predatory ESP32 Firmware
https://bruce.computer
GNU Affero General Public License v3.0
933 stars 108 forks source link

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

Open eadmaster opened 3 months ago

eadmaster commented 3 months ago

example code here, some interesting features to add:

bmorcelli commented 3 months ago

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

eadmaster commented 4 weeks ago

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