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

Method load

src/input/cycle.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected