SFML community forums
Help => Window => Topic started by: Srejv on January 18, 2008, 06:41:47 pm
-
Why is axis the same as buttons?
sf::Event::JoyMove.Axis
is the same as
sf::Event::JoyButton.Button
What I mean is it gives the same ouput. Shouldn't JoyButton.Button give like -1 or something when just tilting an axis and JoyMove.Axis return -1 if I'm pressing a button?
-
The JoyMove field is valid only when receiving a JoyMove event.
The same for JoyButton.