OMOTE/Platformio/HAL/HardwareModules/KeyPressAbstract.cpp
MatthewColvin 414f711373 Add KeyPress Abstract and a KeyPress Simulator
as beginning stages for forwarding key events to the UI.
2023-09-29 11:52:48 -05:00

5 lines
194 B
C++

#include "KeyPressAbstract.hpp"
KeyPressAbstract::KeyPressAbstract(
std::function<bool(KeyPressAbstract::KeyEvent)> aKeyEventHandler)
: mKeyEventHandler(std::move(aKeyEventHandler)) {}