SimRacing buttonbox with Raspberry Pi Pico / RP2040, circuit-python and adafruit_hid from the circuit-python-libraries
More Information on USB and HID here
Execute to get access to the mounted drive again, as Storage is disabled via boot.py
import microcontroller
microcontroller.on_next_reset(microcontroller.RunMode.SAFE_MODE)
microcontroller.reset()