Changed controls system to use KeyCodes.