code: def main():
      
      while 1:
          events = get_mouse()
          for event in events:
              print(event.ev_type, event.code, event.state)
docs: Just print out some event infomation when the mouse is used.