- a little more keyboard fixes to try to bring some consistency to unicode style keyboard events

This commit is contained in:
Mark Vejvoda
2011-03-03 19:33:31 +00:00
parent 330f54e7cb
commit d3feaaddec
2 changed files with 91 additions and 11 deletions

View File

@@ -195,6 +195,8 @@ public:
static void setAllowAltEnterFullscreenToggle(bool value) { allowAltEnterFullscreenToggle = value; }
static bool getAllowAltEnterFullscreenToggle() { return allowAltEnterFullscreenToggle; }
static char getRawKey(SDL_keysym keysym);
protected:
virtual void eventCreate(){}
virtual void eventMouseDown(int x, int y, MouseButton mouseButton){}
@@ -220,6 +222,7 @@ private:
static MouseButton getMouseButton(int sdlButton);
static char getKey(SDL_keysym keysym, bool skipSpecialKeys=false);
static char getNormalKey(SDL_keysym keysym,bool skipSpecialKeys=false);
static void toggleFullscreen();
};