Marioko
11-04-2007 23:30:49
Hi people.. first of all i want to say that MOGRE is the best=Ogre Power + C# Power.
I using in MOIS in buffered mode, if i hold press a key then keyPressed event is trigger, but i only get one event, and i need get events until the key is released. For example:
The "W is pressed" message should be printed many times until key W is released. But is printed one time.
How can i fix this?
Thankss
I using in MOIS in buffered mode, if i hold press a key then keyPressed event is trigger, but i only get one event, and i need get events until the key is released. For example:
public bool keyPressed(KeyEvent e){
if(e.key == KeyCode.KC_W){
Console.WriteLine("W is pressed");
}
}
The "W is pressed" message should be printed many times until key W is released. But is printed one time.
How can i fix this?
Thankss