Replaced old keyIdentifiers by keyCodes