diff src/video/ataricommon/SDL_atarievents.c @ 1209:a55ac374271c

Added preliminary missingtranslation from Atari to Unicode charset
author Patrice Mandin <patmandin@gmail.com>
date Sun, 01 Jan 2006 19:14:11 +0000
parents 39b5606fa543
children 8ef3e7e92a91
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_atarievents.c	Fri Dec 23 09:40:15 2005 +0000
+++ b/src/video/ataricommon/SDL_atarievents.c	Sun Jan 01 19:14:11 2006 +0000
@@ -127,3 +127,13 @@
 	/* Call choosen routine */
 	this->PumpEvents(this);
 }
+
+Uint16 SDL_AtariToUnicode(Uint8 caracter)
+{
+	/* Translate from Atari charset to Unicode */
+	if ((caracter>=32) && (caracter<=127)) {
+		return (Uint16) caracter;
+	}
+
+	return 0;
+}