1
Feature requests / Re: More Joystick Axis/Buttons
« on: January 12, 2017, 11:47:34 am »
Hello, I'm new on this forum. Sorry if I unnecessarily bumped this thread.
This stuff is exactly the reason I joined this forum. Specifically, I'd like SFML to support more joystick axes. Joystick.hpp defines an enum sf::Joystick::Axis that has 8 defined values. I think it would make more sense to address the axes by integers. Some game controllers, such as modern PlayStation gamepads, have axes for accelerometer and every button. A couple of tens of axes.
The restriction on the number of axes in SFML is the only reason that comes to my mind why I could prefer using SDL rather than SFML in a C++ 3D game.
This stuff is exactly the reason I joined this forum. Specifically, I'd like SFML to support more joystick axes. Joystick.hpp defines an enum sf::Joystick::Axis that has 8 defined values. I think it would make more sense to address the axes by integers. Some game controllers, such as modern PlayStation gamepads, have axes for accelerometer and every button. A couple of tens of axes.
The restriction on the number of axes in SFML is the only reason that comes to my mind why I could prefer using SDL rather than SFML in a C++ 3D game.