How to use your PS3 controller in Left 4 Dead PC

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending s1nk0 points.
  • Post: Give s1nk0 your thoughts on this Tutorial.
  • Vote: Help s1nk0 win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

How to use your PS3 controller in Left 4 Dead PC.

This only works for 32-bit Windows.


This tutorial is for people who want to use a Playstation 3 controller to play Left 4 Dead on the PC, either because said people don't have an X360 or just prefer the PS3 controller.
You will need:
A PS3 controller (of course)
USB to Mini-USB cable (should've came with your PS3)

Left 4 Dead for the PC
and an open USB port


1) First off, you will need to install the PS3 drivers for your computer. You can get it here (XP) or here (Vista). Extract the files anywhere and run "libusb-win32-filter-bin-0.1.10.1.exe". This will install the drivers you need.

2) Now, find the file called "ps3sixaxis_en.exe" and run it. Once you run it, you should get a small prompt window shortly. This is normal. After, reboot.

3) Once you've restated your computer, plug your PS3 controller in to your PC with the USB cable. To check that the controller is properly working, go to Control Panel > Game Controllers. You should see "PLAYSTATION 3 CONTROLLER OK". Now, click properties and test the controller's buttons and sticks to see if they respond.

It should look something like this:


Now, if you don't see the controller responding, you may have to calibrate it. Just click the settings tab and click "Calibrate..."

4) After all that's done, you need to install this custom controller config, so Left 4 Dead will recognize the controller in game. Feel free to change button configuration to your liking.

unbindall // Prevent mouse/keyboard control when gamepad is in use (to prevent autoaim exploit)

joystick 1
joy_advanced "1" // use advanced joystick options (allows for multiple axes)

joy_name "L4D Xbox360 Joystick Configuration"
joy_advaxisx 3 // x-axis controls GAME_AXIS_SIDE (strafing left and right)
joy_advaxisy 1 // y-axis controls GAME_AXIS_FORWARD (move forward and back)
joy_advaxisz 4 // z-axis is treated like a button
joy_advaxisr 2 // r-axis controls GAME_AXIS_PITCH (look up and down)
joy_advaxisu 0 // u-axis controls GAME_AXIS_YAW (look left and right)
joy_advaxisv 0 // v-axis is unused
joy_forwardsensitivity -1.0 // movement sensitivity
joy_sidesensitivity 1.0
joy_forwardthreshold 0.1 // movement dead zone settings
joy_sidethreshold 0.1
joy_pitchsensitivity 1.0 // look sensitivity
joy_yawsensitivity -1.5
joy_pitchthreshold 0.0 // look dead zone settings
joy_yawthreshold 0.0

joy_inverty2 0

joy_variable_frametime 1
joy_autoaimdampenrange 0.85
joy_autoaimdampen 0.5
joy_lowend 0.65
joy_lowmap 0.15
joy_accelscale 3.0
joy_accelmax 4.0
joy_response_move 5
joy_response_look 1
joy_autoaimdampen 0.3
joy_autoaimdampenrange 0.85
joyadvancedupdate // advanced joystick update allows for analog control of move and look

// Alternate control 2
cmd2 bind "0" "slot10"
cmd2 bind "1" "slot1"
cmd2 bind "2" "slot2"
cmd2 bind "3" "slot3"
cmd2 bind "4" "slot4"
cmd2 bind "5" "slot5"
cmd2 bind "6" "slot6"
cmd2 bind "7" "slot7"
cmd2 bind "8" "slot8"
cmd2 bind "9" "slot9"
cmd2 bind "a" "+moveleft"
cmd2 bind "c" "+voicerecord"
cmd2 bind "d" "+moveright"
cmd2 bind "e" "+use"
cmd2 bind "f" "impulse 100"
cmd2 bind "h" "motd"
cmd2 bind "m" "chooseteam"
cmd2 bind "q" "lastinv"
cmd2 bind "r" "+reload"
cmd2 bind "s" "+back"
cmd2 bind "t" "impulse 201"
cmd2 bind "u" "messagemode2"
cmd2 bind "w" "+forward"
cmd2 bind "x" "+mouse_menu QA"
cmd2 bind "y" "messagemode"
cmd2 bind "z" "+mouse_menu Orders"
cmd2 bind "`" "toggleconsole"
cmd2 bind "SPACE" "+jump"
cmd2 bind "TAB" "+showscores"
cmd2 bind "ESCAPE" "cancelselect"
cmd2 bind "SHIFT" "+speed"
cmd2 bind "CTRL" "+duck"
cmd2 bind "F1" "Vote Yes"
cmd2 bind "F2" "Vote No"
cmd2 bind "F5" "jpeg"
cmd2 bind "MOUSE1" "+attack"
cmd2 bind "MOUSE2" "+attack2"
cmd2 bind "MOUSE3" "+zoom"
cmd2 bind "MWHEELUP" "invprev"
cmd2 bind "MWHEELDOWN" "invnext"

// controller1 bindings, change the commands in the second quotes
+jlook // Enable joystick look
bind "JOY1" "+showscores;Vote No" // (select) - Shows everybody's scores
bind "JOY11" "toggle_duck" // (L1) - Duck
bind "JOY2" "+mouse_menu Orders" // (L3) - Look
bind "JOY3" "+zoom" // (R3) - Zoom with scope
bind "JOY4" "Vote Yes" // (start) - Pause
bind "JOY9" "+attack2" // (L2) - Melee
bind "JOY10" "+attack" // (R2) - Attack main weapon
bind "JOY16" "+use" // ([]) - Use
bind "JOY17" "cancelselect"
bind "JOY13" "switch" // (Triangle) - Switch from Primary to Secondary
bind "JOY15" "+jump" // (X) - Jump
bind "JOY5" "impulse 100" // (D-Pad UP) - Flashlight
bind "JOY6" "slot4" // (D-Pad Right) - Medkit
bind "JOY7" "slot5" // (D-Pad Down) - Pills
bind "JOY8" "slot3" // (D-Pad Left) - Explosive
bind "JOY14" "+reload" // (O) button - Reload
echo PS3 CONTROLS LOADED!


The controller buttons may vary for you, so be sure to adjust it when you need to.

Save the following config as "PS3.CFG" and place it in your C:\Program Files\Steam\steamapps\common\left 4 dead\left4dead\cfg.

Now, add the following lines to your "Autoexec.cfg" file. If one doesn't exist, create one:

exec ps3.cfg
alias switch prim
alias prim "slot1;alias switch sec"
alias sec "slot2;alias switch prim"


6) Start up Left 4 Dead and test your new controller! Enjoy!

The only problem I ran into with this controller is that it tends to sway your aim around a bit, but it's really not noticeable.

Comments

  • .Shinoda avatar
    .Shinoda Offline
    Member Joined 8 years ago
    2,233 points Ranked 1913rd
    Report post
    7 years ago:
    Posted by iWirthless

    Pros: Yay PS3 Controller!
    Cons: Missing Steps
    Code is ABSOLUTELY WRONG, spent an hour editing controls to work properly
    Improvements: REPLY, I asked for help, and nothing came back when you were ONLINE!
    Pity and shame shall smite you.

    Can you tell us what the code is then?
    Dulce et decorum est pro patri avatar
    Mantra
    Dulce et decorum est pro patri
  • iWirthless avatar
    iWirthless Offline
    Member Joined 8 years ago
    946 points Ranked 4491st
    Report post
    7 years ago:
    Pros: Yay PS3 Controller!
    Cons: Missing Steps
    Code is ABSOLUTELY WRONG, spent an hour editing controls to work properly
    Improvements: REPLY, I asked for help, and nothing came back when you were ONLINE!
    Pity and shame shall smite you.

    3.5/10

    Vagineer Says: Hurrrrrrr
  • Whisky avatar
    Whisky Offline
    Member Joined 10 years ago
    881 points Ranked 4774th
    Report post
    7 years ago:
    Posted by TheGrymoire

    Posted by Whisky

    Posted by TheGrymoire

    Posted by Whisky

    Ive already done this on CS:S, and it basicly sucks.....

    why would u play with a controller if a mouse is way better.


    I could see the advantage. My PC is currently hooked up to the TV in the house, so there is very little room for a mouse to be used, if any. So you can sit back, chillax in a sofa with this instead of being stuck somewhere awkward with a mouse.


    thats why they invented these!

    **Pic**

    Ya my stuff is wireless too, but what I am saying is that when you are leaning back in a sofa, you have nowt to use a mouse surface besides a cushion.


    you've got a point there.
    its fun to try it out and play for some times but after that its getting hard
    God's seen campy bean. avatar
    Mantra
    God's seen campy bean.
  • TheGrymoire avatar
    Member Joined 9 years ago
    5,787 points Ranked 720th
    Report post
    7 years ago:
    Posted by Whisky

    Posted by TheGrymoire

    Posted by Whisky

    Ive already done this on CS:S, and it basicly sucks.....

    why would u play with a controller if a mouse is way better.


    I could see the advantage. My PC is currently hooked up to the TV in the house, so there is very little room for a mouse to be used, if any. So you can sit back, chillax in a sofa with this instead of being stuck somewhere awkward with a mouse.


    thats why they invented these!

    **Pic**

    Ya my stuff is wireless too, but what I am saying is that when you are leaning back in a sofa, you have nowt to use a mouse surface besides a cushion.
    Fractals in Nature avatar
    Mantra
    Fractals in Nature
  • Whisky avatar
    Whisky Offline
    Member Joined 10 years ago
    881 points Ranked 4774th
    Report post
    7 years ago:
    Posted by TheGrymoire

    Posted by Whisky

    Ive already done this on CS:S, and it basicly sucks.....

    why would u play with a controller if a mouse is way better.


    I could see the advantage. My PC is currently hooked up to the TV in the house, so there is very little room for a mouse to be used, if any. So you can sit back, chillax in a sofa with this instead of being stuck somewhere awkward with a mouse.


    thats why they invented these!

    God's seen campy bean. avatar
    Mantra
    God's seen campy bean.
  • TheGrymoire avatar
    Member Joined 9 years ago
    5,787 points Ranked 720th
    Report post
    7 years ago:
    Posted by Whisky

    Ive already done this on CS:S, and it basicly sucks.....

    why would u play with a controller if a mouse is way better.


    I could see the advantage. My PC is currently hooked up to the TV in the house, so there is very little room for a mouse to be used, if any. So you can sit back, chillax in a sofa with this instead of being stuck somewhere awkward with a mouse.
    Fractals in Nature avatar
    Mantra
    Fractals in Nature
  • Whisky avatar
    Whisky Offline
    Member Joined 10 years ago
    881 points Ranked 4774th
    Report post
    7 years ago:
    Ive already done this on CS:S, and it basicly sucks.....

    why would u play with a controller if a mouse is way better.

    God's seen campy bean. avatar
    Mantra
    God's seen campy bean.
  • JuTT avatar
    JuTT Offline
    Member Joined 10 years ago
    124 points Ranked 21742nd
    Report post
    7 years ago:
    ADD THAT IT SHOULDN'T BE USED FOR VISTA!!!

    Vista isn't compatable with the Libusb driver and will fuck up ALL of your usb drivers and you'll be stuck.
    Mantra
    "To Be Forgotten, Is Worse Tha
  • sooBlown avatar
    sooBlown Offline
    Member Joined 8 years ago
    145 points Ranked 19641st
    Report post
    7 years ago:
    For people having trouble with calibrating, download this first,
    http://www.mediafire.com/?sharekey=9906dd74c43889700c814df2efeadc50e04e75f6e8ebb871

    Then unzip it and install the exe file, after install run the program and a screen should pop up saying "Driver OK", and a button option "Load Driver". Press "Load Driver", nothings going to happen, just close out and then retry calibrating your controller.

    Also I found that in your cfg file the buttons are labeled wrong and here is a list I've made up and checked.

    JOY1 - triangle
    JOY2 - circle
    JOY3 - x
    JOY4 - square
    JOY5 - L2
    JOY6 - R2
    JOY7 - L1
    JOY8 - R1
    JOY9 - Select
    JOY10 - L3
    JOY11 - R3
    JOY12 - Start
    LEFT - D-PAD LEFT
    RIGHT - D-PAD RIGHT
    DOWN - D-PAD DOWN
    UP - D-PAD UP

    great tutorial its fun to use and thanks for sharing.

    Edit:
    For the swaying, to minimize it when doing the calibration you should do the actions quick and keep the controller in the steady position, i used my leg haha. The Z-axis test you move the right analog stick left to right, and second its a full rotation, i did it at a fast pace and barley have any swaying.
    Blown avatar
    Mantra
    Blown
  • nicdj94 avatar
    nicdj94 avatar Offline
    Member Joined 9 years ago
    Report post
    7 years ago:
    Dude! Its from PS3-Hacks lol, too sad that i didn't make this Tutorial. Couse i knew this in years! Lol...
    Banned

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
Hypokill
Unknown
Original Authors
s1nk0
Unknown

Submitter

s1nk0 avatar
s1nk0 avatar Offline
Member Joined 10 years ago
1,821 points Ranked 2389th
17 medals 1 legendary 2 rare
  • 10 years a member Medal icon
  • 6 years a member Medal icon
  • Submitted 5 Tools Medal icon
  • Tooler of the Month, December 2014 Medal icon
  • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
  • Submitted 10 Maps Medal icon

s1nk0 avatar
s1nk0

Creator
Send a Private Message to the submitter

Category

Details

Genre
Coding/Scripting
Difficulty Level
Intermediate Difficulty

Stats

Posts
14
Views
35,055
Date Added
7 years ago
Apr 18 2009 @ 2:14am UTC
Date Modified
7 years ago
Aug 3 2009 @ 3:59pm UTC

Rating

3.5
Votes
1

Ratings Breakdown

CriterionAvg.VotesRange
Overall 3.5 1 -

More Tutorials from s1nk0