i am having a little problem with the key input on linux 2.6 and Irrlicht 0.9:
I'd like to receive Events if a key is pressed down for the first time, and then again when it is finally released. But the engine seems to be "firing" key events continuously (like when entering a character in a ComboBox and holding the key pressed down and the box fills with that character). So using:
Code: Select all
keyBuff[event.KeyInput.Key] = event.KeyInput.PressedDown
any help would be welcome!
Andreas
P.S.: Just for my defence: I read the following but that didn't solve my problem:
http://irrlicht.sourceforge.net/phpBB2/ ... .php?t=808
http://www.irrforge.org/index.php/Keyboard_Input
http://irrlicht.sourceforge.net/phpBB2/ ... ered#40294
I also tryed to search the API for something like eventReceiver->setNonBuffered() but with no luck...