Hey,
i'm printing something, if i click on the left mouse button.
But if i press the key 'D' the left mouse button is executing.
if (event.mouseButton.button == sf::Mouse::Left) { std::cout << "MouseClick" << std::endl; } |
If i click 'D' it prints in the console MouseClick....
Whats the reason?