title: Java KeyPress arrow keys triggers numpad keys
body: <p>When using <code>Robot.keyPress</code> for the KeyEvent <code>VK_UP</code>, the numpad key is triggered rather than the normal arrow key.
  I am trying to write a keyboard emulator that can be used for games etc. Testing with TrackMania I notice that it does not trigger the normal key, but the key on the numpad.</p>
  
  <p>How can I trigger the normal keys using keyPress?</p>
  
  <p>Checking the <a href="http://docs.oracle.com/javase/6/docs/api/java/awt/event/KeyEvent.html#VK_UP" rel="nofollow">API</a>, it is supposed to be the non-numpad arrow key. Which it isnt.</p>
  
  <pre><code>Robot r = new Robot();
  r.keyPress(KeyEvent.VK_UP);
  </code></pre>
  
  <p>This will generate the numpad up key.</p>
  
  <p>If this cannot be done in Java, is there any language that allows it?</p>