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

Method MidiNoteInput

src/input/midi.cpp:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6
7MidiNoteInput::MidiNoteInput(proto_MidiNoteInput input, std::shared_ptr<MidiDeviceWithChannel> device) : m_input(input), m_device(device)
8{
9}
10bool MidiNoteInput::tickDigital()
11{
12 return m_device->readMidiNote(m_input.note) > 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected