code: def key_press_event(self, obj, event):
          
          key = self.iren.GetKeySym()
          log.debug('Key %s pressed' % key)
          if key == 'q':
              self.q_pressed = True
              # Grab screenshot right before renderer closes
              self.last_image = self.screenshot(True, return_img=True)
          elif key == 'b':
              self.observer = self.iren.AddObserver('LeftButtonPressEvent',
                                                    self.left_button_down)
          elif key == 'v':
              self.isometric_view_interactive()
docs: Listens for key press event