2021-08-31 09:04:24 -07:00
|
|
|
//==========================================================================================
|
|
|
|
// Associate real axis to virtual axis.
|
|
|
|
// Real axis are : A_LSTICK_Y, A_LSTICK_X, A_RSTICK_X, A_RSTICK_Y, A_RTRIGGER, A_LTRIGGER
|
|
|
|
// Virtual axis are : VA_SIDE, VA_FORWARD, VA_UP, VA_YAW, VA_PITCH, VA_ATTACK
|
|
|
|
//==========================================================================================
|
|
|
|
|
|
|
|
set gpad_sticksConfig "thumbstick_default"
|
|
|
|
set gpad_buttonsConfig "buttons_default"
|
|
|
|
|
|
|
|
bindaxis A_LSTICK_X VA_SIDE MAP_SQUARED
|
|
|
|
bindaxis A_LSTICK_Y VA_FORWARD MAP_SQUARED
|
|
|
|
|
|
|
|
bindaxis A_RSTICK_X VA_YAW MAP_LINEAR
|
|
|
|
bindaxis A_RSTICK_Y VA_PITCH MAP_LINEAR
|
|
|
|
|
|
|
|
|
|
|
|
// Weapon Controls
|
|
|
|
bind BUTTON_LSTICK "+breath_sprint"
|
|
|
|
bind BUTTON_RTRIG "+attack"
|
|
|
|
bind BUTTON_LTRIG "+speed_throw"
|
|
|
|
bind BUTTON_RSTICK "+melee"
|
|
|
|
|
|
|
|
bind DPAD_UP "+actionslot 1" //Nightvision
|
|
|
|
bind DPAD_DOWN "+actionslot 2" //
|
|
|
|
bind DPAD_LEFT "+actionslot 3" //Grenade Launcher
|
|
|
|
bind DPAD_RIGHT "+actionslot 4" //equipment (c4 + airsupport)
|
|
|
|
|
|
|
|
|
|
|
|
// Weapon Slots
|
|
|
|
bind BUTTON_Y "weapnext"
|
|
|
|
|
|
|
|
// Inventory
|
|
|
|
bind BUTTON_RSHLDR "+frag"
|
|
|
|
bind BUTTON_LSHLDR "+smoke"
|
|
|
|
|
|
|
|
// Interaction
|
|
|
|
bind BUTTON_X "+usereload"
|
2021-09-04 02:16:03 -07:00
|
|
|
bind BUTTON_BACK "togglescores"
|
2021-08-31 09:04:24 -07:00
|
|
|
|
|
|
|
// Stance
|
|
|
|
bind BUTTON_A "+gostand"
|
|
|
|
bind BUTTON_B "+stance"
|
|
|
|
|
|
|
|
// Controller movement dvars
|
|
|
|
//set sensitivity "5"
|
|
|
|
|
|
|
|
// Menus
|
|
|
|
bind BUTTON_START "togglemenu"
|
|
|
|
|
|
|
|
// MULTIPLAYER CONTROLS
|
|
|
|
//bind z "+talk"
|
|
|
|
//bind x "openscriptmenu ingame changeweapon"
|