You know the problem. You had been listening to AC/DC full blast on your PC and you accidentally hit Caps Lock and it blows you away.
There's a couple of solutions:
- Don't use "Toggle Keys", MS's name for the beeping
- Set your System Sounds to a lower volume
- Use a separate cheesy device/speakers for System Sounds
- Use a separate USB device to announce shift toggling
I already had a custom USB volume knob.
All I had to do was add in the HID report descriptors for a keyboard.
As a system keyboard it gets updates on the Caps, Scroll, Num LEDs (which my wireless keyboard doesn't have).
Then all you have to do is make beeps on changes.
The beeps are square waves, 500 Hz & 2000 Hz for 100 milliseconds.
I took a cheap pair of ear buds and pulled out one of the tiny 12 mm drivers.
I fed a GPIO through a 10 µF cap to it.
The driver is mounted in a 3/8 hole in the case.
I haven't decided if I actually like it.