src/video/ataricommon/SDL_ikbdevents.c
changeset 1221 8ef3e7e92a91
parent 1209 a55ac374271c
child 1312 c9b51268668f
equal deleted inserted replaced
1220:ca2f0da7b708 1221:8ef3e7e92a91
   239 	else
   239 	else
   240 		keysym->sym = keymap[scancode];
   240 		keysym->sym = keymap[scancode];
   241 
   241 
   242 	keysym->mod = KMOD_NONE;
   242 	keysym->mod = KMOD_NONE;
   243 	keysym->unicode = 0;
   243 	keysym->unicode = 0;
   244 	if (pressed && (asciicode!=0)) {
   244 	if (SDL_TranslateUNICODE && pressed) {
   245 		keysym->unicode = SDL_AtariToUnicode(asciicode);
   245 		keysym->unicode = SDL_AtariToUnicodeTable[asciicode];
   246 	}
   246 	}
   247 
   247 
   248 	return(keysym);
   248 	return(keysym);
   249 }
   249 }
   250 
   250