Using a toggle switch with arduino nano to change Windows Output Device

I want to toggle my computer from speakers to other speakers this way ONLY because I don't want to fiddle with the back of my pc. I want to use arduino nano because it's small so I know i can't use it as a host device.
This was my first idea:

1.Arduino(with toggle switch)→2. Midi over serial 3.→ 4.Midi to keypress→6.Keypress to custom shortcut with audioswitcher.

If you can't help me make it simpler another question I have...

When using a toggle switch how can I make arduino only send a serial "pulse" (quick message like connected) when I connect and the same for when I disconnect it. So it won't be spamming serial messages every millisecond it will only send 1 message when it connects and disconnects.

If I was to buy an arduino that supports being used as a keyboard could I also set it up to only send 1 keypress when it connects and another one when it disconnects

Why not go for a simple 2 pole switch?

the switch I'm using only has to pins and i want to use that one. Bigger problem is how can I get only a pulse out of it...I have searched google but haven't found a clear result yet

Check the old IC 74HC121, mono stable……