DEV_kbd_gen_scancode() is called instead of DEV_kbd_put_scancode(). This change enables the support for different scancode sets. The win32 scancodes are now converted to BX_KEY_* values (partially copied from gui/win32.cc)