开发者

detect mouse events in mac os X at system level

I would like to keep track of all mouse events at system level (not only in my application). I've quickly googled this but found no real interesting pointer.

开发者_如何学PythonDo you know how to achieve this?

Thanks in adavance for your help :)

Regards,


I know of 2 ways: installing Carbon Event handlers on the event monitor target (GetEventMonitorTarget) or using a Quartz event tap (CGEventTapCreate).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜