Changed mask from 0x00FF to 0x007F to prevent a possible overflow in scancode_to_keycode.
Updating for Windows tests.