阅读背景:

在Swift中使用CGEventTapCreate会给参数带来麻烦

来源:互联网 

I am trying to trap keypresses using a CGEventTapCreate etc in Swift. I want to do this so that when my toddler is using a program the Mac, I can limit which keys do something. I appreciate that I need to enable assistive technology to get CGEventTap to workI am trying to trap keypresses using a CGEventT




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: