git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1325 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
5c68de5e80
commit
9bda3a4ef2
@ -76,7 +76,7 @@ bool Input::IsMouseButtonDown(Mouse::Button button) const
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
bool Input::IsJoystickButtonDown(unsigned int joystick, unsigned int button) const
|
bool Input::IsJoystickButtonDown(unsigned int joystick, unsigned int button) const
|
||||||
{
|
{
|
||||||
if ((joystick < 2) && (button < 32))
|
if ((joystick < 4) && (button < 32))
|
||||||
return myJoystickButtons[joystick][button];
|
return myJoystickButtons[joystick][button];
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user