MCPcopy Create free account
hub / github.com/VCVRack/Rack / getName

Method getName

src/gamepad.cpp:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 int16_t ccValues[128] = {};
21
22 std::string getName() override {
23 const char* name = glfwGetJoystickName(deviceId);
24 if (!name)
25 return "";
26 return name;
27 }
28
29 void step() {
30 if (!glfwJoystickPresent(deviceId))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected