Mac OS X Keyboard Capture Problems

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
andreas542
Posts: 4
Joined: Sun Jan 06, 2008 12:56 pm
Location: Bath, UK
Contact:

Mac OS X Keyboard Capture Problems

Post by andreas542 »

Ok so I'm following tutorial 4 on the Irrlicht sourceforge page, which is in part creating an event receiver and recording keyboard input.

The code compiles and runs fine, but I can't get the device window to have keyboard focus, whenever I press any keys on the keyboard they are input into other windows, such as the code editor or the console window, even if I click the device window etc.

I'm convinced it's not a code problem, but rather that the device window won't grab focus. Any ideas on fixing this?

I'm using Cocoa, Carbon and OpenGL framework on XCode 3.2.2.

Thanks.
Post Reply