Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Real time input in SFML 2  (Read 4861 times)

0 Members and 1 Guest are viewing this topic.

schwede

  • Guest
Real time input in SFML 2
« 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?

Walker

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Real time input in SFML 2
« Reply #1 on: August 01, 2011, 07:33:45 am »

schwede

  • Guest
Real time input in SFML 2
« Reply #2 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).