@Override
	public void update() {
		while (Keyboard.next()) {
			if (Keyboard.getEventKeyState()) {
				this.evtSrv.dispatchEvent(new KeyPressedEvent(Keyboard.getEventKey(), Keyboard.getEventCharacter()));
			} else {
				this.evtSrv.dispatchEvent(new KeyReleasedEvent(Keyboard.getEventKey(), Keyboard.getEventCharacter()));				
			}
		}
	}