docs: public void close()
      {
          inputManager.unregisterInputDeviceListener(inputDeviceListener);
          mouseDeviceManager.forceStopThread();
          gamepadDeviceManager.forceStopThread();
          controllerIds.clear();
          cache.clear();
          controllers.clear();
      }