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
).
精彩评论