Controller support is limited to Windows PCs. Although the latest generation of console controllers work immediately with Windows, even the latest generation game controllers such as the PlayStation 3's DualShock 3 require custom drivers.
A previous version of this article detailed the use of MotioninJoy to use your Sony PS3 controller as a joystick on your Windows PC. Unfortunately, MotioninJoy was a proprietary software that has evolved into malware over the years. Fortunately, you do not have to infect your computer because there is an open-source alternative in ScpToolkit. Do not use MotioninJoy.
How to install ScpToolkit
ScpToolkit needs to modify some system drivers for the controller to work, so this is not the safest installation process. Proceed with caution, follow our instructions and do not click on anything you do not understand.
Download the last version from the project's Github page, open the installer and accept the terms and conditions – if you read them, of course. A dialog box containing a list of installation options will appear:
You probably do not need Gamepad Analyzer and Debug Info Collector, but you need to install everything.
The installation process will take a few minutes. You should take this time to find your PS3 controller and plug it in with a USB cable. Once the utility is installed, the toolkit will ask you to run the driver installer. Click "Run" to display a list that should now include your controller.
Click the "Initialize All Connected Devices" button (do not proceed with the next button), let it install, then click "Next." This will configure the controller to be recognized as a PS3 controller and install drivers.
The next screen concerns Bluetooth support, which you may not want because it requires the "sacrifice" of a dedicated Bluetooth dongle. will make you have a very bad time.
If you really want wireless support, you'll have to plug in the sacrificial dongle, make sure it's the ONLY device on the list, then click "Initialize all connected devices".
Otherwise, feel free to click "Next" and skip this process.
The next step is to install a virtual Xbox 360 controller driver, which will make Windows think that your PS3 controller is an Xbox 360 controller. This will make it work for more games.
To install the driver, click "Install Virtual Xbox 360 Controller Driver" and then "Next."
After that, ScpToolkit will want to install a Windows service to manage the communication with the controller.
Click "Install Windows Service" and then "Next". You're done now and you should be able to use your PS3 controller in any game that supports Xbox 360 controllers. It's pretty much all games that support a controller, so go for it. You can also remap the controller buttons to make it work in other games.