#704 fixed BACK button on Android
This commit is contained in:
parent
408100744f
commit
1f748f52aa
|
@ -479,7 +479,9 @@ static void processKeyboard()
|
|||
{
|
||||
if(keyboard[i])
|
||||
{
|
||||
SDL_Keycode keycode = SDL_GetKeyFromScancode(i);
|
||||
SDL_Keycode keycode = i == SDL_SCANCODE_AC_BACK
|
||||
? SDLK_ESCAPE
|
||||
: SDL_GetKeyFromScancode(i);
|
||||
|
||||
for(s32 k = 0; k < COUNT_OF(KeyboardCodes); k++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue