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