x86 win32 keyboard handling.