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

Method USBButtonInput

src/input/usb.cpp:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18{
19}
20USBButtonInput::USBButtonInput(proto_USBButtonInput input, std::shared_ptr<UsbHostInterface> device) : m_input(input), m_device(device)
21{
22}
23bool USBButtonInput::tickDigital()
24{
25 return m_device->tick_digital(m_input.button);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected