yulrizka / osx-push-to-talk

OSX status bar application that mute microphone on user key press
MIT License
304 stars 54 forks source link

Use CapsLock when it's disabled in system preferences? #40

Open n1kk opened 2 years ago

n1kk commented 2 years ago

Hi and thanks for this very handy app :)

I'd like to be able to configure it to use CapsLock even when it's disabled in the system preferences. Right now this app doesn't react to CapsLock when it's set to "No Action" in system preferences, but I know it's possible since I'm doing this with discord. Discord is requesting Input Monitoring permissions to do it. Is this something that can be added to this app? It would be very handy to just have a system-wide push-to-talk on a button that doesn't occupy any other action.

n1kk commented 2 years ago

I've tried adding the app manually to the list, but it still doesn't work

image

n1kk commented 2 years ago

Thought I can look into it, but it's above my head :)

Quick google showed that it requires CGEvent.tapCreate, it's too much for me to hack my way into it, but I've found this example of its usage in Telegram-Mac/PushToTalk.swif.