    def __init__(self, key_code):
        """
        :param key_code: the ordinal value of the key that was pressed.
        """
        self.key_code = key_code
:param key_code: the ordinal value of the key that was pressed.
asciimatics/event.py