- bugfix for filtering out non printable keys

This commit is contained in:
Mark Vejvoda
2011-06-28 01:25:14 +00:00
parent 945c2aa66b
commit f5b15bd402
8 changed files with 73 additions and 11 deletions

View File

@@ -125,7 +125,7 @@ public:
static void setupGraphicsScreen(int depthBits=-1, int stencilBits=-1, bool hardware_acceleration=false, bool fullscreen_anti_aliasing=false);
static const bool getIsFullScreen() { return isFullScreen; }
static void setIsFullScreen(bool value) { isFullScreen = value; }
static SDL_keysym getKeystate() { return keystate; }
//static SDL_keysym getKeystate() { return keystate; }
Window();
virtual ~Window();
@@ -197,7 +197,7 @@ private:
bool isKeyPressed(SDLKey compareKey, SDL_KeyboardEvent input);
SDLKey extractKeyPressed(SDL_KeyboardEvent input);
bool isAllowedInputTextKey(SDLKey key);
}}//end namespace