1
0
Fork 0

include/Spectre/Input/InputEvent.h: Move Key::Type to Keyboard class

This commit is contained in:
Henrik Hautakoski 2020-01-24 17:33:17 +01:00
parent 762d26f368
commit 24c3f14c8c
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
5 changed files with 220 additions and 222 deletions

View file

@ -12,7 +12,7 @@ class Win32Keyboard : public Keyboard
public :
void init();
bool isKeyDown(Key::Type key);
bool isKeyDown(Keyboard::Key key);
static bool handleMessage(MSG message);
@ -22,7 +22,7 @@ protected :
protected :
bool m_btnState[Key::NUM_KEYS];
bool m_btnState[Keyboard::Key::NUM_KEYS];
bool m_hasFocus;
};