Created
November 10, 2020 02:28
-
-
Save mmillar-bolis/052ddab277f1c3a9dfaf19eaf390b59f to your computer and use it in GitHub Desktop.
Wrath 1.3.1 controller.cfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Quake Engine Configuration File | |
// | |
// Name: Controller Configuration | |
// Version: 0.6 | |
// Author: MMillar | |
// https://github.com/mmillar-bolis | |
// http://www.bolis.com | |
// | |
// Description: | |
// Settings related to dinput or xinput controllers. This is meant to be called | |
// by autoexec.cfg. | |
// | |
// Console Header | |
echo " \_Loading controller.cfg..." | |
// Enable or disable controller support. | |
// default = 1 | |
joy_enable "1" | |
// Sensitivity for left/right looking | |
// default = -1 | |
joy_x360_sensitivityyaw "-1.80" | |
// Sensitivity for up/down looking | |
// default = -1 | |
joy_x360_sensitivitypitch "-1.00" | |
// Sensitivity for forward/back movement | |
// default = -1 | |
joy_x360_sensitivityforward "0.75" | |
// Sensitivity for left/right movement | |
// default = -1 | |
joy_x360_sensitivityside "0.75" | |
// The leniency value for player's aim adjustment. | |
// range = 0.0 to 1.0 | |
// default = 1.0 | |
sv_aim "1.0" | |
// Sets a more pleasant movement speed for controllers. Especially handy with | |
// sprint functions. | |
// default: 416 | |
cl_forwardspeed "380" | |
cl_backspeed "380" | |
cl_sidespeed "380" | |
// Aim mode function for controller | |
// | |
alias "+aim" "cl_sidespeed 280; joy_x360_sensitivityyaw -0.70; joy_x360_sensitivitypitch -0.30" | |
alias "-aim" "cl_sidespeed 380; joy_x360_sensitivityyaw -1.80; joy_x360_sensitivitypitch -1.00" | |
// | |
// Controller Button Binds | |
// | |
// Face Buttons (A, B, X, Y) | |
bind "X360_A" "+jump" | |
bind "X360_B" "invprev" | |
bind "X360_X" "+button5" // use | |
bind "X360_Y" "invnext" | |
// Trigger Buttons | |
bind "X360_LEFT_TRIGGER" "+button3" // alt-attack | |
bind "X360_RIGHT_TRIGGER" "+attack" | |
// Shoulder Buttons | |
bind "X360_LEFT_SHOULDER" "+aim" // walk | |
bind "X360_RIGHT_SHOULDER" "blde_swap" | |
// Thumbstick Buttons | |
bind "X360_LEFT_THUMB" "toggle_crouch" | |
bind "X360_RIGHT_THUMB" "journal" | |
// DPad Buttons | |
bind "X360_DPAD_UP" "+button6" // inventory | |
bind "X360_DPAD_DOWN" "soul_tether" | |
bind "X360_DPAD_LEFT" "artifact" | |
bind "X360_DPAD_RIGHT" "artifact" | |
// Start and Back Buttons | |
//bind "X360_BACK" "show_controller" | |
bind "X360_START" "togglemenu" | |
// Alternative (Cheat) Binding Alias | |
alias "+joy_cheats" "bind X360_A show_controller; bind X360_B god; bind X360_X reexec; bind X360_Y noclip; bind X360_LEFT_SHOULDER give_health; bind X360_RIGHT_TRIGGER +movedown; bind X360_RIGHT_SHOULDER +moveup; bind X360_RIGHT_THUMB view_swap" | |
alias "_joy_defaults" "bind X360_A +jump; bind X360_B invprev; bind X360_X +button5; bind X360_Y invnext; bind X360_LEFT_SHOULDER +aim; bind X360_RIGHT_TRIGGER +attack; bind X360_RIGHT_SHOULDER blde_swap; bind X360_RIGHT_THUMB journal" | |
alias "-joy_cheats" "_joy_defaults" | |
// Just comment this out if you're too tempted by cheats. | |
bind "X360_BACK" "+joy_cheats" | |
// Console Footer | |
echo " \_Loading controller.cfg... Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment