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

Function getAxisPosition

src/SFML/Window/Joystick.cpp:66–69  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

64
65////////////////////////////////////////////////////////////
66float getAxisPosition(unsigned int joystick, Axis axis)
67{
68 return priv::JoystickManager::getInstance().getState(joystick).axes[axis];
69}
70
71
72////////////////////////////////////////////////////////////

Callers 2

Joystick.test.cppFile · 0.85
updateAxesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected