mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 17:16:19 -05:00
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user