Mercurial > sdl-ios-xcode
comparison test/checkkeys.c @ 1253:7c7ddaf195bf
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)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 19 Jan 2006 09:09:32 +0000 |
parents | be9c9c8f6d53 |
children | 782fd950bd46 c121d94672cb |
comparison
equal
deleted
inserted
replaced
1252:57be1c741b8b | 1253:7c7ddaf195bf |
---|---|
71 printf(" (%c)", sym->unicode); | 71 printf(" (%c)", sym->unicode); |
72 #else | 72 #else |
73 /* This is a Latin-1 program, so only show 8-bits */ | 73 /* This is a Latin-1 program, so only show 8-bits */ |
74 if ( !(sym->unicode & 0xFF00) ) | 74 if ( !(sym->unicode & 0xFF00) ) |
75 printf(" (%c)", sym->unicode); | 75 printf(" (%c)", sym->unicode); |
76 else | |
77 printf(" (0x%X)", sym->unicode); | |
76 #endif | 78 #endif |
77 } | 79 } |
78 } | 80 } |
79 print_modifiers(); | 81 print_modifiers(); |
80 printf("\n"); | 82 printf("\n"); |