Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Glossary:Controller"

From PCGamingWiki, the wiki about fixing PC games
m (→‎XInput vs. DirectInput: added date reference)
Line 43: Line 43:
  
 
==Linux==
 
==Linux==
Most Windows controllers are natively supported by the major Linux distributions.
+
Most Windows controllers are natively supported by the major Linux distributions. Controller support is dependent on whether the kernel was compiled with the xpad module, or whether the user-space program [http://pingus.seul.org/~grumbel/xboxdrv/ xboxdrv] has been installed and configured. Most distributions' default kernel is complied with xpad, which supports many (but not all) Windows controllers out of the box, so no work is required. Xboxdrv may be used in place of xpad for better support but it is not used by default.
 +
 
 +
For non-Windows controllers, workarounds may be required.
  
 
==DOS/DOSBox==
 
==DOS/DOSBox==

Revision as of 15:33, 11 November 2013

This page is a stub: it lacks content and/or basic article components. You can help to expand this page by adding an image or additional information.
File:Xbox-360-S-Controller.png
The Xbox 360 Controller is very popular for PC gaming, with almost all recent games supporting it natively.

Controllers are an alternative to keyboard and mouse input. Almost all recently released PC games support controllers, although many only support the newer XInput controllers by default.

For information on specific controllers, see the controller category.

Windows

XInput vs. DirectInput

XInput is Microsoft's new API for Xbox 360-compatible controllers such as the official Xbox 360 Controller.

DirectInput is Microsoft's older controller API (used with nearly all games until 2006). XInput controllers operate in DirectInput mode for these games. Logitech's F310 and F710 gamepads have a physical switch which should be set to "D" for these games.

DirectInput controllers with XInput-only games

x360ce makes DirectInput controllers show up as XInput controllers for games that only support XInput.

Customize XInput controller settings

Use Durazno to adjust axis inversion, vibration strength and various other settings.

XInput force feedback vibration in DirectInput games

XInput controllers do not support the force feedback vibration support built into some older games. To re-enable this, install Force Feedback Driver for XInput (for Windows 8 use the Windows 7 version). Once this is installed many games will see the controller as force feedback-compatible and so those settings can then be used.

Some games will still not see the controller as force feedback-compatible even with this driver installed.

Using multiple controllers with older games

Some older games do not allow you to select which controller to use, instead using the first controller reported by Windows; if you have multiple controllers the one you want may not be selected. To set the first controller open Game Controllers (joy.cpl) and click the Advanced button, then choose the controller you want. This setting is only relevant if you have multiple controllers connected; if you only connect one controller at a time it will always be reported as the first controller.

Some special controllers (e.g. certain HOTAS setups) report the separate physical pieces as individual controllers, making it difficult to use the entire controller with games that can only see a single controller. For these controllers you will need to set the main portion of the controller as the preferred device and then use another method to set up controls for the other parts (see controller with keyboard-only game).

Non-PC controllers (PlayStation 3, Wii, etc.)

  • For PlayStation 3 controllers see PlayStation 3 DualShock Controller.
  • For Wii controllers use FreePIE or GlovePIE with a compatible Bluetooth adapter.
  • For other controllers use a USB adapter. The controller should then show up as a basic controller.

Controller with keyboard-only games

Some games have limited or no controller support built in. This mostly affects older games but there are also some recent releases with no native support, notably BioWare's Mass Effect and Dragon Age games.

See controller with keyboard-only game for solutions.

Mac OS X

Most Windows controllers are natively supported on Mac OS X. For XInput controllers, use Tattiebogle's Mac OS X Driver.

Linux

Most Windows controllers are natively supported by the major Linux distributions. Controller support is dependent on whether the kernel was compiled with the xpad module, or whether the user-space program xboxdrv has been installed and configured. Most distributions' default kernel is complied with xpad, which supports many (but not all) Windows controllers out of the box, so no work is required. Xboxdrv may be used in place of xpad for better support but it is not used by default.

For non-Windows controllers, workarounds may be required.

DOS/DOSBox

DOS games have very limited controller support and are usually only able to see a fixed number of buttons and axes; many DOS games don't support controllers at all. The DOSBox Mapper can be used to rearrange button assignment and also bind keyboard/mouse inputs to additional buttons/axes. The number of buttons/axes available for mapping can depend on the DOSBox joystick setting; see the DOSBox Joystick section for details.