Jump to content


SDL Game Controller


3 replies to this topic

#1 so88ccer

    New Member

  • Members
  • PipPip
  • 11 posts

Posted 13 March 2006 - 11:04 PM

Do any of you know if it's possible to use game controllers (like the 360 controller) with SDL? Does SDL support such controllers? I know they support Joysticks - but how about controllers? Thanks!

#2 Mattias Gustavsson

    Senior Member

  • Members
  • PipPipPipPip
  • 413 posts

Posted 14 March 2006 - 09:48 AM

I'm not familiar with SDL myself, but I thought I should point out that it is not possible to get full functionality for the 360 controller on windows by using DirectInput. You have to use the new XInput API to be able to fully utilize it.

#3 geon

    Senior Member

  • Members
  • PipPipPipPip
  • 812 posts

Posted 14 March 2006 - 01:46 PM

Any device that is accessable with DirectInput should work fine with SDL.

#4 so88ccer

    New Member

  • Members
  • PipPip
  • 11 posts

Posted 14 March 2006 - 07:48 PM

But what if the function call within XInput returns a directX handle? I dont see how it would work.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users