@Override
	public void actionPerformed(ControllerEvent event)
	{
		// TODO make sure this works
		/*if(currentFocus()!=null)
			if(currentFocus() instanceof ControllerListener)
			{
				inputEventQueue.add(new Pair<ControllerListener,ControllerEvent>((ControllerListener)this.currentFocus(),event));
			}
		//*/
		for(int i=0;i<currentFocus.size();i++)
		{
			
			if(event.source().id()==i)
			{
				Focusable focus=currentFocus.get(i);
				if(focus instanceof ControllerListener)
				{
					inputEventQueue.add(new Pair<ControllerListener,ControllerEvent>((ControllerListener)focus,event));
				}
			}
		}
	}