SDL: Tentative fix for buggy keyboards that send ASCII symbols without keysym

This commit is contained in:
pelya
2015-03-22 21:05:18 +02:00
parent eb81aae784
commit f0688ea027
5 changed files with 24 additions and 8 deletions

View File

@@ -188,8 +188,6 @@ extern void SDL_ANDROID_MainThreadPushKeyboardKey(int pressed, SDL_scancode key,
keysym.unicode = unicode;
if( (keysym.unicode & 0xFF80) != 0 )
keysym.sym = SDLK_WORLD_0;
//else if( keysym.sym < 0x80 )
// keysym.unicode = keysym.sym;
if( pressed == SDL_RELEASED )
keysym.unicode = 0;