(udev_joypad_hat) Cleanup

This commit is contained in:
twinaphex 2015-03-09 19:01:12 +01:00
parent 894076f52d
commit 498d43960d

View File

@ -576,9 +576,9 @@ static bool udev_joypad_hat(const struct udev_joypad *pad, uint16_t hat)
return pad->hats[h][1] < 0;
case HAT_DOWN_MASK:
return pad->hats[h][1] > 0;
default:
return 0;
}
return 0;
}
static bool udev_joypad_button(unsigned port, uint16_t joykey)