First commit

This commit is contained in:
nastys
2019-07-06 22:51:56 +02:00
commit 321ecdf8b7
162 changed files with 19606 additions and 0 deletions
@@ -0,0 +1,27 @@
#include "KeyboardBinding.h"
namespace TLAC::Input
{
KeyboardBinding::KeyboardBinding(BYTE keycode) : Keycode(keycode)
{
}
KeyboardBinding::~KeyboardBinding()
{
}
bool KeyboardBinding::IsDown()
{
return Keyboard::GetInstance()->IsDown(Keycode);
}
bool KeyboardBinding::IsTapped()
{
return Keyboard::GetInstance()->IsTapped(Keycode);
}
bool KeyboardBinding::IsReleased()
{
return Keyboard::GetInstance()->IsReleased(Keycode);
}
}