-/* $Id$
-
-This file is part of libmspgbase
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef MSP_GBASE_KEYBOARD_H_
-#define MSP_GBASE_KEYBOARD_H_
+#ifndef MSP_INPUT_KEYBOARD_H_
+#define MSP_INPUT_KEYBOARD_H_
+#include <msp/graphics/window.h>
#include "device.h"
-#include "../gbase/window.h"
namespace Msp {
namespace Input {
class Keyboard: public Device
{
private:
- Graphics::Window &window;
+ Graphics::EventSource &source;
public:
- Keyboard(Graphics::Window &);
+ Keyboard(Graphics::EventSource &);
virtual std::string get_button_name(unsigned) const;
private: