hello everybody
So I'm using:
linux mint 16 - 64 bit.
sfml2.0
code::blocks
GNU GCC compiler
so I will press a button then about one second after it will register I pressed the button, then about one second after I stop pressing the button it will register that the button has stopped being pressed, this also happens for mouse events.
this is an examaple of what I use:
if (event.type == sf::Event::MouseButtonPressed)
{
if (event.key.code == sf::Mouse::Left)
{
//do stuff
}
}
oh and the lag gets longer the longer the program is running.
I compiled it on window 8 using code blocks and mingw and this problem was not present.
Thankyou for any help.