Use hats from joystick as default D-PAD.

This commit is contained in:
Edênis Freindorfer Azevedo 2019-07-18 12:15:50 -03:00 committed by Rafael Kitover
parent 57b7ddf592
commit 53002e54db
1 changed files with 1 additions and 1 deletions

View File

@ -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),