MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetGridControllerCols

Method GetGridControllerCols

Source/StepSequencer.cpp:386–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386int StepSequencer::GetGridControllerCols()
387{
388 if (mGridControlTarget->GetGridController())
389 return mGridControlTarget->GetGridController()->NumCols();
390 if (mPush2Connected)
391 return 8;
392 return 8;
393}
394
395Vec2i StepSequencer::ControllerToGrid(const Vec2i& controller)
396{

Callers

nothing calls this directly

Calls 2

GetGridControllerMethod · 0.80
NumColsMethod · 0.45

Tested by

no test coverage detected