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.

40 lines
469B

  1. #pragma once
  2. #include "bogaudio.hpp"
  3. extern Model* modelBool;
  4. namespace bogaudio {
  5. struct Bool : Module {
  6. enum ParamsIds {
  7. NUM_PARAMS
  8. };
  9. enum InputsIds {
  10. A_INPUT,
  11. B_INPUT,
  12. NOT_INPUT,
  13. NUM_INPUTS
  14. };
  15. enum OutputsIds {
  16. AND_OUTPUT,
  17. OR_OUTPUT,
  18. XOR_OUTPUT,
  19. NOT_OUTPUT,
  20. NUM_OUTPUTS
  21. };
  22. enum LightsIds {
  23. NUM_LIGHTS
  24. };
  25. Bool() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) {
  26. }
  27. void step() override;
  28. };
  29. } // namespace bogaudio