Impersonate a usb device

i want to replace an usb outputv device from a piece of software with amicrocontroller, possibly mkr1000, does anyone have any tips on making m the mkr enumerate and interpret commands on thevusb bus?
i want to replace a proprietary closed source device with something i can modify.

Start by intercepting the commands from the software. Then get one of the vusb gurus to help you.