Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
05188b91eThis file is pinned to the selected release. Download the original to open it in your design tool.
#include "KeyboardDriverStub.hpp"
namespace Driver
{
bool KeyboardDriverStub::tick()
{
return true;
}
bool KeyboardDriverStub::onInitialize()
{
return true;
}
bool KeyboardDriverStub::onStart()
{
return true;
}
bool KeyboardDriverStub::onStop()
{
return true;
}
bool KeyboardDriverStub::onReset()
{
return true;
}
KeyboardKeyState KeyboardDriverStub::getKeyState(const KeyboardKeyIdentifier key) const
{
KeyboardKeyState state = keyState[static_cast<std::uint8_t>(key)];
return state;
}
}