This still has some issues (notably the release not triggering when switching workspaces while the PTT key is hold).
Fixes #1.