FreeJoystick(JoystickNumber)

Free from memory components created to read joystick information.