Return the number of joysticks supported by the current driver.
unsigned char joy_count (void);
The function returns a the number of joysticks supported by the current joystick driver.
- A joystick driver must be loaded using joy_load_driver before calling this function.
- The function returns the number of joysticks supported by the driver. There's no way to check for the number of actually connected joysticks.
- See also