SFML community forums

Help => Window => Topic started by: schwede on August 01, 2011, 04:34:24 am

Title: Real time input in SFML 2
Post by: schwede on August 01, 2011, 04:34:24 am
I've been using SFML 2 and I want to check if multiple keys are down at the same time. I know that with SFML 1.6 you can use sf::Input and sf::Window::GetInput but they aren't in SFML 2. Is this just a feature that is yet to be implemented or is there another way to do this?
Title: Real time input in SFML 2
Post by: Walker on August 01, 2011, 07:33:45 am
http://sfml-dev.org/forum/viewtopic.php?t=5250
Title: Real time input in SFML 2
Post by: schwede on August 02, 2011, 04:19:07 am
OK thanks I found my answer there. What I needed was something like sf::Keyboard::IsKeyPressed(sf::Keyboard::Left).