You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
693B

  1. #include "cf.hpp"
  2. namespace rack_plugin_cf {
  3. struct DAVE : Module {
  4. enum ParamIds {
  5. NUM_PARAMS
  6. };
  7. enum InputIds {
  8. NUM_INPUTS
  9. };
  10. enum OutputIds {
  11. NUM_OUTPUTS
  12. };
  13. DAVE() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS) {}
  14. void step() override;
  15. };
  16. void DAVE::step() {
  17. }
  18. struct DAVEWidget : ModuleWidget {
  19. DAVEWidget(DAVE *module);
  20. };
  21. DAVEWidget::DAVEWidget(DAVE *module) : ModuleWidget(module) {
  22. setPanel(SVG::load(assetPlugin(plugin, "res/DAVE.svg")));
  23. }
  24. } // namespace rack_plugin_cf
  25. using namespace rack_plugin_cf;
  26. RACK_PLUGIN_MODEL_INIT(cf, DAVE) {
  27. Model *modelDAVE = Model::create<DAVE, DAVEWidget>("cf", "DAVE", "Dave", BLANK_TAG);
  28. return modelDAVE;
  29. }