Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello there!
The Tiny Tricks VCV modules are neat, I thought I would take a look at what it would take to upgrade them to work with version 2 of Rack. I opted to update the version to 2.5.0 (skip from 1.5.0 to 2.5.0).
(I used https://vcvrack.com/manual/Migrate2 as a guide)
The actual upgrade was very simple, there were only a few minor changes required as completed in the first commit.
In the second commit I utilized the new configSwitch(), configInput(), configOutput() and configButton() functions to make the right click menu on inputs, outputs and switches have the additional labeling and functionality.
I tested out each module using Rack 2 build Rack-SDK-2.git.219bbaf1-mac (from 10/17/2021).
I also noticed some inconsistencies with the indentation (tabs vs spaces), some spacing around braces and cleaned it up using astyle. I ran astyle with the following
.astylerc
options: