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

Method PS2ButtonInput

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

Source from the content-addressed store, hash-verified

18{
19}
20PS2ButtonInput::PS2ButtonInput(proto_PS2ButtonInput input, std::shared_ptr<PS2Device> device) : m_input(input), m_device(device)
21{
22}
23bool PS2ButtonInput::tickDigital()
24{
25 return m_device->readButton(m_input.button);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected