SFML community forums

Help => Window => Topic started by: julen26 on October 14, 2011, 04:14:25 pm

Title: SFML 2 Events
Post by: julen26 on October 14, 2011, 04:14:25 pm
I've always used SFML 1.6, but I recently started with SFML2. After compiling and building it, I'm trying to port my project to SFML2 but I have problems with events.

I would like to know wich is the equivalent of sf::Input class on SFML2, I want to check if a certain key is pressed at any time in the game.

Thanks.
Title: SFML 2 Events
Post by: Laurent on October 14, 2011, 04:16:05 pm
sf::Keyboard, sf::Mouse and sf::Joystick.