I hate to nitpick but I willmouse2/l/;/' : 1
I only use "mouse2" as a backup for walking forward, I mainly use "p"
Moderator: GZDoom Developers
I hate to nitpick but I willmouse2/l/;/' : 1
In my master branch i've commented out the new code for now as i had a working implementation based on the old one. I'm posting here my config files in case they are helpful to speed up things. I don't know what the equivalence would be with the new names.Graf Zahl wrote:The code should go through "engine/commonbinds.txt", then all occurences of 'baseconfig' and last through all lumps named "DEFBINDS". The idea is to do what Raze does and offer multiple preset configurations but it hasn't been defined yet in GZDoom.
Code: Select all
/* Default keybindings for all games */
` toggleconsole
1 "slot 1"
2 "slot 2"
3 "slot 3"
4 "slot 4"
5 "slot 5"
6 "slot 6"
7 "slot 7"
8 "slot 8"
9 "slot 9"
0 "slot 0"
[ invprev
] invnext
mwheelleft invprev
mwheelright invnext
enter invuse
- sizedown
= sizeup
shift +speed
space +use
mouse1 +attack
capslock "toggle cl_run"
f1 menu_help
f2 menu_save
f3 menu_load
f4 menu_options
f5 menu_display
f6 quicksave
f7 menu_endgame
f8 togglemessages
f9 quickload
f11 bumpgamma
f10 menu_quit
tab togglemap
pause pause
sysrq screenshot
t messagemode
\ +showscores
f12 spynext
mwheeldown weapnext
mwheelup weapprev
// Originally just for Heretic, Hexen, and Strife.
// I can't see why they shouldn't be for Doom or Chex either.
pgup +moveup
ins +movedown
home land
pgdn +lookup
del +lookdown
end centerview
// Xbox 360 / PS2 controllers
pad_a +use
pad_y +jump
rtrigger +attack
ltrigger +altattack
lshoulder weapprev
rshoulder weapnext
dpadleft invprev
dpadright invnext
dpaddown invuse
dpadup togglemap
pad_start pause
pad_back menu_main
lthumb crouch
/* Default automap bindings */
mapbind f am_togglefollow
mapbind g am_togglegrid
mapbind p am_toggletexture
mapbind m am_setmark
mapbind c am_clearmarks
mapbind 0 am_gobig
mapbind rightarrow +am_panright
mapbind leftarrow +am_panleft
mapbind uparrow +am_panup
mapbind downarrow +am_pandown
mapbind - +am_zoomout
mapbind = +am_zoomin
mapbind kp- +am_zoomout
mapbind kp+ +am_zoomin
mapbind mwheelup "am_zoom 1.2"
mapbind mwheeldown "am_zoom -1
Code: Select all
/* Default keybindings for all games */
ctrl +attack
alt +strafe
rightarrow +right
leftarrow +left
uparrow +forward
downarrow +back
, +moveleft
. +moveright
mouse2 +strafe
mouse3 +forward
mouse4 +speed
// Generic joystick buttons
joy1 +attack
joy2 +strafe
joy3 +speed
joy4 +use
Code: Select all
/* Default keybindings for all games */
w +forward
s +back
a +moveleft
d +moveright
e +jump
x crouch
mouse2 +altattack
mouse3 +speed
Code: Select all
/* Default keybindings for all games */
e +forward
d +back
s +moveleft
f +moveright
w +jump
c crouch
mouse2 +altattack
mouse3 +speed
Code: Select all
/* Default keybindings for all games */
i +forward
k +back
j +moveleft
l +moveright
o +jump
m crouch
mouse2 +altattack
mouse3 +speed
Code: Select all
/* Default keybindings for Strife */
backspace invdrop
z "showpop 3"
q invquery
; not done
; h - use health
Code: Select all
* Default keybindings for Strife */
a +jump
w "showpop 1"
k "showpop 2"
Code: Select all
/* Default keybindings for Strife */
c "showpop 1"
k "showpop 2"
Code: Select all
/* Default keybindings for Strife */
x "showpop 1"
k "showpop 2"
Code: Select all
/* Default keybindings for Strife */
w "showpop 1"
u "showpop 2"