| 121 | } |
| 122 | |
| 123 | QString GameController::getRawVendorString() const |
| 124 | { |
| 125 | QString temp = QString(); |
| 126 | |
| 127 | if (controller != nullptr) |
| 128 | { |
| 129 | Uint16 tempVendor = SDL_GameControllerGetVendor(controller); |
| 130 | char buffer[50]; |
| 131 | sprintf(buffer, "%u", tempVendor); |
| 132 | |
| 133 | temp = QString(buffer); |
| 134 | } |
| 135 | |
| 136 | return temp; |
| 137 | } |
| 138 | |
| 139 | QString GameController::getRawProductIDString() const |
| 140 | { |
nothing calls this directly
no outgoing calls
no test coverage detected