Utility
Here are useful functions for controller maintenance.
firmwareUploadMode()
This function is RP2040 specific. It will let you set up two buttons to reboot the RP2040 chip into USB storage device mode when held together for a set amount of time. This allows you to quickly update/swap firmware on your controller without having to take it apart to use the BOOTSEL button.
This function will not produce any button presses, so you should also use functions like pushButton(), modButton(), biteButton() etc. for these two buttons.
Last updated