1 #ifndef MSP_GLTK_SYSTEMKEYBOARDINPUT_H_
2 #define MSP_GLTK_SYSTEMKEYBOARDINPUT_H_
4 #include <msp/input/keyboard.h>
5 #include "inputmethod.h"
6 #include "mspgltk_api.h"
11 class MSPGLTK_API SystemKeyboardInput: public InputMethod, public sigc::trackable
14 Input::Keyboard &keyboard;
15 unsigned modifier_state;
18 SystemKeyboardInput(Root &, Input::Keyboard &);
21 bool key_press(unsigned);
22 bool key_release(unsigned);
23 bool character(StringCodec::unichar);