Input when application not active
i am writing a VOIP software for the mac. we're porting our windows code base to mac and one piece of functionality we support on windows is a push-to-talk key that you can press and talk regardless of which application currently has focus. we managed this through directinput and getasynckeystate.
i was wondering how to accomplish this functionality on mac? we use Qt for our UI components. we had tried using SDL however in order to capture the input your window needs to be the active window.
any assistance anyone could give us would be greatly appreciated.
MBP 2.0GHZ, Mac OS X (10.5.4)