- some more unicode input cleanup

This commit is contained in:
Mark Vejvoda
2011-06-26 02:21:45 +00:00
parent 4b6bc7a4a7
commit 675750eda7
5 changed files with 57 additions and 40 deletions

View File

@@ -577,6 +577,7 @@ MouseButton Window::getMouseButton(int sdlButton) {
}
}
/*
char Window::getRawKey(SDL_keysym keysym) {
char result = 0;
// Because Control messes up unicode character
@@ -941,6 +942,7 @@ char Window::getKey(SDL_keysym keysym,bool skipSpecialKeys) {
return result;
}
*/
bool isKeyPressed(SDLKey compareKey, SDL_KeyboardEvent input) {
Uint16 c = 0;