title: Java using Xbox controller
body: <p>What library would you recommend to hook up my Xbox 360 controller to Java, and be able to read key inputs into keyPressed Event as a KeyEvent.</p>
  
  <p>So I would like something like this</p>
  
  <pre><code>private class KeyInputHandler extends KeyAdapter {
      public void keyPressed(KeyEvent e) {
      }
  }
  </code></pre>
  
  <p>And I want all the controller presses to go into keyPressed.</p>
  
  <p>I would appreciate it even further if you can provide good libraries for PS3 controllers too.</p>