Detecting if a key is held not just pressed down

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
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Detecting if a key is held not just pressed down

Post by thesmileman »

Hey Just wondering if someone could show me how to detect if a key is held down not just pressed. I would like to move a node in a certain direction when the user presses a key but I want to keep moving the node until the key is released or another key is pressed.
fretnoize
Posts: 43
Joined: Sun Feb 01, 2004 4:57 am
Location: Los Angeles

Post by fretnoize »

there is a great tutorial/how to for that here: http://irrlicht.sourceforge.net/phpBB2/ ... .php?t=808
Post Reply