Hi, my app is receiving all keyboard events through Input Monitoring preference. It completely stopped to work on macOS 15 Sequoia and I have no idea why. Where can I read what has been changed in Input Monitoring? Thanks!
Input Monitoring app stopped to work on macOS 15
Input Monitoring is a user-level privilege that covers a variety of different APIs. What API are you using to monitor keyboard events?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Hi Eskimo, thanks for the reply! The APIs used are from below files:
#import <IOKit/hid/IOHIDManager.h> #import <IOKit/hid/IOHIDUsageTables.h>
I’m not aware of any specific problems with IOHIDManager
on macOS 15. However, I just ran my own test app that exercises this case and it’s also failing. Weirdly, it’s failing on macOS 14 too, so I suspect there’s some bigger issue afoot. I’m not really a HID expert, alas.
My test app can also be set up to use CGEventTap
and that continues to work.
I’m not entirely sure when I last tested the HID side of this. It was probably back in 2022, meaning macOS 12 or 13 Unfortunately it’s not easy for me to test on such a system right now.
I’m gonna talk with one of my colleagues about this, one who knows a lot more about HID, and hopefully they’ll be able to spot the issue with my code.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Thanks, waiting for the reply. I have tried an example from GitHub with IOHIDManager, it is working on Sonoma, but not in Sequoia.