Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ Driver
Method
Driver
src/gamepad.cpp:83–87 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
81
InputDevice devices[16];
82
83
Driver() {
84
for (int i = 0; i < 16; i++) {
85
devices[i].deviceId = i;
86
}
87
}
88
89
std::string getName() override {
90
return
"Gamepad"
;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected