Steam Support Wiki
 
 

Using an XBox 360 Controller with Source Games

 
 

http://support.steampowered.com/cgi-bin/steampowered.cfg/php/enduser/std_adp.php?p_faqid=421

该页面正在建设中。请访问 技术支持页面 以获得更多技术支持信息(英文)。

该页面的内容由 Steam 支持部门和 Steam 用户社区共同维护 - 请小心任何连至外部网站的链接。

Steam 支持部门不会以任何理由向您索取您的 Steam 帐号密码,也绝对不会要求您将您的 Steam 帐号密码输入网站页面。

Interested in assisting with translation? Apply to become a Steam Support Wiki Translator
English content to translate (START)

To make both of the analog sticks work in Source games copy this joystick.cfg file, and put it in the cfg folder. This folder is typically located at:

Half-Life 2:

C:\Program Files\Steam\SteamApps\*USERNAME*\half-life 2\hl2\cfg

Counter-Strike Source:

C:\Program Files\Steam\SteamApps\*USERNAME*\counter-strike source\cstrike\cfg

Day of Defeat Source:

C:\Program Files\Steam\SteamApps\*USERNAME*\day of defeat source\dod\cfg

Half-Life 2 Deathmatch:

C:\Program Files\Steam\SteamApps\*USERNAME*\half-life 2 deathmatch\hl2mp\cfg

Half-Life Source:

C:\Program Files\Steam\SteamApps\*USERNAME*\half-life source\hl1\cfg


Then launch the game, Once the the game is loaded follow the instructions below:

  1. Check the 'Joystick', and 'Joystick Look' boxes under the 'Mouse' tab in the options menu.
  2. Go to Keyboard, Advanced, and check the 'Enable Developers Console (~)' box.
  3. Open the Developer Console with the ~ key, and type: "exec joystick" (without the quotes)


You can then bind the additional keys (such as fire, reload, etc...) using the keyboard menu.

If you would like to use the typical Xbox controller setup, copy the following lines into the top of the config.cfg file for the proper game using notepad. The config.cfg file can be found in the same location referenced above, or alternatively enter each line manually into the developers console.

 bind "JOY1" "+jump"
 bind "JOY2" "+reload"
 bind "JOY3" "+speed"
 bind "JOY4" "+use"
 bind "AUX5" "+attack2"
 bind "AUX6" "+attack"
 bind "AUX7" "impulse 100"
 bind "AUX9" "+duck"
 bind "AUX10" "+zoom"
 bind "AUX29" "lastinv"
 bind "AUX30" "invnext"
 bind "AUX31" "phys_swap"
 bind "AUX32" "invprev"

NOTE: The trigger buttons on the XBox 360 controller are not currently supported by the Source engine. The L and R shoulder buttons should work properly.


(END) English content to translate
Interested in assisting with translation? Apply to become a Steam Support Wiki Translator
 
 
  link: Valve Software MediaWiki Logo