Created
June 3, 2018 16:28
-
-
Save jeremywen/94812afaa4e2351943ffbd1b21ecddbb to your computer and use it in GitHub Desktop.
move knob in vcv rack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void MyModuleWidget::step() { | |
ModuleWidget::step(); | |
MyModule *myModule = dynamic_cast<MyModule*>(module); | |
knobToMove->setValue(myModule->params[MyModule::SOME_INPUT].value); | |
knobToMove->dirty = true; | |
knobToMove->step(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, Jeremy!