MCPcopy Create free account
hub / github.com/SFML/SFML / getButtonCount

Function getButtonCount

src/SFML/Window/Joystick.cpp:44–47  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

42
43////////////////////////////////////////////////////////////
44unsigned int getButtonCount(unsigned int joystick)
45{
46 return priv::JoystickManager::getInstance().getCapabilities(joystick).buttonCount;
47}
48
49
50////////////////////////////////////////////////////////////

Callers 2

Joystick.test.cppFile · 0.85
updateButtonsMethod · 0.85

Calls 1

getCapabilitiesMethod · 0.45

Tested by

no test coverage detected