Update joystick identification
| 94 | |
| 95 | // Update joystick identification |
| 96 | void updateIdentification() |
| 97 | { |
| 98 | auto sstr = getStream(); |
| 99 | sstr << "Joystick " << m_index << ":"; |
| 100 | auto& [label, value] = m_texts.at("ID"); |
| 101 | label.setString(sstr.str()); |
| 102 | value.setString(sf::Joystick::getIdentification(m_index).name); |
| 103 | } |
| 104 | |
| 105 | // Update joystick axes |
| 106 | void updateAxes() |
nothing calls this directly
no test coverage detected