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

Method updateValues

examples/joystick/Joystick.cpp:130–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 void updateValues()
131 {
132 m_present = sf::Joystick::isConnected(m_index);
133 if (m_present)
134 {
135 // Update the label-value sf::Text objects based on the current joystick state
136 updateIdentification();
137 updateAxes();
138 updateButtons();
139 }
140 }
141
142 void clearValues()
143 {

Callers 1

mainFunction · 0.80

Calls 1

isConnectedFunction · 0.85

Tested by

no test coverage detected