mirror of
https://github.com/glest/glest-source.git
synced 2025-08-08 17:36:30 +02:00
- a little more keyboard fixes to try to bring some consistency to unicode style keyboard events
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user