Upload files to "/"

This commit is contained in:
CJ
2026-01-18 11:54:22 +00:00
parent c6815d72e0
commit 975b700410
2 changed files with 343 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import supervisor
import storage
import usb_hid
# Set Manufacturer / Product / VID / PID
supervisor.set_usb_identification(manufacturer='CJ', product='CJs Macro Pad', vid=0xC107, pid=0x1316)
# Disable CIRCUITPY / appearing as USB drive
storage.disable_usb_drive()
# Set interface name for the gamepad
usb_hid.set_interface_name("CJs Macro Pad")