Uninstall, then unload the current joystick driver.
unsigned char joy_unload (void);
The function uninstalls the currently installed joystick driver and removes it from memory. An error code is returned, which is
JOY_ERR_OKif the driver was successfully uninstalled.
- A joystick driver must be loaded using joy_load_driver before calling this function.
- See also