How to use your PS3 controller in Left 4 Dead PC

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.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • .Shinoda
    Availability
    Offline
    Points Level
    Drudge
    2,233 points
    Exemplary Feedback Level
    Helper
    5 EF's
    Account Age Level
    Elder
    6 years old
    Clearance Level
    Member
    5 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?

    User Title
    Dulce et decorum est pro patri
  • iWirthless
    Availability
    Offline
    Points Level
    Beggar
    966 points
    Account Age Level
    Veteran
    6 years old
    Clearance Level
    Member
    5 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.

    Vagineer Says: Hurrrrrrr
  • Whisky
    Availability
    Offline
    Points Level
    Beggar
    843 points
    Account Age Level
    Elder
    8 years old
    Clearance Level
    Member
    5 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

    User Title
    God's seen campy bean.
  • TheGrymoire
    Availability
    Offline
    Points Level
    Drudge
    5,762 points
    Exemplary Feedback Level
    Helper
    17 EF's
    Account Age Level
    Elder
    7 years old
    Clearance Level
    Member
    5 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.

    User Title
    Fractals in Nature
  • Whisky
    Availability
    Offline
    Points Level
    Beggar
    843 points
    Account Age Level
    Elder
    8 years old
    Clearance Level
    Member
    5 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!

    User Title
    God's seen campy bean.
  • TheGrymoire
    Availability
    Offline
    Points Level
    Drudge
    5,762 points
    Exemplary Feedback Level
    Helper
    17 EF's
    Account Age Level
    Elder
    7 years old
    Clearance Level
    Member
    5 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.

    User Title
    Fractals in Nature
  • Whisky
    Availability
    Offline
    Points Level
    Beggar
    843 points
    Account Age Level
    Elder
    8 years old
    Clearance Level
    Member
    5 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.

    User Title
    God's seen campy bean.
  • JuTT
    Availability
    Offline
    Points Level
    Beggar
    124 points
    Exemplary Feedback Level
    Helper
    1 EF's
    Account Age Level
    Elder
    8 years old
    Clearance Level
    Member
    5 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.

    User Title
    "To Be Forgotten, Is Worse Tha
  • sooBlown
    Availability
    Offline
    Points Level
    Beggar
    145 points
    Exemplary Feedback Level
    Helper
    18 EF's
    Account Age Level
    Veteran
    6 years old
    Clearance Level
    Member
    5 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.

    User Title
    Blown
  • Availability
    Offline
    Account Age Level
    Elder
    7 years old
    Clearance Level
    Treehouse VIP
    Username
    nicdj94
    5 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

Credits

Key Authors
Hypokill
Unknown
Original Authors
s1nk0
Unknown

Submitter

s1nk0
Availability
Offline
Points Level
Worker
25,824 points
Account Age Level
Elder
8 years old
Clearance Level
Member

s1nk0
(Creator/Co-creator)

Rating

3.5/10
Based off 1 rating(s)

Additional Info

Genre
Coding/Scripting
Difficulty Level
Intermediate

Stats

Post Count
14
ViewCount
26,115
Date Added
5 years ago
Date Modified
5 years ago

Share

Code to use:

More embeddable images

Bookmark and Share