I’m randomly looking through the code base and I have a question about
Gamepad. From what I can see, the main loop for the program is
run() in Winodow.
On line 357 in
gamepad::step(); is called. I’m familiar with OO (Java), though not with C++. Is this a static call? It doesn’t seem like it should be, but I don’t seen where an instance of
gamepad would have been created so I’m assuming at this point it is…
step() polls the state of any connected controller and generates MIDI events for any changes in state. Does this mean that the controller is being polled when connected even if it’s not being used as a Driver for any of the Core MIDI modules? I doubt it’s a taking up many CPU cycles, but it seems like it shouldn’t be?