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.
|
- #pragma once
- #include "app/common.hpp"
- #include "app/ParamWidget.hpp"
-
-
- namespace rack {
-
-
- /** A switch that is turned on when held and turned off when released.
- Consider using SVGButton if the switch simply changes the state of your Module when clicked.
- */
- struct MomentarySwitch : virtual ParamWidget {
- /** Don't randomize state */
- void randomize() override {}
- void onDragStart(event::DragStart &e) override;
- void onDragEnd(event::DragEnd &e) override;
- };
-
-
- } // namespace rack
|