Keyboard events filtering
Keyboard events filtering
- Subject: Keyboard events filtering
- From: "Tomas Zahradnicky, Jr." <email@hidden>
- Date: Wed, 14 Nov 2001 13:51:31 +0100
Hello,
I've just writte a hotkey wrapper for cocoa, but it has a problem.
Cocoa is consuming hotkey events. I have to explicitly call carbon
event receiving function, but this incercepts with cocoa's and cocoa
app's responsiveness is getting worse and worse. So, the question, is
there a way how to steal all keyboard events from cocoa app and
filter them and then return them back to cocoa app? I'd probably only
need to find a hotkey event and this event push back into event
queue, dispatch it using carbon event handler and throw the original
hotkey event way.
thanks,
tomas
--
# Tomas Zahradnicky, Jr
# The Czech Technical University
# FEL-CTU, Prague