XNA Creators Club Online
Page 1 of 1 (8 items)
Sort Posts: Previous Next

Using PS2 controllers on PC

Last post 12/2/2009 2:44 PM by Kris Steele. 7 replies.
  • 11/15/2009 2:20 PM

    Using PS2 controllers on PC

    Hey folks,

    I'm using my PS2 gamepads on my PC via a USB adapter. They're recognised fine (control panel/game controllers) by windows. XNA is another matter, unable to detect them. I searched the forum and saw an old thread that suggested messing around with a Soopah.XNA.Input.dll, but I failed miserably, couldn't find clear (that is, for me) instructions on how to do it.

    Since it was an old thread, I was wondering if anyone in recent months have come across a solution...that does not involve buying yet another controller :)

    Thanks a bunch
  • 11/15/2009 3:07 PM In reply to

    Re: Using PS2 controllers on PC

    funkybrain:
    that does not involve buying yet another controller

    So you would expect players of whatever you're creating to buy yet another controller?
    Jim Perry - Microsoft XNA MVP
    If people spent a minute searching the forums and reading the FAQs before posting I'd be out of a job.
      Got some XNA Game Studio/XNA Framework development info to share with the community? Put it on the XNA Wiki.
        Please mark posts as Answers or Good Feedback when appropriate.
  • 12/1/2009 4:54 PM In reply to

    Re: Using PS2 controllers on PC

    err... I'm not sure I made my statement clear.

    What I was trying to say is: is there a way to make my PS2 controller work so I can test gamepad input, or do I have to buy an XBOX controller?

    As for me, I don't think I understood your statement !? Of course I don't expect anyone to buy anything, what made you think that?
  • 12/1/2009 5:17 PM In reply to

    Re: Using PS2 controllers on PC

    You can use DirectInput if you want for your PC game. But no, if you want your game to use the XNA framework's Input method and libraries, you'll have to but a 360 gamepad.
  • 12/1/2009 5:33 PM In reply to

    Re: Using PS2 controllers on PC

    Google give me 2 project that give you a wrapper to use a DirectInput gamepad in XNA: xnadirectinput and dxiwrapper. I tried using a ps2 gamepad + usb adapter + wrapper for a little while but it's well worth it to just buy a wired 360 controller.
  • 12/1/2009 6:09 PM In reply to

    Re: Using PS2 controllers on PC

    You don't even need to get an official Microsoft brand 360 controller.  I'm using this and it works perfectly fine: Madcatz 360 Controller: Chill
  • 12/2/2009 2:21 PM In reply to

    Re: Using PS2 controllers on PC

    (sigh) ok then, guess I'll add it to santa claus' basket :)

    Thanks for your time everyone, much appreciated.
  • 12/2/2009 2:44 PM In reply to

    Re: Using PS2 controllers on PC

    If you're planning a PC release, you really should setup your game to support DirectInput either on your own or via one of the wrappers suggested earlier.

    If you're doing an Xbox release, you'll be really glad you have an Xbox controller... now you can play just like you were playing on the Xbox (including multiplayer if you get several controllers). I do probably 90% of my testing on my PC (much quicker to debug to PC than Xbox) and mostly just use the Xbox to test some storage features and make sure performance stays at 60 fps.
Page 1 of 1 (8 items) Previous Next