title: LibGDX - Get Swipe Up or swipe right etc.?
body: <p><a href="http://imageshack.us/a/img836/2909/swipe1.png">touch area http://imageshack.us/a/img836/2909/swipe1.png</a></p>
  
  <p>In the green area the user can swipe up, right, down, left.
  How can I now get e.g. swipe Up? or swipe Down? or swipe right or swipe left?
  e.g. how to get a String -> input = getSwiped(); -> input is then Up, or right, or down, or left</p>
  
  <p>And the user can touch two buttons. 1 or 2.
  1 is for duck and 2 is for jump.</p>
  
  <p>I want to check this inputs at the same time. The user can touch and also swipe Up at the same moment.</p>
  
  <p>I know there is a GestureDetector. I looked at the code, but no clue how can I use the swipe part.</p>
  
  <p>I know a little bit how to check the buttons. The problem is only here -> How to check the inputs at the same time and how get Swipe Up, or Swipe right etc.</p>
  
  <p>I searched an found how to check Multitouching:</p>
  
  <pre><code>for (int i = 0; i &lt; 10; i++) {
      if (Gdx.input.isTouched(i) == false) continue;
      float x = Gdx.input.getX(i);
      float y = Gdx.graphics.getHeight() - Gdx.input.getY(i) - 1;
      //...
  }
  </code></pre>