src/video/gem/SDL_gemevents.c
changeset 1221 8ef3e7e92a91
parent 1209 a55ac374271c
child 1237 a8068adf156b
equal deleted inserted replaced
1220:ca2f0da7b708 1221:8ef3e7e92a91
    81 	else
    81 	else
    82 		keysym->sym = keymap[scancode];
    82 		keysym->sym = keymap[scancode];
    83 
    83 
    84 	keysym->mod = KMOD_NONE;
    84 	keysym->mod = KMOD_NONE;
    85 	keysym->unicode = 0;
    85 	keysym->unicode = 0;
    86 	if (pressed && (asciicode!=0)) {
    86 	if (SDL_TranslateUNICODE && pressed) {
    87 		keysym->unicode = SDL_AtariToUnicode(asciicode);
    87 		keysym->unicode = SDL_AtariToUnicodeTable[asciicode];
    88 	}
    88 	}
    89 
    89 
    90 	return(keysym);
    90 	return(keysym);
    91 }
    91 }
    92 
    92