更新时间:2023-01-29 14:08:22
You could do this using Quartz Event Taps, which provides a:
...用于事件点击的C API,它们是 用于观察和更改 低级用户输入事件流 在Mac OS X中
...C API for event taps, which are filters used to observe and alter the stream of low-level user input events in Mac OS X