Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP

This is a collaborative effort between Alex Volkov and John Popplewell.
Thanks guys!  (Fixes bug #39)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401256
This commit is contained in:
Sam Lantinga 2006-01-19 09:09:32 +00:00
parent d32b3a376f
commit e63977fbad
6 changed files with 76 additions and 11 deletions

View file

@ -73,6 +73,8 @@ static void PrintKey(SDL_keysym *sym, int pressed)
/* This is a Latin-1 program, so only show 8-bits */
if ( !(sym->unicode & 0xFF00) )
printf(" (%c)", sym->unicode);
else
printf(" (0x%X)", sym->unicode);
#endif
}
}