Skip to content

Commit

Permalink
VITA: Support unicode keyboard events
Browse files Browse the repository at this point in the history
  • Loading branch information
rsn8887 committed Mar 21, 2018
1 parent 744dd94 commit fd2e756
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/video/psp2/SDL_psp2keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,10 @@ SDL_keysym *PSP2_TranslateKey(int scancode, SDL_keysym *keysym, SDL_bool pressed
keysym->sym = translated_keysym;
keysym->unicode = 0;

/*
if (keysym->sym == SDLK_UNKNOWN) {
keysym->sym = asciicode = keytab_normal[scancode];
if (SDL_TranslateUNICODE && pressed && translated_keysym <= 127) {
keysym->unicode = translated_keysym;
}

if (SDL_TranslateUNICODE && pressed) {
keysym->unicode = SDL_AtariToUnicodeTable[asciicode];
}
*/
return(keysym);
}

Expand Down

0 comments on commit fd2e756

Please sign in to comment.