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

Method getInputDeviceName

src/keyboard.cpp:246–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 }
245
246 std::string getInputDeviceName(int deviceId) override {
247 midi::InputDevice* inputDevice = getInputDevice(deviceId);
248 if (!inputDevice)
249 return "";
250 return inputDevice->getName();
251 }
252
253 midi::InputDevice* subscribeInput(int deviceId, midi::Input* input) override {
254 midi::InputDevice* inputDevice = getInputDevice(deviceId);

Callers

nothing calls this directly

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected