I guess it is correct as this is how the return value was used before as well. I have no working gamepad here to verify.
@gersseba will hopefully fix all input tomorrow so if this works here or not, doesn't really matter ;)