summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2015-04-15 20:10:58 -0400
committerSimon Howard2015-04-15 20:10:58 -0400
commit6a1179122850be4da020b45f5dd1bf1c8c068b09 (patch)
tree6198a73ef84518a015eedaf19e1389d4f230a4ce
parent441d920fc4570d68bdf6d5b1bb4b2991faf38ce9 (diff)
downloadchocolate-doom-6a1179122850be4da020b45f5dd1bf1c8c068b09.tar.gz
chocolate-doom-6a1179122850be4da020b45f5dd1bf1c8c068b09.tar.bz2
chocolate-doom-6a1179122850be4da020b45f5dd1bf1c8c068b09.zip
setup: Add joyb_jump to empty defaults.
When applying defaults for a particular gamepad, we must clear all the current buttons, and the jump binding wasn't on this list for some reason.
-rw-r--r--src/setup/joystick.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 09dbb4a1..cad1a92f 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -139,6 +139,7 @@ static const joystick_config_t empty_defaults[] =
{"joyb_straferight", -1},
{"joyb_prevweapon", -1},
{"joyb_nextweapon", -1},
+ {"joyb_jump", -1},
{"joyb_menu_activate", -1},
{NULL, 0},
};