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)
This commit is contained in:
Sam Lantinga
2006-01-19 09:09:32 +00:00
parent e8d968512a
commit 7a839d1e03
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
}
}