#ifndef PLATFORM_WIN32_KEYBOARD_H #define PLATFORM_WIN32_KEYBOARD_H #include #include #include namespace sp { class Win32Keyboard : public Keyboard { public : void init(); bool isKeyDown(Keyboard::Key key); // Translate a Win32 Event to sp::Event, Called from Win32EventQueue static bool handleMessage(MSG message, Event& event); protected : void update(InputModule *input); protected : bool m_btnState[Keyboard::Key::NUM_KEYS]; bool m_hasFocus; }; } // namespace sp #endif /* PLATFORM_WIN32_KEYBOARD_H */