856
Window / Re: Key combinations in SFML
« on: January 11, 2013, 04:01:53 pm »
What's wrong with checking with sf::Keyboard if ctrl is pressed when processing the MouseButtonPressed event? (or/and the opposite, check with sf::Mouse inside the keyPressed event)
Only one action will be triggered, unless you release mouse click and click again of course.
Or do you want it to happen only when both events are triggered at the same frame? (highly unlikely to happen...)
Only one action will be triggered, unless you release mouse click and click again of course.
Or do you want it to happen only when both events are triggered at the same frame? (highly unlikely to happen...)