My current boot.py:
Code: Select all
import usb_hid
import storage
import usb_cdc
usb_cdc.disable() # Disable both serial devices.
storage.disable_usb_drive()
usb_hid.enable((usb_hid.Device.MOUSE,)) # Enable just MOUSE.
Moderators: adafruit_support_bill, adafruit
Code: Select all
import usb_hid
import storage
import usb_cdc
usb_cdc.disable() # Disable both serial devices.
storage.disable_usb_drive()
usb_hid.enable((usb_hid.Device.MOUSE,)) # Enable just MOUSE.
viewtopic.php?f=19&t=181192&p=881120&hi ... me#p881120You'd have to write your own version of the bootloader with a USB descriptor that identifies it as your device.
To to that, you'd need a USB vendor ID, which costs $5k per year if you're a member of the USB Implementer's Forum, $6k if you aren't:
https://www.usb.org/getting-vendor-id
Vendor IDs are mapped to a database maintained by the USB-IF, and are transmitted numerically. Ours is 293A, for instance:
https://devicehunt.com/view/type/usb/vendor/239A