Improved ccKeyCodeToScanCode