CGEventTapCreate is returning NULL on MacOS Ventura 13.4.1
CGEventTapCreate is returning NULL on MacOS Ventura 13.4.1
- Subject: CGEventTapCreate is returning NULL on MacOS Ventura 13.4.1
- From: π via Accessibility-dev <email@hidden>
- Date: Tue, 29 Aug 2023 10:23:07 +0100
I have created a speech-assistant macOS app that intercepts keyboard
events (I've remapped CAPS-LOCK to toggle dictation).
My assistant.app works. It's on my Desktop/. I double-click it and it
runs and works.
I'm trying to tweak the code, so I've rebuilt with XCode, and the new
build DOESN'T work.
The problem is that CGEventTapCreate is returning NULL.
I found a discussion here:
https://developer.apple.com/forums/thread/109283?login=true&page=1#763158022
It's out of date (for macOS 10.x) but one participant created a handy
testcase, that swaps the 'a' and 'z' keyboard keys. I've filed an
issue: https://github.com/0x8BADFOOD/osx-cmd-launcher/issues/1
At this point I'm completely stuck. Can anyone offer insight?
π
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden