Updated CSFML and SFML.Net to the new input classes
This commit is contained in:
parent
566699f912
commit
15f6eca815
54 changed files with 1503 additions and 955 deletions
|
@ -53,7 +53,7 @@ bool Joystick::HasAxis(unsigned int joystick, Axis axis)
|
|||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
bool Joystick::IsButtonPressed(unsigned int joystick, int button)
|
||||
bool Joystick::IsButtonPressed(unsigned int joystick, unsigned int button)
|
||||
{
|
||||
return priv::JoystickManager::GetInstance().GetState(joystick).Buttons[button];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue