in_joystick 1
in_restart

bind PAD0_B "=movedown"
bind PAD0_A "+moveup"
bind PAD0_X "+reload"
bind PAD0_Y "+activate"

bind PAD0_BACK "notebook"
bind PAD0_START "togglemenu"

bind PAD0_LEFTSTICK_CLICK "+sprint"
bind PAD0_RIGHTSTICK_CLICK "+kick"

bind PAD0_LEFTSHOULDER "weapprev"
bind PAD0_RIGHTSHOULDER "weapnext"

bind PAD0_DPAD_UP "savegame quicksave"
bind PAD0_DPAD_DOWN "loadgame quicksave"
bind PAD0_DPAD_LEFT "itemprev"
bind PAD0_DPAD_RIGHT "+useitem"

bind PAD0_LEFTSTICK_LEFT "+moveleft"
bind PAD0_LEFTSTICK_RIGHT "+moveright"
bind PAD0_LEFTSTICK_UP "+forward"
bind PAD0_LEFTSTICK_DOWN "+back"

bind PAD0_RIGHTSTICK_LEFT "+left"
bind PAD0_RIGHTSTICK_RIGHT "+right"
bind PAD0_RIGHTSTICK_UP "+lookup"
bind PAD0_RIGHTSTICK_DOWN "+lookdown"

bind PAD0_LEFTTRIGGER "weapalt"
bind PAD0_RIGHTTRIGGER "+attack"

in_joystickuseanalog 1
seta j_pitch "0.005"
seta j_yaw "-0.008"
