Arduino Game Controller

Hey there,

Just needed some help for creating a game controller. I am trying to write a code that allows a toggle switch to be toggled "high" and then a "software release" after 0.1 seconds. And after you flick the switch to "low", it sends the same button signal to the computer again for 0.1 seconds. (PS I hope I am not being confusing here)

Thanks a lot!

What is the help You need?