CountJoysticks -- return number of joysticks currently plugged in (V4.6)
r = CountJoysticks()
This function counts the number of joysticks currently plugged in. You
can then query the single joysticks using the JoyDir() and JoyFire()
commands. This function is useful to check if there is a joystick
available at all. If it returns 0, then there is currently no joystick
that is recognized by Hollywood.
- number of joysticks available or 0 if none