Integrated KeyCode and ScanCode support for Windows