Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ getDefaultInputDeviceId
Method
getDefaultInputDeviceId
src/gamepad.cpp:103–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
101
}
102
103
int getDefaultInputDeviceId() override {
104
return 0;
105
}
106
107
std::string getInputDeviceName(int deviceId) override {
108
if (!(0 <= deviceId && deviceId < 16))
Callers
1
getDefaultDeviceId
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected