commit 6a1179122850be4da020b45f5dd1bf1c8c068b09
Author: Simon Howard <fraggle@soulsphere.org>
AuthorDate: Wed Apr 15 20:10:58 2015 -0400
Commit: Simon Howard <fraggle@soulsphere.org>
CommitDate: Wed Apr 15 20:10:58 2015 -0400
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.
---
src/setup/joystick.c | 1 +
1 file changed, 1 insertion(+)
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},
};