original_docstring: The routine of polling key-press and push event into queue.
docstring: The routine of polling key-press and push event into queue.
docstring_tokens: The routine of polling key - press and push event into queue .
code: def _PollEvent(self):
      """The routine of polling key-press and push event into queue."""
      while True:
        self._event.Clear()
        self.Poll(0)  # wait key press detected from gpio
        self._queue.put(self._event)
  
        self._event.Wait()
code_tokens: def _PollEvent ( self ) : while True : self . _event . Clear ( ) self . Poll ( 0 ) self . _queue . put ( self . _event ) self . _event . Wait ( )
short_docstring: The routine of polling key-press and push event into queue.
short_docstring_tokens: The routine of polling key - press and push event into queue .
comment: """The routine of polling key-press and push event into queue."""$SEP$# wait key press detected from gpio