Joystick?

Blitz3D Forums/Blitz3D Programming/Joystick?

If the joystick wan't calibrated properly, they'd both show errors. I'm guessing there's some Nested If/EndIf issues. As Genexi2 says, use a float# variable. ie float#=JoyX#()

Also, be wary of checking for exact values with analogous control media. The joystick X-value can be anythin from -1 to +1, so it may be 0.976 or something and not be checked by JoyX()=1