00001 #ifndef __ROS_KEYBOARD_H__ 00002 #define __ROS_KEYBOARD_H__ 00003 00004 #include <keyboard/Key.h> 00005 #include <SDL.h> 00006 00007 namespace keyboard { 00008 class Keyboard { 00009 public: 00010 Keyboard(void); 00011 ~Keyboard(void); 00012 00013 bool get_key(bool& new_event, bool& pressed, uint16_t& code, uint16_t& modifiers); 00014 00015 private: 00016 SDL_Surface* window; 00017 }; 00018 } 00019 00020 #endif