I have a problem with key presses when several ( >= 3 ) keys are down. Depending on the combination, the third key press event is never received.
My code :
Code: Select all
if (event.EventType == EET_KEY_INPUT_EVENT)
{
if (event.KeyInput.PressedDown) {
// Not reached
}
}
Is there a better, portable way to manage key events so :
- they occur only when the state of the key is changing
- it is possible to press more than 2 or 3 keys in the same time
If not, would you recommend a simple and portable Input library that manages mouse, keyboard and gamepad ?