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

Author Topic: SFML 2 Events  (Read 1138 times)

0 Members and 1 Guest are viewing this topic.

julen26

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • http://julen26.blogspot.com
SFML 2 Events
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32502
    • View Profile
    • SFML's website
    • Email
SFML 2 Events
« Reply #1 on: October 14, 2011, 04:16:05 pm »
sf::Keyboard, sf::Mouse and sf::Joystick.
Laurent Gomila - SFML developer

 

anything