Renamed KeyEvent enum values to comply with coding standards.