diff --git a/ion/src/sdl/shared/events_keyboard_platform.cpp b/ion/src/sdl/shared/events_keyboard_platform.cpp index 0efe4f631..93f76908d 100644 --- a/ion/src/sdl/shared/events_keyboard_platform.cpp +++ b/ion/src/sdl/shared/events_keyboard_platform.cpp @@ -7,8 +7,6 @@ namespace Ion { namespace Events { - - static Event eventFromSDLKeyboardEvent(SDL_KeyboardEvent event) { if (event.keysym.mod & KMOD_CTRL) { switch (event.keysym.sym) { @@ -88,11 +86,6 @@ static Event eventFromSDLKeyboardEvent(SDL_KeyboardEvent event) { case SDLK_BACKSPACE: return Backspace; } - /* - if (event.keysym.unicode >= 32 && event.keysym.unicode < 127) { - return sEventForASCIICharAbove32[event.keysym.unicode-32]; - } - */ return None; } @@ -122,7 +115,6 @@ static Event eventFromSDLTextInputEvent(SDL_TextInputEvent event) { return None; } - Event getPlatformEvent() { SDL_Event event; while (SDL_PollEvent(&event)) {