title: Getting PS3 controller input in Unity3D
body: <p>I want my PS3 controller to control my unity game, and so far it isn't going well. I have it plugged into my computer via the USB cable it came with. My computer <em>did not install any drivers when I plugged it in,</em> but it did make a sound and Unity seems to have detected it, printing <code>Joystick Connected (controller name here)</code></p>
  
  <p>Unfortunately, beyond that the controller does absolutely nothing. I have gone to the input menu and have adjusted input according to this map: <a href="http://forum.unity3d.com/threads/ps3-button-map.89288/" rel="nofollow noreferrer">http://forum.unity3d.com/threads/ps3-button-map.89288/</a>
  <a href="https://i.stack.imgur.com/4iw4E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4iw4E.png" alt="enter image description here"></a></p>
  
  <p>but still get nothing. Not a single button does anything.</p>
  
  <p>I should also mention if this helps, this is how I'm getting input:</p>
  
  <pre><code>void FixedUpdate()
  {
      float movehorizontal = Input.GetAxis("Horizontal");
      float movevertical = Input.GetAxis("Vertical");
      Vector3 movement = new Vector3(movehorizontal, 0, movevertical);
      rb.AddForce(movement * speed);
  }
  </code></pre>