Return the number of joysticks supported by the current driver.
unsigned char __fastcall__ 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.
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- See also