Mercurial > sdl-ios-xcode
comparison src/events/SDL_keyboard.c @ 1760:a9be6a3a51d1
Patch from Dmitry Yakimov to fix building on WinCE
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 03 May 2006 04:11:38 +0000 |
parents | 97d0966f4bf7 |
children | 782fd950bd46 c121d94672cb b1fd24d62e55 |
comparison
equal
deleted
inserted
replaced
1759:724cca1bda2d | 1760:a9be6a3a51d1 |
---|---|
57 /* Set default mode of UNICODE translation */ | 57 /* Set default mode of UNICODE translation */ |
58 SDL_EnableUNICODE(DEFAULT_UNICODE_TRANSLATION); | 58 SDL_EnableUNICODE(DEFAULT_UNICODE_TRANSLATION); |
59 | 59 |
60 /* Initialize the tables */ | 60 /* Initialize the tables */ |
61 SDL_ModState = KMOD_NONE; | 61 SDL_ModState = KMOD_NONE; |
62 SDL_memset(keynames, 0, sizeof(keynames)); | 62 SDL_memset((void*)keynames, 0, sizeof(keynames)); |
63 SDL_memset(SDL_KeyState, 0, sizeof(SDL_KeyState)); | 63 SDL_memset(SDL_KeyState, 0, sizeof(SDL_KeyState)); |
64 video->InitOSKeymap(this); | 64 video->InitOSKeymap(this); |
65 | 65 |
66 SDL_EnableKeyRepeat(0, 0); | 66 SDL_EnableKeyRepeat(0, 0); |
67 | 67 |