code: def keyPressEvent(self, event):
          
          self.keyboard_event(event.key(), self.keys.ACTION_PRESS, 0)
docs: Pyqt specific key press callback function.
          Translates and forwards events to :py:func:`keyboard_event`.