Handle mouse/keyboard events with gdx