#define MSP_GBASE_KEYBOARD_H_
#include "inputdevice.h"
+#include "window.h"
namespace Msp {
-
-class Window;
-
namespace Input {
class Keyboard: public Device
{
+private:
+ Graphics::Window &window;
+
public:
- Keyboard(Window &);
-protected:
+ Keyboard(Graphics::Window &);
+
+ virtual std::string get_button_name(unsigned) const;
+private:
void key_press(unsigned, unsigned, unsigned);
void key_release(unsigned, unsigned);
};