shithub: choc

Download patch

ref: 6a1179122850be4da020b45f5dd1bf1c8c068b09
parent: 441d920fc4570d68bdf6d5b1bb4b2991faf38ce9
author: Simon Howard <fraggle@soulsphere.org>
date: Wed Apr 15 16:10:58 EDT 2015

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.

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -139,6 +139,7 @@
     {"joyb_straferight",       -1},
     {"joyb_prevweapon",        -1},
     {"joyb_nextweapon",        -1},
+    {"joyb_jump",              -1},
     {"joyb_menu_activate",     -1},
     {NULL, 0},
 };