src/video/windib/SDL_dibevents.c
changeset 1379 c0a74f199ecf
parent 1361 19418e4422cb
child 1402 d910939febfa
equal deleted inserted replaced
1378:dc0e13e7e1ae 1379:c0a74f199ecf
   249 void DIB_InitOSKeymap(_THIS)
   249 void DIB_InitOSKeymap(_THIS)
   250 {
   250 {
   251 	int i;
   251 	int i;
   252 
   252 
   253 	/* Map the VK keysyms */
   253 	/* Map the VK keysyms */
   254 	for ( i=0; i<SDL_TABLESIZE(VK_keymap); ++i )
   254 	for ( i=0; i<SDL_arraysize(VK_keymap); ++i )
   255 		VK_keymap[i] = SDLK_UNKNOWN;
   255 		VK_keymap[i] = SDLK_UNKNOWN;
   256 
   256 
   257 	VK_keymap[VK_BACK] = SDLK_BACKSPACE;
   257 	VK_keymap[VK_BACK] = SDLK_BACKSPACE;
   258 	VK_keymap[VK_TAB] = SDLK_TAB;
   258 	VK_keymap[VK_TAB] = SDLK_TAB;
   259 	VK_keymap[VK_CLEAR] = SDLK_CLEAR;
   259 	VK_keymap[VK_CLEAR] = SDLK_CLEAR;