| 84 | QString GameController::getProductIDString() const { return getRawProductIDString(); } |
| 85 | |
| 86 | QString GameController::getSerialString() const |
| 87 | { |
| 88 | QString temp = QString(); |
| 89 | #if SDL_VERSION_ATLEAST(2, 0, 14) |
| 90 | if (controller != nullptr) |
| 91 | { |
| 92 | const char *serial = SDL_GameControllerGetSerial(controller); |
| 93 | temp = QString(serial).remove(QRegularExpression("[^A-Za-z0-9]")); |
| 94 | } |
| 95 | #endif |
| 96 | return temp; |
| 97 | } |
| 98 | |
| 99 | QString GameController::getUniqueIDString() const { return getRawUniqueIDString(); } |
| 100 |
nothing calls this directly
no outgoing calls
no test coverage detected