MCPcopy Create free account
hub / github.com/AntiMicroX/antimicrox / getRawVendorString

Method getRawVendorString

src/gamecontroller/gamecontroller.cpp:123–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123QString 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
139QString GameController::getRawProductIDString() const
140{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected