1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2015-12-22 17:43:51 +01:00
commit edfc5298e1
252 changed files with 93965 additions and 0 deletions

View file

@ -0,0 +1,28 @@
#ifndef PLATFORM_WIN32_KEYBOARD_H
#define PLATFORM_WIN32_KEYBOARD_H
#include <windows.h>
#include <Spectre/Input/Keyboard.h>
class Win32Keyboard : public Keyboard
{
public :
void init();
bool isKeyDown(Key::Type key);
static bool handleMessage(MSG message);
protected :
void update(InputModule *input);
protected :
bool m_btnState[Key::NUM_KEYS];
bool m_hasFocus;
};
#endif /* PLATFORM_WIN32_KEYBOARD_H */