I'm running the listener like this:
with keyboard.Listener(on_press=on_press, on_release=on_release, suppress=True) as listener:
but it grabs all keyboard input, blocking out other apps, until the with block ends. 'I'm doing a push to talk' type of app, and I need suppress True to stop echoing spacebar autorepeating.
Is there a way to allow other apps to use the keyboard when they are given focus?
Im running on Ubuntu with sounddevice version 0.4.6
I'm running the listener like this:
with keyboard.Listener(on_press=on_press, on_release=on_release, suppress=True) as listener:
but it grabs all keyboard input, blocking out other apps, until the with block ends. 'I'm doing a push to talk' type of app, and I need suppress True to stop echoing spacebar autorepeating.Is there a way to allow other apps to use the keyboard when they are given focus?
Im running on Ubuntu with sounddevice version 0.4.6