Fix default ui start
[forms.git] / F / F_Linux_Keyboard.H
blob1aa6853e2f749508a69322b48843562d2401bebf
2 #ifndef _F_LINUX_KEYBOARD_H_
3 #define _F_LINUX_KEYBOARD_H_
5 #include <F_Input_Device.H>
7 namespace F {
9  class F_Linux_Keyboard : public F_Input_Device {
11  static F_Linux_Keyboard *this_;
12  bool stored_;
14  static void kbd_handler(void);
15  void mode_restore();
16  void mode_set();  
18  public:
20   F_Linux_Keyboard();
21   ~F_Linux_Keyboard();
22   // this is signal handled input device
23   bool check_for_events(F_Event_t *ev) { return false; }
24   void sigstop() { mode_restore(); }
25   void sigcont() { mode_set(); }
27  };
30 #endif