Let me introduce you to cvRange.hpp.
cvRange.hpp is a Configurable Voltage Range for any VCV Rack Module. With only a few lines of code users can select a voltage range for your module. Designed for sequencers, modulation sources or anything else that generates voltages.
Users can select from a list of preset ranges or can customize the range to be any value they like:
Tooltips and edit window display voltages matching the current range:
cvRange.hpp is released under GPL-3.0 and contained in a single header file.
I created this while working on an update for my modules GlassPane and OneShot. I thought this functionality might be something others find useful so I extracted it into its own header file.