MCPcopy Create free account
hub / github.com/Santroller/Santroller / load

Method load

src/input/toggle.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{
10}
11void ToggleInput::load(proto_ToggleInput config, std::shared_ptr<ToggleDevice> device, std::unique_ptr<Input> input)
12{
13 m_input = std::move(input);
14 m_device = device;
15 m_last_toggled = 0;
16}
17void ToggleInput::setup()
18{
19 m_input->setup();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected