add null binds

This commit is contained in:
Guanran Wang 2024-07-22 12:35:18 +08:00
parent ee5490db47
commit 3f5c9b351c
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 21 additions and 2 deletions

View file

@ -2,6 +2,6 @@
gamePath=~/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/game/core/cfg gamePath=~/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/game/core/cfg
for i in autoexec jumpthrow prac; do for i in autoexec jumpthrow prac null; do
ln -sf $PWD/$i.cfg "$gamePath" ln -sf $PWD/$i.cfg "$gamePath"
done done

19
null.cfg Normal file
View file

@ -0,0 +1,19 @@
alias "checkfwd" ""
alias "checkback" ""
alias "checkleft" ""
alias "checkright" ""
alias "+mfwd" "-back; +forward; alias checkfwd +forward"
alias "+mback" "-forward; +back; alias checkback +back"
alias "+mleft" "-right; +left; alias checkleft +left"
alias "+mright" "-left; +right; alias checkright +right"
alias "-mfwd" "-forward; -back; checkback; alias checkfwd"
alias "-mback" "-back; -forward; checkfwd; alias checkback"
alias "-mleft" "-left; -right; checkright; alias checkleft"
alias "-mright" "-right; -left; checkleft; alias checkright"
bind "w" "+mfwd"
bind "s" "+mback"
bind "a" "+mleft"
bind "d" "+mright"