@Override
	public void nativeKeyPressed(NativeKeyEvent e)
	{
		if(e.isMenuKey()) ControlKeys.setKeyPressed(e.getKeyCode()-16, true);
		else if(Constants.KEYS_ENABLED)
		{
			String[] scs = Configuration.getSetting("shortcuts").split("\\|");
			for(byte i=0;i<scs.length;++i)
			{
				if(Byte.parseByte(scs[i].substring(3)) != (byte)e.getKeyCode() || !KeyProcessor.checkMenuKeys(scs[i])) continue;
				KeyProcessor.processShortcut(i);
			}
		}
	}