How to configure a push-to-talk style trigger with key hold

For modifier keys only you need to use key sequences: