* removed warning from Glut "unknown key" when pressing the 'paragraph'

key.
This commit is contained in:
Ton Roosendaal 2003-07-10 20:45:17 +00:00
parent ad6ddb4689
commit 5d118d2b62

@ -104,7 +104,7 @@ static GHOST_TKey convertKey(int rawCode)
*/ */
static UInt32 dummy= 0; static UInt32 dummy= 0;
Handle transData = (Handle) GetScriptManagerVariable(smKCHRCache); Handle transData = (Handle) GetScriptManagerVariable(smKCHRCache);
char vk = KeyTranslate(transData, rawCode, &dummy); unsigned char vk = KeyTranslate(transData, rawCode, &dummy);
/* Map numpad based on rawcodes first, otherwise they /* Map numpad based on rawcodes first, otherwise they
* look like non-numpad events. * look like non-numpad events.
*/ */
@ -179,7 +179,7 @@ static GHOST_TKey convertKey(int rawCode)
} }
} }
printf("GHOST: unknown key: %d %d\n", vk, rawCode); // printf("GHOST: unknown key: %d %d\n", vk, rawCode);
return GHOST_kKeyUnknown; return GHOST_kKeyUnknown;
} }