comparison src/events/SDL_keyboard.c @ 1659:14717b52abc0 SDL-1.3

Merge trunk-1.3-3
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 08:18:28 +0000
parents 97d0966f4bf7
children 782fd950bd46 c121d94672cb b1fd24d62e55
comparison
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
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