This is a fun little script designed to work with the picoducky. What this does is simple. At the press of a button, it will cycle through colors on the LED and depending on the one that it lands on, it will do a different thing utilizing the keyboard. These pranks can range from simply taking a screenshot, to locking your PC.C.
Prototype/demo video with regular pi pico:
IMG_4795.MOV
IMG_4794.MOV
In these videos there are no LEDs or button, but that can be emulated with wokwi: