[Pythonmac-SIG] bus error with CGEventTapCreate
Marko Tapio Manninen
mmstud at gmail.com
Mon Jan 5 10:08:44 CET 2009
Hi,
i get an error i dont know why. Sample code on my mac os 10.5.6 python
2.5.1 that came with Leopard:
from Quartz import *
event_tap = CGEventTapCreate(kCGSessionEventTap,
kCGHeadInsertEventTap, 0, ((1 << kCGEventKeyDown) | (1 <<
kCGEventKeyUp)), lambda p, t, e, r: e)
If you can answer or direct to other helpful places, i'd like to thank
you,
-Marko
More information about the Pythonmac-SIG
mailing list