-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot grant "Input Monitoring" Permission in Catalina 10.15.7 #172
Comments
do you have external keyboard turned on? How about delay like 500ms (I remember someone mentioning 1000+ has the same effect as 0) |
This happened to me also, I fixed by enabling aggressive mode and setting delay to 40ms. This might work for you try it out and lmk |
I have the same problem. Sometimes (probably directly after a reboot) it works until the next sleep. I tried enabling aggressive mode, didn't help :/ |
what's in the debug window |
When it's working correctly, every keypress appears in the debug window. When it doesn't work, only keypresses on special keys (eg cmd or alt) appear. |
Only modifier keys show up? That's odd. Can you paste a small snippet of log here so I can have something more concrete? Also, what's your configuration (the checkboxes below delay config) |
My machine is currently at Apple service (for keyboard replacement, so I guess this fixes the issue for me :P), but I will get back to you when I have my machine again (feel free to remind me when I don't get back to you within two weeks) Regarding the configuration, I left it at default values (I believe that's everything unchecked?) apart from aggressive mode, which didn't change the behaviour at all (I observed it with and without aggressive mode) |
There is another bug report on 10.15.7 #176. I managed to test Unshaky on a 10.15.7 macbook and it works fine. Cannot reproduce it now. |
Same here, Unshaky works fine after rebooting the machine. But after a while (stand-by's) included - it stops working. The debug window only shows some special keys. Attached is the content of the log window after typing this comment.
Can I support somehow in debugging this issue? |
And this is what it looks like after reboot - typing "Hello World ..."
|
Same here. @aahung I noticed that even with |
Interesting. I never managed to reproduce this. Do you have other apps that might modify keyboard events such as karabiner? |
What do you mean "can't add Unshaky to it?" Is that preference pane not accessible? |
No
I could only add Unshaky to the |
In Catalina 10.15.7, I have the same issue as cdce8p. I can add and enable Unshaky in the Accessibility tab, but when I try the "Input Monitoring" tab, I get the same "Apps that have requested access to monitor input..." with no way to add or enable anything. |
@cdce8p and @jwaddle, looks like this is a known issue in macOS. https://apple.stackexchange.com/questions/379452/cannot-add-new-apps-to-mac-catalina-input-monitoring-on-security-privacy
I think Unshaky needs to ask this permission explicitly in next version, but before that, install some other app that requests input monitor could be a workaround. Some known apps that might request such permission:
|
Thank you, that is exactly what I ended up doing. First I tried the ColorSnapper2 app, but it appeared to have the same issue re: never asking for Input Monitoring. Next I tried something called Cheat Sheet, and it worked well! After it was there populating the list, I was able to add Unshaky with the + button in Input Monitoring. 4 shaky keypresses blocked in the last 5 minutes, thanks. |
I did some testing and found only 10.15.7 seems require input monitoring to be turned on. I tested it on big sur (11.2.2) and Unshaky works without input monitoring. I think it is a bug in 10.15.7, therefore, closing this issue for now. |
BTW, I tried to let Unshaky to request input monitoring, however, I found the only way to request it is to not to request Accessibility permission at the same time, which is not very feasible. IOHIDRequestAccess(kIOHIDRequestTypeListenEvent) -> request input monitor, but Unshaky won't work
IOHIDRequestAccess(kIOHIDRequestTypePostEvent) -> request accessibility, Unshaky work in big sur, but may not be adequate in 10.15.7 |
I understand the limitation. Thanks for taking the time to investigate it. |
Thanks for this! Where did you get this Cheat Sheet app? When I google "Cheat Sheet app macos" I get completely unrelated results... |
Describe the bug
On approximately 50% of certain keys pressed (in my case E and I) -- I've set the ms to 1000+ and there is zero effect. This just started on my recent update to Catalina 10.15.7
Desktop (please complete the following information):
Additional context
I've tested using Unshaky .60 and 0.63, and have tested the workarounds posted for Catalina 10.15.6 with no success
The text was updated successfully, but these errors were encountered: