I mapped this key to an otherwise useless mutlimedia key of my keyboard.
Ideally I'd like to have a push-to-talk functionality: unmute while I press a key. for this I need two events: key pressed and key released. but I don't know how to bind that.
then use shift-press to lock microphone status (muted or unmuted)
@uint8_t That's handy. I use a usb mic with a hardware mute switch that I got from my university's surplus shop. The button lights up green when it's active, and the switch cuts power to it.