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

Function hasAxis

src/SFML/Window/Joystick.cpp:51–54  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

49
50////////////////////////////////////////////////////////////
51bool hasAxis(unsigned int joystick, Axis axis)
52{
53 return priv::JoystickManager::getInstance().getCapabilities(joystick).axes[axis];
54}
55
56
57////////////////////////////////////////////////////////////

Callers 2

Joystick.test.cppFile · 0.85
updateAxesMethod · 0.85

Calls 1

getCapabilitiesMethod · 0.45

Tested by

no test coverage detected