Skip to content
Permalink
Browse files

Use hats from joystick as default D-PAD.

  • Loading branch information
denisfa authored and rkitover committed Jul 18, 2019
1 parent 57b7ddf commit 53002e54dbe533c4105207066314ac9b350c9c39
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wx/opts.cpp
@@ -152,7 +152,7 @@ wxJoyKeyBinding defkeys_keyboard[NUM_KEYS] = {
};

wxJoyKeyBinding defkeys_joystick[NUM_KEYS] = {
WJKB(1, WXJB_AXIS_MINUS, 1), WJKB(1, WXJB_AXIS_PLUS, 1), WJKB(0, WXJB_AXIS_MINUS, 1), WJKB(0, WXJB_AXIS_PLUS, 1),
WJKB(0, WXJB_HAT_N, 1), WJKB(0, WXJB_HAT_S, 1), WJKB(0, WXJB_HAT_W, 1), WJKB(0, WXJB_HAT_E, 1),
WJKB(0, WXJB_BUTTON, 1), WJKB(1, WXJB_BUTTON, 1), WJKB(4, WXJB_BUTTON, 1), WJKB(5, WXJB_BUTTON, 1),
WJKB(6, WXJB_BUTTON, 1), WJKB(7, WXJB_BUTTON, 1),
WJKB(0), WJKB(0), WJKB(0), WJKB(0),

0 comments on commit 53002e5

Please sign in to comment.
You can’t perform that action at this time.