src/video/ataricommon/SDL_atarievents.c
changeset 1209 a55ac374271c
parent 1079 39b5606fa543
child 1221 8ef3e7e92a91
     1.1 --- a/src/video/ataricommon/SDL_atarievents.c	Fri Dec 23 09:40:15 2005 +0000
     1.2 +++ b/src/video/ataricommon/SDL_atarievents.c	Sun Jan 01 19:14:11 2006 +0000
     1.3 @@ -127,3 +127,13 @@
     1.4  	/* Call choosen routine */
     1.5  	this->PumpEvents(this);
     1.6  }
     1.7 +
     1.8 +Uint16 SDL_AtariToUnicode(Uint8 caracter)
     1.9 +{
    1.10 +	/* Translate from Atari charset to Unicode */
    1.11 +	if ((caracter>=32) && (caracter<=127)) {
    1.12 +		return (Uint16) caracter;
    1.13 +	}
    1.14 +
    1.15 +	return 0;
    1.16 +}