osx-push-to-talk icon indicating copy to clipboard operation
osx-push-to-talk copied to clipboard

Use CapsLock when it's disabled in system preferences?

Open n1kk opened this issue 2 years ago • 2 comments

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 avatar Nov 22 '21 13:11 n1kk

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

image

n1kk avatar Nov 22 '21 13:11 n1kk

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.

n1kk avatar Nov 22 '21 15:11 n1kk