Floppy LED

During the first COVID lockdown, stuck at home, bored, I had a silly idea: could I use the insertion of a floppy disk as a trigger to control something from a Raspberry Pi? I bought a sleek USB floppy drive and a brand new 10-pack of disks. Although I managed to mount the floppy and read files from...