Return axis values that makes more sense.

This commit is contained in:
Themaister 2012-09-30 16:11:13 +02:00
parent c6c68dfcf1
commit 5e70581a5f

View File

@ -439,7 +439,7 @@ static int16_t dinput_joypad_axis(unsigned port_num, uint32_t joyaxis)
const struct dinput_joypad *pad = &g_pads[port_num]; const struct dinput_joypad *pad = &g_pads[port_num];
if (!pad->joypad) if (!pad->joypad)
return false; return 0;
int val = 0; int val = 0;