comparison src/video/windib/SDL_dibevents.c @ 1480:0a2bd6507477

More Win64 updates
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Mar 2006 05:21:32 +0000
parents 4aac8563c296
children 21b1fbb53f4a
comparison
equal deleted inserted replaced
1479:993ef9ff4688 1480:0a2bd6507477
390 #else 390 #else
391 BYTE keystate[256]; 391 BYTE keystate[256];
392 Uint16 wchars[2]; 392 Uint16 wchars[2];
393 393
394 GetKeyboardState(keystate); 394 GetKeyboardState(keystate);
395 if (SDL_ToUnicode(vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1) 395 if (SDL_ToUnicode((UINT)vkey, scancode, keystate, wchars, sizeof(wchars)/sizeof(wchars[0]), 0) == 1)
396 { 396 {
397 keysym->unicode = wchars[0]; 397 keysym->unicode = wchars[0];
398 } 398 }
399 #endif /* NO_GETKEYBOARDSTATE */ 399 #endif /* NO_GETKEYBOARDSTATE */
400 } 400 }