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
This commit is contained in:
parent
4472f81469
commit
b31495fa01
@ -133,10 +133,10 @@ private :
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
bool myKeys[Key::Count]; ///< Array containing the state of all keyboard keys
|
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 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 myMouseX; ///< Mouse position on X
|
||||||
int myMouseY; ///< Mouse position on Y
|
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
|
} // namespace sf
|
||||||
|
Loading…
Reference in New Issue
Block a user