Hi!
I am using SFML2 and I am having a problem with GetInput().IsKeyDown() when two keys are pressed simultaneously, in my case the "Left" and the "Up" arrow keys:
In my code I use the following lines:
...
bool key_l=window.GetInput().IsKeyDown(sf::Key::Left);
bool key_u=window.GetInput().IsKeyDown(sf::Key::Up);
...
Now when I press the left and up arrow simultaneously, both bools above will be set to true (correct), but releasing both keys causes only the key_u to be set to false, not the key_l, which will then stay forever in "true" (not good for a jump n run, obviously :-)
Seems to happen only with specific key combinations though. Dunno, maybe it is my computer, but can I do anything about it?
Thx,
Toby