From b31495fa01475204352fde56c9ea1b51002473cc Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Tue, 5 Jan 2010 19:16:54 +0000 Subject: [PATCH] Fixed number of joysticks in sf::Input (was still 2) git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1323 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/Window/Input.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SFML/Window/Input.hpp b/include/SFML/Window/Input.hpp index 1e8f5c6ce..7d9e1719c 100644 --- a/include/SFML/Window/Input.hpp +++ b/include/SFML/Window/Input.hpp @@ -133,10 +133,10 @@ private : //////////////////////////////////////////////////////////// bool myKeys[Key::Count]; ///< Array containing the state of all keyboard keys bool myMouseButtons[Mouse::Count]; ///< Array containing the state of all mouse buttons - bool myJoystickButtons[2][32]; ///< Array containing the state of all joysticks buttons + bool myJoystickButtons[4][32]; ///< Array containing the state of all joysticks buttons int myMouseX; ///< Mouse position on X int myMouseY; ///< Mouse position on Y - float myJoystickAxis[2][Joy::Count]; ///< Joysticks position on each axis + float myJoystickAxis[4][Joy::Count]; ///< Joysticks position on each axis }; } // namespace sf