include/Spectre/Input/InputEvent.h: Move Key::Type to Keyboard class
This commit is contained in:
parent
762d26f368
commit
24c3f14c8c
5 changed files with 220 additions and 222 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue