KeyInput from User?

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
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

KeyInput from User?

Post by DarkWhoppy »

Maybe I keep over-looking it. Is there a way (with the GUI) to get keyboard input from the user/player?
Boogle
Posts: 162
Joined: Fri Nov 21, 2003 3:16 pm
Location: Toronto, Canada

Post by Boogle »

Seems like you can do guienv->setKeyFocus(guiElement); to set the focus, followed by guienv->postEventFromUser(event); in your own event receiver method. The event will then be passed to your keyFocus element.
Post Reply