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

Function isConnected

src/SFML/Window/Joystick.cpp:37–40  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

35{
36////////////////////////////////////////////////////////////
37bool isConnected(unsigned int joystick)
38{
39 return priv::JoystickManager::getInstance().getState(joystick).connected;
40}
41
42
43////////////////////////////////////////////////////////////

Callers 5

Joystick.test.cppFile · 0.85
updateMethod · 0.85
openMethod · 0.85
openMethod · 0.85
updateValuesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected