1
0
mirror of https://github.com/XLabsProject/iw4x-rawfiles.git synced 2023-08-02 15:02:11 +02:00
iw4x-rawfiles/iw4x/iw4x_00/default_mp_controller.cfg

52 lines
1.4 KiB
INI

//==========================================================================================
// 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"
bind BUTTON_BACK "+scores"
// 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"