Dinput Vs Xinput



02-17-2019, 02:56 PM

Download World of Joysticks XInput Emulator - Emulate an XInput gamepad using any DirectInput device and play games that only offer support for Xbox controllers, with this easy-to-use tool. XInput is newer and DirectInput is deprecated. XInput has the advantage that you don't have to rebind your controller because the layout is automatically correct. However XInput is also more limited than DirectInput as it can only support up to 4 controller at a time and does't support controller that have more buttons/axes than a 360 controller.

If you have ever wanted to have a DInput controller and a XInput controller work with the same game controller profile at the same time try this:
Example. Normally a button mapping for two controllers looks something like this.
For Button A
`Button 1` | `Button A`
The button 1 is from my DInput Power A Gamecube controller, the Button A is from the XInput Xbox 360 controller.
To make them both appear and register with Dolphin regardless of which one is the active device or on at the time. I now use this:
For Button A
`DInput/0/Wireless Gamepad:Button 1` | `XInput/0/Gamepad:Button A`
------------------------------
Short how To:
In your controller setup window. Map the buttons for the first controller so for example the Xbox360 controller. It should have XInput/0/Gamepad in the Device section of the controller setup. Once done mapping your buttons, right click on each button you just mapped, to open the configure input menu. In here, put: XInput/0/Gamepad: or XInput/1/Gamepad: or whatever the Device name happens to be before the controller button you mapped in.
Now, turn on the other controller or plug in the other controller, in my example I have a Power A Wireless Gamecube controller. This shows up for me as a DInput/0/Wireless/Gamepad. When I map the buttons for this one I use the |OR. Then put DInput/0/Wireless/Gamepad: in front of the buttons I just mapped for the DInput controller and vwalla both controllers work and it doesn't matter which Device is the active device.
This might seem silly to some, but for me this is a solution that has made a huge difference in my enjoyment of my system. Running a front end, it makes a big difference.
In my setup, the xbox controller is the main controller that the front end is setup with, the only time I have an issue is when I want to use gamecube controllers for gamecube. By doing it this way, when I navigate to dolphin and start the game with the 360 controller, I can then pick up my gamecube controller and just start playing the game. Before hand I had to open the menus and fiddle with it with a keyboard and mouse to switch the profile to my Power A controller.
Just sharing with the community, this was a huge breakthrough for me, hope this helps someone else out if they are in the same boat. If this has already been covered somewhere else, my apologies for the duplication.
How to use a Console Controller On a PC

There’s little argument against the mouse and keyboard as the best way to play classic PC genres like first-person shooters and real-time strategy games. But the mainstream gaming world is dominated by gaming console titles that aren’t designed for a keyboard and mouse. Using a console controller on a PC solves this problem neatly.

Unlike an actual console, it’s not as simple as plugging in whatever controller you have handy and just pressing start. Unfortunately, it can take a little legwork to make your controller work on a PC. In this article, I’ll go over some of the controller options available out there and how you can set them up to work with your PC.

I’m not going to cover controllers for retro-gaming such as the Nintendo 64 controller. Only modern video game controllers.

We’ll be going over the following options:

  • PC-specific controllers
  • PS3 and Xbox 360 controllers
  • PS4 and Xbox One controllers

Table of Contents

Made-for-PC Controllers

Before the Xbox 360 and Playstation 3 era, PC gamers already had gamepads of their own. In fact, joysticks and gamepads have been around for a long time. The first ever gamepad for the IBM PC and its clones was the Gravis PC Gamepad released back in 1991.

For the most part, PC gamepads worked pretty great, but they didn’t have a standard so games didn’t necessarily support them natively.

With the coming of DirectX and it’s component DirectInput, things became a little more reliable. Gamepad makers also started copying the Playstation Dualshock design, which is more or less the template for the buttons on a “standard” controller these days.

You can still use PC gamepads just fine with older games that support DirectInput, but most modern PC games have moved on to Xinput, which is what the Xbox controllers use.

Dinput vs Xinput

To make it as simple as possible, games that support Xinput work natively with the Xbox 360 controller. They will usually show button prompts that match the controller. If a game only supports Xinput, as many do, your DirectInput controller just won’t work with that game.

That is unless you use something like x360ce which makes the computer think your old gamepad is actually an Xbox 360 controller.

Tester

You can also buy gamepads that have a switch to toggle between the two types of input, but unless you want to play older games, Xinput should be all you need.

PS3 and Xbox 360 controllers

The easiest to use console controller on a PC has to be the Xbox 360 controller. It comes in a wired and wireless variety and the method to get both working is a little different.

The X360 Method

If you have a wired Xbox 360 controller and are running a modern version of Windows (Seven and up) then all you have to do is plug it into a free USB port and you’re done.

That’s it.

It’s not that surprising I guess, given that Windows is built to work with this controller.

Tester

When it comes to the wireless version, things are slightly trickier. While Windows does natively support the wireless version, it needs a special hardware receiver for it. You’ll need to buy one, but after that, it’s also just a matter of plugging it in.

The PS3 Method

Getting a PS3 controller to work has been quite a pain in the past, but now there’s software available that makes it pretty easy to get up and running.

You can run it wired or wireless via Bluetooth, but in either case you need to install the right software so that Windows will talk to the device.

Here’s what you need to do:

  • Plug the controller into your PC with the USB charging cable
  • Let Windows finish any automatic driver installations
  • Download and install the official Xbox 360 driver
  • Install the SCP driver package
  • Run the “ScpToolkit Driver Installer” as administrator
  • Check all boxes and select the right Dualshock 3 for you (e.g. Bluetooth)
  • Click install

After this you should simply be able to plug in the Dualshock 3 and it will just work.

PS4 and Xbox One controllers

The latest console controllers are also the most comfortable and feature-rich. Thankfully, they also enjoy the best support in Windows as well.

Dinput Vs Xinput

The PS4 Method

Arguably one of the best controllers today, the Dualshock 4 that come with the PS4 needed the same sort of mild hacking to work on PC as the PS3 version. That’s all changed now with official support from Sony for Windows 10.

Dinput Vs Xinput

All you need to do is buy the official receiver and you are good to go.

Xinput

If you don’t feel like paying out more, then there’s always DS4Windows.

Dinput Vs Xinput

Both are pretty straightforward. Just plug in and install. You should be good to go.

The Xbone Method

As with the X360 controller, using an Xbox One controller with Windows is easy. It has everything built in.

Unlike the X360 controller, there’s no wired version so you’ll have to connect wirelessly.

Here I have some good news and some bad news.

The good news is that you don’t need to buy a receiver if you only want to connect a single controller. You can use your PC’s existing Bluetooth.

The bad news is that only some Xbone controllers support Bluetooth. Microsoft has a little guide to help you tell if yours has the feature.

Enjoy Using a Console Controller on a PC!

That should give you enough info to let you use a console controller on a PC. There are so many games ported from the big consoles that simply have to be played with a console gamepad to really enjoy them. In fact, if you have a decent PC I’d say this is the best way to enjoy those games. Even better than on the consoles themselves!

Now that you have your console controller on a PC, why not take some time to fine tune the graphics?

While using a console controller on a PC is a blast, maybe you’re looking for some old-school keyboard action instead?

IMAGE CREDITS

Gravis Gamepad By Tosiabunio (Own work) [CC BY 3.0 (http://creativecommons.org/licenses/by/3.0)], via Wikimedia Commons

Dualshock 3 By Alphathon (Own work) [CC BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0) or GFDL (http://www.gnu.org/copyleft/fdl.html)], via Wikimedia Commons

Xbox Elite controller By Gamingforfun365 (This was photographed.) [GFDL (http://www.gnu.org/copyleft/fdl.html) or CC BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons

All other images are Public Domain

Xinput Tester Pc

Rate this post

More Tech Posts