Removed the use of old keyCodes