More accurate to what i use

main
Nicholas Hope 2022-08-19 21:34:32 -04:00
parent 30cc02012e
commit 8cd203bcb8
1 changed files with 135 additions and 103 deletions

View File

@ -1,116 +1,148 @@
# These are my configs! Feel free to download and use,
# modify, or w/e, but no pull requests will be accepted if they change this.
# You can always do a pull request to make a new file
# It uses a ton of doubles, and certain keys like
# wasd, mouse 1-3, and some others aren't listed because
# those keys are basically static and don't change
default:
# voice-based doubles
e:
double:
primary:
impulse: voice medic
secondary:
impulse: voice activate uber
condition: mouse4
t:
double:
primary:
impulse: voice thanks
secondary:
impulse: voice nice shot
condition: mouse4
v:
double:
primary:
impulse: voice spy
secondary:
impulse: voice help
condition: mouse4
double e:
impulse primary: voice medic
impulse secondary: voice activate uber
condition: mouse4
double t:
impulse primary: voice thanks
impulse secondary: voice nice shot
condition: mouse4
double v:
impulse primary: voice spy
impulse secondary: voice help
condition: mouse4
# hold doubles
r:
double:
primary:
hold: "class_action"
secondary:
hold: "reload"
condition: mouse4
cancel both: yes
double r:
primary:
hold: "class_action"
secondary:
hold: "reload"
condition: mouse4
cancel both: yes
# other
y:
double:
primary:
impulse: say
secondary:
impulse: say_team
condition: mouse4
=:
double:
primary:
impulse: kill
secondary:
impulse: explode
condition: "-"
double y:
primary:
impulse: say
secondary:
impulse: say_team
condition: mouse4
double =:
primary:
impulse: kill
secondary:
impulse: explode
condition: "-"
double q:
impulse primary: lastinv
impulse secondary:
- "slot2"
- "wait 10"
- "slot1"
condition: mouse4
double ctrl:
# I use shift to crouch
impulse primary:
voice yes
impulse secondary:
voice no
condition: mouse4
# toggle
capslock:
toggle: voicerecord
toggle capslock: voicerecord
# hold: null-cancelled movement
a:
hold:
press:
- "-moveright"
- "+moveleft"
- "alias maybeMoveLeft +moveleft"
release:
- "-moveleft"
- "maybeMoveRight"
- "alias maybeMoveLeft "
d:
hold:
press:
- "-moveleft"
- "+moveright"
- "alias maybeMoveRight +moveright"
release:
- "-moveright"
- "maybeMoveLeft"
- "alias maybeMoveRight "
# hold: null-cancelled movement, so hitting a while holding d causes
# me to go left instead of stopping, or vice-versa.
hold a:
press:
- "-moveright"
- "+moveleft"
- "alias maybeMoveLeft +moveleft"
release:
- "-moveleft"
- "maybeMoveRight"
- "alias maybeMoveLeft "
hold d:
press:
- "-moveleft"
- "+moveright"
- "alias maybeMoveRight +moveright"
release:
- "-moveright"
- "maybeMoveLeft"
- "alias maybeMoveRight "
# This just stops an error message the first time you release
# either of 'a' or 'd'
impulse maybeMoveLeft:
alias: yes
command: ""
impulse maybeMoveRight:
alias: yes
command: ""
# class action is something useful for each class,
# like destroying and rebuilding a sentry for the engineer
# this is just the default. I do a lot of hybridknight and
# mantread soldier so having a melee/main weapon switch bind
# is useful
hold class_action:
alias: yes
press:
- "slot3"
- "wait 10"
- "slot1"
release: ""
classAction:
impulse load0:
alias: yes
hold:
press:
- "slot2"
- "wait 10"
- "slot1"
release: ""
command: "load_itempreset 0"
impulse load1:
alias: yes
command: "load_itempreset 1"
impulse load2:
alias: yes
command: "load_itempreset 2"
impulse load3:
alias: yes
command: "load_itempreset 3"
load0:
alias: yes
impulse: "load_itempreset 0"
load1:
alias: yes
impulse: "load_itempreset 1"
load2:
alias: yes
impulse: "load_itempreset 2"
load3:
alias: yes
impulse: "load_itempreset 3"
impulse INS:
- "load0"
- "alias reload_presets load0"
impulse HOME:
- "load1"
- "alias reload_presets load1"
impulse DEL:
- "load2"
- "alias reload_presets load2"
impulse END:
- "load3"
- "alias reload_presets load3"
impulse backspace:
"reload_presets"
INS:
impulse:
- "load0"
- "alias reload_presets load0"
HOME:
impulse:
- "load1"
- "alias reload_presets load1"
DEL:
impulse:
- "load2"
- "alias reload_presets load2"
END:
impulse:
- "load3"
- "alias reload_presets load3"
backspace:
impulse: "reload_presets"
engi:
hold class_action:
alias: yes
press:
- destroy sentry
- build sentry
release: ""
medic:
# "Radar" feature: causes all teammates to autocall for medic, allowing
# me to see where they are
hold class_action:
alias: yes
press: "hud_medicautocallersthreshold 150"
release: "hud_medicautocallersthreshold 75"