You can acquire the USBdriveby microcontroller source code from my github: https://github.com/polupraneeth/USDspazo
I've written it for Arduino microcontrollers, however not all Arduinos are capable of emulating a USB HID keyboard/mouse (the Arduino Nano specifically cannot).