title: How to differentiate a D-pad movement from a Joystick movement?
body: <p>I need to have two different behaviors, one for D-pad and another for the analog Joystick (on the same gamepad).</p>
  
  <p>The problem is that on the <code>onGenericMotionEvent</code> callback, both have the same information on the <code>MotionEvent</code> and I am not able to distinguish them.</p>
  
  <pre><code>// d-pad
  MotionEvent { action=ACTION_MOVE, id[0]=0, x[0]=-1.5259255E-5, y[0]=-1.5259255E-5, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=151637936, downTime=0, deviceId=5, source=0x1000010 }
  
  // analog joystick
  MotionEvent { action=ACTION_MOVE, id[0]=0, x[0]=0.64507514, y[0]=0.710811, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=151650802, downTime=0, deviceId=5, source=0x1000010 }
  </code></pre>
  
  <p>Is it possible to identify which kind of input is being used? How?</p>