title: SDL doesn't detect xbox controller on linux or windows
body: <p>Here's my code</p>
  
  <pre><code>#include &lt;SDL.h&gt;
  #include &lt;iostream&gt;
  
  int main(int argc,char **argv)
  {
      std::cout&lt;&lt;SDL_NumHaptics()&lt;&lt;std::endl&lt;&lt;SDL_NumJoysticks()&lt;&lt;std::endl;
      return 0;
  }
  </code></pre>
  
  <p>When I run it it says 0 joysticks and 0 haptic devices, this happens on both linux and windows. On linux I have xboxdrv installed and it detects the controller and on windows I also have the necessary drivers installed. SFML does detect the controller as a joystick on linux, however, I would much rather use SDL, due to its support for haptic devices and openGL profiles.</p>