Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_win32keyboard.c @ 2724:0e2b65f32298
Added Wacom API headers.
FIXME: Dynamically load the Wacom API functions from wintab32.dll
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 26 Aug 2008 05:26:28 +0000 |
parents | 3202e4826c57 |
children | f23ebf1ddac4 |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32keyboard.c Tue Aug 26 02:47:26 2008 +0000 +++ b/src/video/win32/SDL_win32keyboard.c Tue Aug 26 05:26:28 2008 +0000 @@ -54,20 +54,26 @@ /* Make sure the alpha scancodes are correct. T isn't usually remapped */ if (MapVirtualKey('T', MAPVK_VK_TO_VSC) != alpha_scancodes['T' - 'A']) { - printf - ("Fixing alpha scancode map, assuming US QWERTY layout!\nPlease send the following 26 lines of output to the SDL mailing list <sdl@libsdl.org>, including a description of your keyboard hardware.\n"); +#if 0 + printf("Fixing alpha scancode map, assuming US QWERTY layout!\nPlease send the following 26 lines of output to the SDL mailing list <sdl@libsdl.org>, including a description of your keyboard hardware.\n"); +#endif for (i = 0; i < SDL_arraysize(alpha_scancodes); ++i) { alpha_scancodes[i] = MapVirtualKey('A' + i, MAPVK_VK_TO_VSC); +#if 0 printf("%d = %d\n", i, alpha_scancodes[i]); +#endif } } if (MapVirtualKey(VK_NUMPAD0, MAPVK_VK_TO_VSC) != keypad_scancodes[0]) { - printf - ("Fixing keypad scancode map!\nPlease send the following 10 lines of output to the SDL mailing list <sdl@libsdl.org>, including a description of your keyboard hardware.\n"); +#if 0 + printf("Fixing keypad scancode map!\nPlease send the following 10 lines of output to the SDL mailing list <sdl@libsdl.org>, including a description of your keyboard hardware.\n"); +#endif for (i = 0; i < SDL_arraysize(keypad_scancodes); ++i) { keypad_scancodes[i] = MapVirtualKey(VK_NUMPAD0 + i, MAPVK_VK_TO_VSC); +#if 0 printf("%d = %d\n", i, keypad_scancodes[i]); +#endif } }