Last active
December 5, 2023 10:55
-
-
Save glebm/777c8542ba512e755d13bc2017f7316e to your computer and use it in GitHub Desktop.
gamepad configuration for xash3d-fwgs
This file contains 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
// Default gamepad bindings | |
// == Bindings == | |
// https://raw.githubusercontent.com/krishenriksen/Half-Life-rg351p/da77c22b60c29589240b86608495574672105206/Half-Life/controls.png | |
// | |
// Left stick: Move/Strafe (Walk instead of run when pressed) | |
// Right stick: Look (Crouch when pressed) | |
// D-Pad Up: Spray | |
// D-Pad Down: Quick swap weapon | |
// D-Pad Left: Prev Weapon | |
// D-Pad Right: Next Weapon | |
// A: Use | |
// B: Jump | |
// X: Flashlight | |
// Y: Reload | |
// L1: Duck | |
// L2: Walk (instead of Run) | |
// R1: Fire | |
// R2: Alt-fire | |
// START: Pause | |
// SELECT + X: Menu | |
// SELECT + R1: Quick Save | |
// SELECT + L1: Quick Load | |
// SELECT + START: Quit | |
bind DPAD_UP "impulse 201" | |
bind DPAD_DOWN "lastinv" | |
bind DPAD_LEFT "invprev" | |
bind DPAD_RIGHT "invnext" | |
// NOTE: A, B, X, Y refer to physical positions on an XBox 360 controller. | |
// A<->B and X<->Y are reversed on a Nintendo controller. | |
bind A_BUTTON "+jump" | |
bind B_BUTTON "+use" | |
bind X_BUTTON "+reload" | |
bind Y_BUTTON "impulse 100" | |
bind L1_BUTTON "+duck" | |
bind LTRIGGER "+speed" | |
bind R1_BUTTON "+attack" | |
bind RTRIGGER "+attack2" | |
bind START "pause" | |
bind STICK1 "+speed" | |
bind STICK2 "+duck" | |
// While SELECT is pressed: | |
alias "+SelectHold" "bind L1_BUTTON load quick; bind R1_BUTTON save quick; bind B_BUTTON screenshot; bind X_BUTTON cancelselect; bind START quit" | |
// When SELECT is released, restore the original bindings (duplicated above). | |
alias "-SelectHold" "bind L1_BUTTON +duck; bind R1_BUTTON +attack; bind B_BUTTON +jump; bind X_BUTTON impulse 100; bind START pause" | |
bind BACK "+SelectHold" |
This file contains 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
exec gamepad.cfg | |
exec custom.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you fix this? I'm having the same problem.