]> git.tdb.fi Git - libs/gui.git/blob - source/keyboard.h
Support reconfiguring Windows on the fly
[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 #include "window.h"
13
14 namespace Msp {
15 namespace Input {
16
17 class Keyboard: public Device
18 {
19 public:
20         Keyboard(Graphics::Window &);
21 protected:
22         void key_press(unsigned, unsigned, unsigned);
23         void key_release(unsigned, unsigned);
24 };
25
26 } // namespace Input
27 } // namespace Msp
28
29 #endif