code: def _del_controller(self, uid):
          
          try:
              self.controllers.pop(uid)
              e = Event(uid, E_DISCONNECT)
              self.queue.put_nowait(e)
          except KeyError:
              # There is no such controller, ignore the command
              pass
docs: Remove controller from internal list and tell the game.
  
          :param uid: Unique id of the controller
          :type uid: str