src/video/ataricommon/SDL_biosevents.c
changeset 1221 8ef3e7e92a91
parent 1209 a55ac374271c
child 1237 a8068adf156b
equal deleted inserted replaced
1220:ca2f0da7b708 1221:8ef3e7e92a91
   180 	else
   180 	else
   181 		keysym->sym = keymap[scancode];
   181 		keysym->sym = keymap[scancode];
   182 
   182 
   183 	keysym->mod = KMOD_NONE;
   183 	keysym->mod = KMOD_NONE;
   184 	keysym->unicode = 0;
   184 	keysym->unicode = 0;
   185 	if (pressed && (asciicode!=0)) {
   185 	if (SDL_TranslateUNICODE && pressed) {
   186 		keysym->unicode = SDL_AtariToUnicode(asciicode);
   186 		keysym->unicode = SDL_AtariToUnicodeTable[asciicode];
   187 	}
   187 	}
   188 
   188 
   189 	return(keysym);
   189 	return(keysym);
   190 }
   190 }
   191 
   191