Key Pressed duplicate

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
giuseppegam
Posts: 39
Joined: Thu Jan 11, 2007 2:45 am

Key Pressed duplicate

Post by giuseppegam »

Hi, plase help, y event receiver is receiving Input Key Event doubled.

Code: Select all

if (event.EventType == irr::EET_KEY_INPUT_EVENT&&!event.KeyInput.PressedDown)
{
                 
         	switch(event.KeyInput.Key)
			{
break;                        
                                      
           }//final do switch(event.KeyInput.Key)
         
}// final do if (node != 0 && event.EventType == irr::EET_KEY_INPUT_EVENT&&!event.KeyInput.PressedDown)

vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Search for bool keys and implement that solution.

Note: maybe it is a problem with your keyboard. It seems to have created two posts with the same topic in the same forum. :) Please don't double post.

Travis
Post Reply