]> git.tdb.fi Git - libs/gui.git/blob - source/keyboard.h
Initial revision
[libs/gui.git] / source / keyboard.h
1 /* $Id$
2
3 This file is part of libmspgbase
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GBASE_KEYBOARD_H_
9 #define MSP_GBASE_KEYBOARD_H_
10
11 #include "inputdevice.h"
12
13 namespace Msp {
14
15 class Window;
16
17 namespace Input {
18
19 class Keyboard: public Device
20 {
21 public:
22         Keyboard(Window &);
23 protected:
24         void key_press(unsigned, unsigned, unsigned);
25         void key_release(unsigned, unsigned);
26 };
27
28 } // namespace Input
29 } // namespace Msp
30
31 #endif