Announcement

Collapse
No announcement yet.

360 Joystick - has it been done/can it be done?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 360 Joystick - has it been done/can it be done?

    I was very excited to see that Zdoom has support for a Xbox360 style joystick. I have not been able to get this to work on any of the newer Quake clients though.

    Is this something I would be able to add with quakeC or do you think I would have to get the client source and edit it (or is this impossible and I'm just wasting my time)?

  • #2
    Quake is playable with joystick (at least dp is it) and if the joypad/stick is recognized correctly in Start>Control Panel>Game Controllers section.

    Comment


    • #3
      Look no further than here.....

      x360ce - XBOX 360 Controller emulator - Google Project Hosting

      I had to use it to get 2 player splitscreen + 2 controllers working for Dirt3 PC.

      XBOX 360 Controller emulator is a wrapper library that translates the XInput calls to DirectInput calls, for support non-XInput gamepads in new application (mostly games).

      On top of that, my broseph Sammy that we're friends with IRL, wanted to Quake with a Xbox 360 Controller, and he did JUST that. I garuntee this is what you want, if you need any help just let me know.
      Last edited by Mindf!3ldzX; 10-26-2011, 04:09 PM.
      Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

      Comment


      • #4
        I had 360 controller support in DirectQ for a while, but removed it on account of XInput DLL compatibility problems (MS just can't seem to be consistent between releases here, and code that works with one version breaks horribly with another). Now that the DirectX SDK seems to be settling down on the June 2010 version I might add it again some time; the code is easy enough to do (it's engine code though - you won't be able to do it with QC).

        I could add 360 joystick support too, but I don't have a joystick to test it with and I wouldn't be able to stand over the code or fix any bugs properly. (Actually memory is hazy here and I think that the same code for controllers will handle joysticks too....)

        Last time I got as far as experimenting a little with force-feedback; it's a nice novelty but 360 FF is a little on the weedy side.

        The only thing I'm cautious about is - how to expose it via the menus?
        IT LIVES! http://directq.blogspot.com/

        Comment


        • #5
          Originally posted by MH View Post
          I had 360 controller support in DirectQ for a while, but removed it on account of XInput DLL compatibility problems (MS just can't seem to be consistent between releases here, and code that works with one version breaks horribly with another). Now that the DirectX SDK seems to be settling down on the June 2010 version I might add it again some time; the code is easy enough to do (it's engine code though - you won't be able to do it with QC).

          I could add 360 joystick support too, but I don't have a joystick to test it with and I wouldn't be able to stand over the code or fix any bugs properly. (Actually memory is hazy here and I think that the same code for controllers will handle joysticks too....)

          Last time I got as far as experimenting a little with force-feedback; it's a nice novelty but 360 FF is a little on the weedy side.

          The only thing I'm cautious about is - how to expose it via the menus?


          We both took notice of how it worked then later on we had to setup the controller emulator,lol. Yes, most games allow controllers, but FAIL to operate menu's. Exception, being Street Fighter 4 & SF4 T.E.
          Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

          Comment


          • #6
            when I ran darkplaces, it seemed to just have the standard quake Joystick support, which is pretty useless. You could only look with the left stick, the rightstick wasn't usable at all. No way to adjust the sensitivity. most buttons not recognized.

            --

            I'm guessing the emulator takes the joystick input and turns it into keyboard input??? A little sketchy, but worth a shot.

            ---

            I know the Zdoom is open source and does it perfectly. I've been digging around for that piece of code. when I find it, I will post it.

            Comment


            • #7
              No, it converts XInput calls into DirectInput calls.... The best way to look at it is two different languages,and when a game can't understand the native tounge,you need a translator.


              Pushing button on Xbox 360 controller -> Xinput call occurs -> WRAPPER converts to DirectInput call -> Whatever action the button did,happens.

              atleast, this is my understanding. I didn't really question HOW it works, other than it DOES and DID. hehe
              Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

              Comment


              • #8
                360ce

                I tried it, but it didn't do anything. Maybe I don't understand how it work...

                Comment


                • #9
                  I'll write up a tutorial/instructions later tonite,eating dinner now. Well, I was,now im not.... check back here later on, I'll start doing this now.
                  Last edited by Mindf!3ldzX; 10-26-2011, 05:55 PM.
                  Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

                  Comment


                  • #10
                    Originally posted by Mindf!3ldzX View Post
                    We both took notice of how it worked then later on we had to setup the controller emulator,lol. Yes, most games allow controllers, but FAIL to operate menu's. Exception, being Street Fighter 4 & SF4 T.E.
                    Agreed. It needs proper menu support if it's to be worth doing.

                    Originally posted by Cpt.Tripps.2012 View Post
                    when I ran darkplaces, it seemed to just have the standard quake Joystick support, which is pretty useless. You could only look with the left stick, the rightstick wasn't usable at all. No way to adjust the sensitivity. most buttons not recognized.

                    --

                    I'm guessing the emulator takes the joystick input and turns it into keyboard input??? A little sketchy, but worth a shot.

                    ---

                    I know the Zdoom is open source and does it perfectly. I've been digging around for that piece of code. when I find it, I will post it.
                    The standard Quake joystick/controller code won't work properly with 360 controllers; there are documented limitations:
                    • The left and right trigger buttons will act as a single button, not independently
                    • The vibration effects will not be available
                    • Querying for headset devices will not be available

                    Have a search in Zdoom for anything beginning with "xinput" (case-insensitive) to find the code.
                    IT LIVES! http://directq.blogspot.com/

                    Comment


                    • #11
                      So I had the concept backwards, instead of before mentioned Xbox 360 contoller emulator, you need this.
                      I was thinking Xinput game needs DInput, which is backwards...... Sorry again, haha. Getting PC gaming to work correctly with ANY controller is a pain in the ass,and eventually leads to mish mashes of failed IIRC moments.


                      http://pinnaclegameprofiler.com/

                      On the plus side, it does everything you want.
                      On the minus side, it costs money.

                      If you know what the jolly roger implies.....
                      Last edited by Mindf!3ldzX; 10-26-2011, 06:23 PM.
                      Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

                      Comment


                      • #12
                        pinnaclegameprofiler is really a good program that can add joystick support to almost any game. But yes it costs money, so if you intend to save money, there are alternatives!

                        One very old program called joy2key can do this too, and a still better alternative is xpadder. The latest version of xpadder is not free, but version 5.3 is, and as far as I can tell, that version is good enough for common gaming needs.

                        Comment


                        • #13
                          Thanks a ton for the Free or Shareware alternative suggestions !!
                          Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

                          Comment


                          • #14
                            Originally posted by MH View Post
                            Have a search in Zdoom for anything beginning with "xinput" (case-insensitive) to find the code.
                            Believe me, I'm looking for it!

                            I'm not too worried about the vibration or the headset. I can live without that as long as I don't have to keep killing my wrist with this mouse!

                            Comment


                            • #15
                              ive been using pinnacle for years. it does cost money but they are constantly updating and adding to the software and their customer support is top notch. works great i recommend it for any old game you want to use with any controller

                              Comment

                              Working...
                              X