

Joyadvancedupdate // advanced joystick update allows for analog control of move and lookĬmd2 bind "A_BUTTON" "+jump +menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menusĬmd2 bind "B_BUTTON" "+reload" // (B) button - ReloadĬmd2 bind "Y_BUTTON" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost.Ĭmd2 bind "R_TRIGGER" "+attack" // RT - Main weapon - Primary triggerĬmd2 bind "L_TRIGGER" "+attack2" // LT - MeleeĬmd2 bind "R_SHOULDER" "+lookspin" // RB - Fast 180 spinĬmd2 bind "L_SHOULDER" "toggle_duck" // LB - Duck - is also used to give objects to people.Ĭmd2 bind "STICK1" "vocalize smartlook" // LS - vocalizeĬmd2 bind "STICK2" "+zoom" // RS click - Rifle Zoom Joy_pitchthreshold 0.1 // look dead zone settings Joy_pitchsensitivity 1.0 // look sensitivity Joy_forwardthreshold 0.1 // movement dead zone settings

Joy_forwardsensitivity -1.0 // movement sensitivity Joy_advaxisu 4 // u-axis controls GAME_AXIS_YAW (look left and right) Joy_advaxisr 2 // r-axis controls GAME_AXIS_PITCH (look up and down) Joy_advaxisz 0 // z-axis is treated like a button Joy_advaxisy 1 // y-axis controls GAME_AXIS_FORWARD (move forward and back) Joy_advaxisx 3 // x-axis controls GAME_AXIS_SIDE (strafing left and right) Joy_name "L4D Xbox360 Joystick Configuration" Joy_advanced "1" // use advanced joystick options (allows for multiple axes) Code: unbindall // Prevent mouse/keyboard control when gamepad is in use (to prevent autoaim exploit)
