code: def on_key_press(self, symbol, modifiers):
          
          self.keyboard_event(symbol, self.keys.ACTION_PRESS, modifiers)
docs: Pyglet specific key press callback.
          Forwards and translates the events to :py:func:`keyboard_event`