Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用户输入可以禁用CG 事件点击,在这种情况下,它们会收到kCGEventTapDisabledByUserInput类型的事件。但那会是什么用户输入呢?禁用事件点击的魔术键和弦是什么?
kCGEventTapDisabledByUserInputCGEventTapEnable使用调用时收到事件false。
kCGEventTapDisabledByUserInput
CGEventTapEnable
false
但是,我不确定是否有其他选项可以接收kCGEventTapDisabledByUserInput.