HOWTO: Play Source Engine Games With A Controller
While Source games do have support for game pads out of the box, you’ll quickly notice the control is digital only if you try setting things up in the button config menu.
- Use the button config menu to set digital responses, including ones from analog sources. E.g., using the 360’s analog triggers to fire and shove.
- Use the Move Forward config to determine what Source thinks your analog sources are. It’ll be along the lines of [X|Y|Z|R|U|V] AXIS [POS|NEG]. You’re interested in the XYZRUV part. Make sure you clear any AXIS mappings from this setting when you are done, or else that axis will use digital control.
- Open up the developer console using the the back-tick key.
- Make sure advanced joystick settings are enabled by typing
- For each analog control you want to assign, use
joy_advaxis[x|y|z|r|u|v] [n]where n is:
- Axis not used
- Move forward/back
- Look up/down (pitch)
- Move left/right (strafe)
- Turn left/right (yaw)
- Be sure all extraneous axes are set to 0.
- If you want inverted look, type
joy_inverty 1. Even though it says “Y” it applies to pitch not the Y axis itself.