(self)
The read loop for events.

    This funnction should be executed in a separate thread for continuous
    event recording.
The read loop for events.
The read loop for events .
def read_loop(self):
    """The read loop for events.

    This funnction should be executed in a separate thread for continuous
    event recording.
    """
    while self.is_running and not self.estop_flagged:
      events = get_gamepad()
      for event in events:
        self.update_command(event)
def read_loop ( self ) : while self . is_running and not self . estop_flagged : events = get_gamepad ( ) for event in events : self . update_command ( event )